Date: Thu, 10 Apr 2014 02:29:59 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r350758 - head/www/eaccelerator Message-ID: <201404100229.s3A2TxnY070323@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery Date: Thu Apr 10 02:29:59 2014 New Revision: 350758 URL: http://svnweb.freebsd.org/changeset/ports/350758 QAT: https://qat.redports.org/buildarchive/r350758/ Log: - Stage - Use OPTION helpers Modified: head/www/eaccelerator/Makefile Modified: head/www/eaccelerator/Makefile ============================================================================== --- head/www/eaccelerator/Makefile Thu Apr 10 02:29:52 2014 (r350757) +++ head/www/eaccelerator/Makefile Thu Apr 10 02:29:59 2014 (r350758) @@ -20,6 +20,7 @@ GH_COMMIT= 42067ac OPTIONS_DEFINE= DOCCOMM DOCCOMM_DESC= Retain doc-comments in internal php structures +DOCCOMM_CONFIGURE_WITH= eaccelerator-doc-comment-inclusion USE_PHP= yes USE_PHPIZE= yes @@ -33,27 +34,21 @@ PKGMESSAGE= ${WRKDIR}/pkg-message PORTDOCS= * -NO_STAGE= yes .include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MDOCCOMM} -CONFIGURE_ARGS+=--with-eaccelerator-doc-comment-inclusion -.endif - do-install: - @${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR} + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR} ${INSTALL_DATA} ${WRKSRC}/modules/${PORTNAME}.so \ - ${PREFIX}/lib/php/${PHP_EXT_DIR} + ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR} post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .endif - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.ini ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/control.php ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/dasm.php ${EXAMPLESDIR} - @${CAT} ${PKGMESSAGE} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.ini ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/control.php ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/dasm.php ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404100229.s3A2TxnY070323>