summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca>2012-12-05 15:28:30 +0000
committertaca <taca>2012-12-05 15:28:30 +0000
commit240c4dbe1a5d5ec54618cc7ea50e74bbe39b4f7b (patch)
tree0a3c2ffb0c92785c8bcf64643230e2a8867e492c
parent968640ea5194b610080aff381aa9c010a4474c80 (diff)
downloadpkgsrc-240c4dbe1a5d5ec54618cc7ea50e74bbe39b4f7b.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.
-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