aboutsummaryrefslogtreecommitdiff
path: root/www/mediawiki125
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2015-08-12 07:16:36 +0000
committerWen Heping <wen@FreeBSD.org>2015-08-12 07:16:36 +0000
commit83720319f262ec77a53810e4393e3d978584a693 (patch)
tree3f0c563a74445a7e580bc36d95f3836d2eafaef0 /www/mediawiki125
parentd9fe42b200961d5ae7ea65a85cc5df8f686d8fc6 (diff)
downloadports-83720319f262ec77a53810e4393e3d978584a693.tar.gz
ports-83720319f262ec77a53810e4393e3d978584a693.zip
Notes
Diffstat (limited to 'www/mediawiki125')
-rw-r--r--www/mediawiki125/Makefile56
-rw-r--r--www/mediawiki125/distinfo4
2 files changed, 19 insertions, 41 deletions
diff --git a/www/mediawiki125/Makefile b/www/mediawiki125/Makefile
index 83e282422f6b..ed048ccc81ad 100644
--- a/www/mediawiki125/Makefile
+++ b/www/mediawiki125/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= mediawiki
-PORTVERSION= 1.25.1
+PORTVERSION= 1.25.2
CATEGORIES= www
MASTER_SITES= http://releases.wikimedia.org/mediawiki/${PORTVERSION:R}/
PKGNAMESUFFIX= 125
@@ -18,6 +18,7 @@ USES= shebangfix
SHEBANG_FILES= maintenance/dev/*.sh \
maintenance/hiphop/run-server \
vendor/leafo/lessphp/lessify \
+ vendor/ruflin/elastica/test/bin/*.sh \
maintenance/postgres/*.pl \
maintenance/storage/make-blobs \
includes/limit.sh
@@ -34,54 +35,31 @@ PLIST= ${WRKDIR}/plist
SUB_FILES= pkg-message
SUB_LIST= MEDIAWIKIDIR=${PREFIX}/${MEDIAWIKIDIR}
-OPTIONS_DEFINE= MYSQL PGSQL SQLITE LDAP MEMCACHED APC EACCEL XCACHE IMAGICK
-OPTIONS_DEFAULT=MYSQL
+OPTIONS_DEFINE= LDAP MEMCACHED IMAGICK
+OPTIONS_SINGLE= DB
+OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE
+OPTIONS_RADIO= ACCEL
+OPTIONS_RADIO_ACCEL= APC XCACHE
+OPTIONS_DEFAULT= MYSQL
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>
+MYSQL_USE= mysql=client php=mysql
+PGSQL_USE= php=pgsql
+SQLITE_USE= php=sqlite3
+LDAP_USE= php=ldap
-.if ${PORT_OPTIONS:MMYSQL}
-USE_MYSQL= client
-USE_PHP+= mysql
-.endif
-
-.if ${PORT_OPTIONS:MPGSQL}
-USE_PHP+= pgsql
-.endif
-
-.if ${PORT_OPTIONS:MSQLITE}
-USE_PHP+= sqlite3
-.endif
-
-.if ${PORT_OPTIONS:MLDAP}
-USE_PHP+= ldap
-.endif
-
-.if ${PORT_OPTIONS:MMEMCACHED}
-RUN_DEPENDS= memcached:${PORTSDIR}/databases/memcached
-.endif
-
-.if ${PORT_OPTIONS:MIMAGICK}
-RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:${PORTSDIR}/graphics/pecl-imagick
-.endif
-
-.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
-.endif
+MEMCACHED_RUN_DEPENDS= memcached:${PORTSDIR}/databases/memcached
+IMAGICK_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:${PORTSDIR}/graphics/pecl-imagick
+APC_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/apc.so:${PORTSDIR}/www/pecl-APC
+XCACHE_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xcache.so:${PORTSDIR}/www/xcache
pre-install:
@${FIND} -s -d ${WRKSRC} -not -type d | ${SED} "s?${WRKSRC}?${MEDIAWIKIDIR}?g" >>${PLIST}
- @${ECHO} "@dir %%WWWDIR%%/vendor/zordius/lightncandy/specs/handlebars" >> ${PLIST}
- @${ECHO} "@dir %%WWWDIR%%/vendor/zordius/lightncandy/specs/mustache" >> ${PLIST}
+ @${ECHO} "@dir %%WWWDIR%%/vendor/monolog/monolog/tests/Monolog/Handler/Fixtures" >> ${PLIST}
@${ECHO} @dir ${MEDIAWIKIDIR} >> ${PLIST}
do-install:
diff --git a/www/mediawiki125/distinfo b/www/mediawiki125/distinfo
index 7ba7d5b24ecf..65b2ae2fe409 100644
--- a/www/mediawiki125/distinfo
+++ b/www/mediawiki125/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mediawiki-1.25.1.tar.gz) = b3a7d672d12bd329d9ca64ae2428a19fbf5e10b234568114fa17df84d2428731
-SIZE (mediawiki-1.25.1.tar.gz) = 23661450
+SHA256 (mediawiki-1.25.2.tar.gz) = 539fecfe3d0c7de8130b0c3b548fe1f862f60df76396dc54ee0548c87e5f2482
+SIZE (mediawiki-1.25.2.tar.gz) = 24018158