diff options
author | ale <ale@FreeBSD.org> | 2011-02-17 16:38:48 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2011-02-17 16:38:48 +0800 |
commit | a1d7a4970d13d7f6d15a43e7202f5e3fd8b41756 (patch) | |
tree | 0205a0e8394abd09b062f2dffccc7a2d851846b7 | |
parent | d4bef66ff71306cea005a6a1b335ac16d06aa0c2 (diff) | |
download | freebsd-ports-gnome-a1d7a4970d13d7f6d15a43e7202f5e3fd8b41756.tar.gz freebsd-ports-gnome-a1d7a4970d13d7f6d15a43e7202f5e3fd8b41756.tar.zst freebsd-ports-gnome-a1d7a4970d13d7f6d15a43e7202f5e3fd8b41756.zip |
Add an option to retain doc-comments.
PR: ports/154827
Submitted by: Andrew Kochetkov <kochetkov.andrew@gmail.com>
Feature safe: yes
-rw-r--r-- | www/eaccelerator/Makefile | 6 | ||||
-rw-r--r-- | www/eaccelerator/distinfo | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/www/eaccelerator/Makefile b/www/eaccelerator/Makefile index 848824f70ae4..5c050938ecc5 100644 --- a/www/eaccelerator/Makefile +++ b/www/eaccelerator/Makefile @@ -15,6 +15,8 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/eAccelerator%20${PORTVERSION}/ \ MAINTAINER= ale@FreeBSD.org COMMENT= A free open-source PHP accelerator & optimizer +OPTIONS= DOCCOMM "Retain doc-comments in internal php structures" off + USE_PHP= yes USE_PHPIZE= yes USE_PHP_BUILD= yes @@ -35,6 +37,10 @@ PORTDOCS= * .include <bsd.port.pre.mk> +.if defined(WITH_DOCCOMM) +CONFIGURE_ARGS+=--with-eaccelerator-doc-comment-inclusion +.endif + do-install: @${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR} ${INSTALL_DATA} ${WRKSRC}/modules/${PORTNAME}.so \ diff --git a/www/eaccelerator/distinfo b/www/eaccelerator/distinfo index aba02245a872..36b4a4052882 100644 --- a/www/eaccelerator/distinfo +++ b/www/eaccelerator/distinfo @@ -1,3 +1,2 @@ -MD5 (eaccelerator-0.9.6.1.tar.bz2) = 32ccd838e06ef5613c2610c1c65ed228 SHA256 (eaccelerator-0.9.6.1.tar.bz2) = 33703ad1678cdb65ef0cd28fbd2e262ef5d9f201f9016de26b7254987deba53c SIZE (eaccelerator-0.9.6.1.tar.bz2) = 106049 |