Index: head/www/unit-perl/Makefile =================================================================== --- head/www/unit-perl/Makefile (revision 552898) +++ head/www/unit-perl/Makefile (revision 552899) @@ -1,28 +1,31 @@ # Created by: Sergey Osokin # $FreeBSD$ -PORTREVISION= 1 +PORTREVISION= 2 PKGNAMESUFFIX= -perl${PERL_VER} COMMENT= Perl module for NGINX Unit PLIST_FILES= libexec/unit/modules/perl${PERL_VER}.unit.so RUN_DEPENDS= unitd:www/unit USES= perl5 USE_RC_SUBR?= # reset to empty MASTERDIR= ${.CURDIR}/../unit post-configure: cd ${CONFIGURE_WRKSRC} && \ ./configure perl --module=perl${PERL_VER} + +do-build: + cd ${CONFIGURE_WRKSRC} && ${MAKE} perl${PERL_VER} do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/unit/modules/ ${INSTALL_LIB} ${WRKSRC}/build/perl${PERL_VER}.unit.so \ ${STAGEDIR}${PREFIX}/libexec/unit/modules/ .include "${MASTERDIR}/Makefile" Index: head/www/unit-php/Makefile =================================================================== --- head/www/unit-php/Makefile (revision 552898) +++ head/www/unit-php/Makefile (revision 552899) @@ -1,29 +1,32 @@ # Created by: Li-Wen Hsu # $FreeBSD$ -PORTREVISION= 1 +PORTREVISION= 2 PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} COMMENT= PHP module for NGINX Unit PLIST_FILES= libexec/unit/modules/php${PHP_VER}.unit.so RUN_DEPENDS= unitd:www/unit USES= php:build,embed,flavors USE_RC_SUBR= # reset to empty MASTERDIR= ${.CURDIR}/../unit post-configure: cd ${CONFIGURE_WRKSRC} && \ ./configure php --lib-path=${LOCALBASE}/lib \ --module=php${PHP_VER} + +do-build: + cd ${CONFIGURE_WRKSRC} && ${MAKE} php${PHP_VER} do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/unit/modules/ ${INSTALL_LIB} ${WRKSRC}/build/php${PHP_VER}.unit.so \ ${STAGEDIR}${PREFIX}/libexec/unit/modules/ .include "${MASTERDIR}/Makefile" Index: head/www/unit-python/Makefile =================================================================== --- head/www/unit-python/Makefile (revision 552898) +++ head/www/unit-python/Makefile (revision 552899) @@ -1,29 +1,33 @@ # Created by: Li-Wen Hsu # $FreeBSD$ -PORTREVISION= 1 +PORTREVISION= 2 PKGNAMESUFFIX= -python${PYTHON_SUFFIX} COMMENT= Python module for NGINX Unit USES= python gettext-runtime USE_PYTHON= flavors PLIST_FILES= libexec/unit/modules/python${PYTHON_SUFFIX}.unit.so RUN_DEPENDS= unitd:www/unit USE_RC_SUBR?= # reset to empty MASTERDIR= ${.CURDIR}/../unit post-configure: cd ${CONFIGURE_WRKSRC} && \ ./configure python --module=python${PYTHON_SUFFIX} \ --config=${PYTHON_CMD}-config + +do-build: + cd ${CONFIGURE_WRKSRC} && ${MAKE} python${PYTHON_SUFFIX} + do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/unit/modules/ ${INSTALL_LIB} ${WRKSRC}/build/python${PYTHON_SUFFIX}.unit.so \ ${STAGEDIR}${PREFIX}/libexec/unit/modules/ .include "${MASTERDIR}/Makefile" Index: head/www/unit-ruby/Makefile =================================================================== --- head/www/unit-ruby/Makefile (revision 552898) +++ head/www/unit-ruby/Makefile (revision 552899) @@ -1,29 +1,32 @@ # Created by: Sergey Osokin # $FreeBSD$ -PORTREVISION= 2 +PORTREVISION= 3 PKGNAMESUFFIX= -ruby${RUBY_VER} COMMENT= Ruby module for NGINX Unit RUN_DEPENDS= rackup:www/rubygem-rack \ unitd:www/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-build: + cd ${CONFIGURE_WRKSRC} && ${MAKE} 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"