aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2014-04-10 02:29:59 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2014-04-10 02:29:59 +0000
commitc395e1b2553cb05642ff83cb433b34891731493c (patch)
treeba09f857521fb3c0670f70d5d7b919b16c5f83f3 /www
parent973b5b8e0904a84f02dc0882fff4641e1b4d3e08 (diff)
downloadports-c395e1b2553cb05642ff83cb433b34891731493c.tar.gz
ports-c395e1b2553cb05642ff83cb433b34891731493c.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/eaccelerator/Makefile23
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>