aboutsummaryrefslogtreecommitdiffstats
path: root/www/mediawiki
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2012-10-13 22:52:48 +0800
committerwen <wen@FreeBSD.org>2012-10-13 22:52:48 +0800
commitd54d2066edd9a4138f18715f61cf18c49c8f47b2 (patch)
treebaefe80dbe1db238f0289232e9e0e236b9e312a1 /www/mediawiki
parent7463289e6ef955e80cfab254e113ba3031728c1e (diff)
downloadfreebsd-ports-gnome-d54d2066edd9a4138f18715f61cf18c49c8f47b2.tar.gz
freebsd-ports-gnome-d54d2066edd9a4138f18715f61cf18c49c8f47b2.tar.zst
freebsd-ports-gnome-d54d2066edd9a4138f18715f61cf18c49c8f47b2.zip
- Add missing option
PR: 172659 Submitted by: Spil <spil.oss@gmail.com> Feature safe: yes
Diffstat (limited to 'www/mediawiki')
-rw-r--r--www/mediawiki/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/www/mediawiki/Makefile b/www/mediawiki/Makefile
index 95a232beb2dc..c4cbff5d9b32 100644
--- a/www/mediawiki/Makefile
+++ b/www/mediawiki/Makefile
@@ -3,6 +3,7 @@
PORTNAME= mediawiki
PORTVERSION= 1.19.2
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://dumps.wikimedia.org/mediawiki/${PORTVERSION:R}/
@@ -21,12 +22,13 @@ MEDIAWIKIDIR?= www/mediawiki
NO_BUILD= yes
-OPTIONS_DEFINE= MYSQL PGSQL SQLITE LDAP MEMCACHED APC EACCEL IMAGICK
+OPTIONS_DEFINE= MYSQL PGSQL SQLITE LDAP MEMCACHED APC EACCEL XCACHE IMAGICK
OPTIONS_DEFAULT=MYSQL APC
MEMCACHED_DESC= use memcached
APC_DESC= use pecl-APC(Mediawiki recommended)
EACCEL_DESC= use eAccelerator (instead of pecl-APC)
+XCACHE_DESC= use xCache (instead of pecl-APC)
IMAGICK_DESC= use ImageMagick
.include <bsd.port.options.mk>
@@ -56,14 +58,12 @@ RUN_DEPENDS= memcached:${PORTSDIR}/databases/memcached
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:${PORTSDIR}/graphics/pecl-imagick
.endif
-.if ${PORT_OPTIONS:MAPC} || ${PORTS_OPTIONS:MEACCEL} || ${PORTS_OPTIONS:MXCACHE}
-.if ${PORT_OPTIONS:MEACCEL}
+.if ${PORT_OPTIONS:MAPC}
+RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/apc.so:${PORTSDIR}/www/pecl-APC
+.elif ${PORT_OPTIONS:MEACCEL}
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/eaccelerator.so:${PORTSDIR}/www/eaccelerator
.elif ${PORT_OPTIONS:MXCACHE}
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xcache.so:${PORTSDIR}/www/xcache
-.else
-RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/apc.so:${PORTSDIR}/www/pecl-APC
-.endif
.endif
do-install: