diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2014-04-10 10:29:59 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2014-04-10 10:29:59 +0800 |
commit | 4fa5e8bfdf1e54b95ed2150441ea79086521a40b (patch) | |
tree | ba09f857521fb3c0670f70d5d7b919b16c5f83f3 /www | |
parent | 789e5f6e04cd3db6d6f17d460efd306a4a712376 (diff) | |
download | freebsd-ports-gnome-4fa5e8bfdf1e54b95ed2150441ea79086521a40b.tar.gz freebsd-ports-gnome-4fa5e8bfdf1e54b95ed2150441ea79086521a40b.tar.zst freebsd-ports-gnome-4fa5e8bfdf1e54b95ed2150441ea79086521a40b.zip |
- Stage
- Use OPTION helpers
Diffstat (limited to 'www')
-rw-r--r-- | www/eaccelerator/Makefile | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/www/eaccelerator/Makefile b/www/eaccelerator/Makefile index 3da0dcdf60b3..a883a8ef3439 100644 --- a/www/eaccelerator/Makefile +++ b/www/eaccelerator/Makefile @@ -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> |