summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2012-12-05 15:28:30 +0000
committertaca <taca@pkgsrc.org>2012-12-05 15:28:30 +0000
commit3187a9cf1d6fcc171365929ed0d71481dc03f1fb (patch)
tree0a3c2ffb0c92785c8bcf64643230e2a8867e492c /www
parent41205674ae5cb43400e7eef22fee928df4e9c86d (diff)
downloadpkgsrc-3187a9cf1d6fcc171365929ed0d71481dc03f1fb.tar.gz
Introduce eaccelerator-disassembler and eaccelerator-doc-comment-inclusion
PKG_OPTIONS and enable eaccelerator-doc-comment-inclusion default, focusing to PR pkg/46775. Bump PKGREVISION.
Diffstat (limited to 'www')
-rw-r--r--www/php-eaccelerator/Makefile7
-rw-r--r--www/php-eaccelerator/options.mk16
2 files changed, 21 insertions, 2 deletions
diff --git a/www/php-eaccelerator/Makefile b/www/php-eaccelerator/Makefile
index 36b3e8cb383..d1eb5c1bbce 100644
--- a/www/php-eaccelerator/Makefile
+++ b/www/php-eaccelerator/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.19 2012/10/28 06:30:57 asau Exp $
+# $NetBSD: Makefile,v 1.20 2012/12/05 15:28:30 taca Exp $
MODNAME= eaccelerator
+PKGREVISION= 1
PECL_VERSION= 0.9.6.1
PECL_LEGACY_VERSION_SCHEME= yes
CATEGORIES+= sysutils
@@ -8,7 +9,7 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=eaccelerator/} \
http://bart.eaccelerator.net/source/${PECL_VERSION}/
EXTRACT_SUFX= .tar.bz2
-HOMEPAGE= http://sourceforge.net/projects/eaccelerator/
+HOMEPAGE= https://github.com/eaccelerator/eaccelerator
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= PHP accelerator, optimizer, encoder and dynamic content cache
LICENSE= gnu-gpl-v2
@@ -19,5 +20,7 @@ CONFLICTS= php-eaccelator-[0-9]*
CONFIGURE_ARGS+= --enable-${MODNAME}
+.include "options.mk"
+
.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/php-eaccelerator/options.mk b/www/php-eaccelerator/options.mk
new file mode 100644
index 00000000000..2568b94129e
--- /dev/null
+++ b/www/php-eaccelerator/options.mk
@@ -0,0 +1,16 @@
+# $NetBSD: options.mk,v 1.1 2012/12/05 15:28:30 taca Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.eaccelerator
+PKG_SUPPORTED_OPTIONS= eaccelerator-disassembler
+PKG_SUPPORTED_OPTIONS+= eaccelerator-doc-comment-inclusion
+PKG_SUGGESTED_OPTIONS= eaccelerator-doc-comment-inclusion
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Meaccelerator-disassembler)
+CONFIGURE_ARGS+= --with-eaccelerator-disassembler
+.endif
+
+.if !empty(PKG_OPTIONS:Meaccelerator-doc-comment-inclusion)
+CONFIGURE_ARGS+= --with-eaccelerator-doc-comment-inclusion
+.endif