Date: Wed, 21 Oct 2020 15:43:44 +0000 (UTC) From: "Sergey A. Osokin" <osa@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r552868 - in head/www: . unit-ruby Message-ID: <202010211543.09LFhils069456@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <osa@FreeBSD.org> +# $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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010211543.09LFhils069456>