From owner-svn-ports-all@freebsd.org Wed Oct 21 15:43:45 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 011A844EE95; Wed, 21 Oct 2020 15:43:45 +0000 (UTC) (envelope-from osa@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CGZXc6Csbz4S2t; Wed, 21 Oct 2020 15:43:44 +0000 (UTC) (envelope-from osa@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B8B8D27F42; Wed, 21 Oct 2020 15:43:44 +0000 (UTC) (envelope-from osa@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 09LFhiqS069458; Wed, 21 Oct 2020 15:43:44 GMT (envelope-from osa@FreeBSD.org) Received: (from osa@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 09LFhils069456; Wed, 21 Oct 2020 15:43:44 GMT (envelope-from osa@FreeBSD.org) Message-Id: <202010211543.09LFhils069456@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: osa set sender to osa@FreeBSD.org using -f From: "Sergey A. Osokin" Date: Wed, 21 Oct 2020 15:43:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r552868 - in head/www: . unit-ruby X-SVN-Group: ports-head X-SVN-Commit-Author: osa X-SVN-Commit-Paths: in head/www: . unit-ruby X-SVN-Commit-Revision: 552868 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Oct 2020 15:43:45 -0000 Author: osa Date: Wed Oct 21 15:43:44 2020 New Revision: 552868 URL: https://svnweb.freebsd.org/changeset/ports/552868 Log: Add ruby module for NGINX Unit. Added: head/www/unit-ruby/ head/www/unit-ruby/Makefile (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Wed Oct 21 13:59:07 2020 (r552867) +++ head/www/Makefile Wed Oct 21 15:43:44 2020 (r552868) @@ -2257,6 +2257,7 @@ SUBDIR += unit SUBDIR += unit-perl SUBDIR += unit-php + SUBDIR += unit-ruby SUBDIR += uwebsockets SUBDIR += uwsgi SUBDIR += uwsgitop Added: head/www/unit-ruby/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/unit-ruby/Makefile Wed Oct 21 15:43:44 2020 (r552868) @@ -0,0 +1,25 @@ +# Created by: Sergey Osokin +# $FreeBSD$ + +PKGNAMESUFFIX= -ruby${RUBY_VER} + +COMMENT= Ruby module for NGINX Unit + +PLIST_FILES= libexec/unit/modules/ruby${RUBY_VER}.unit.so + +USE_RUBY= yes + +USE_RC_SUBR?= # reset to empty + +MASTERDIR= ${.CURDIR}/../unit + +post-configure: + cd ${CONFIGURE_WRKSRC} && \ + ./configure ruby --module=ruby${RUBY_VER} + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/unit/modules/ + ${INSTALL_LIB} ${WRKSRC}/build/ruby${RUBY_VER}.unit.so \ + ${STAGEDIR}${PREFIX}/libexec/unit/modules/ + +.include "${MASTERDIR}/Makefile"