Date: Sat, 13 Oct 2012 14:52:48 +0000 (UTC) From: Wen Heping <wen@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r305834 - head/www/mediawiki Message-ID: <201210131452.q9DEqmi5039772@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wen Date: Sat Oct 13 14:52:48 2012 New Revision: 305834 URL: http://svn.freebsd.org/changeset/ports/305834 Log: - Add missing option PR: 172659 Submitted by: Spil <spil.oss@gmail.com> Feature safe: yes Modified: head/www/mediawiki/Makefile Modified: head/www/mediawiki/Makefile ============================================================================== --- head/www/mediawiki/Makefile Sat Oct 13 14:16:02 2012 (r305833) +++ head/www/mediawiki/Makefile Sat Oct 13 14:52:48 2012 (r305834) @@ -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}/datab 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210131452.q9DEqmi5039772>