From fde116522940eba1a40cc4ca1944e8d73fb15312 Mon Sep 17 00:00:00 2001 From: Alex Dupre Date: Thu, 17 Feb 2011 08:38:48 +0000 Subject: [PATCH] Add an option to retain doc-comments. PR: ports/154827 Submitted by: Andrew Kochetkov Feature safe: yes --- www/eaccelerator/Makefile | 6 ++++++ www/eaccelerator/distinfo | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) 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 +.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