aboutsummaryrefslogtreecommitdiff
path: root/www/mediawiki125
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2015-10-09 07:17:14 +0000
committerWen Heping <wen@FreeBSD.org>2015-10-09 07:17:14 +0000
commit517958b802b50127a7b22548f5c28dfefca310b4 (patch)
tree4ac674098cab5f27082fc23c9f9fd01924b5a039 /www/mediawiki125
parent1c265271066ac5f929fe5b26f4a6d1e59192d85a (diff)
downloadports-517958b802b50127a7b22548f5c28dfefca310b4.tar.gz
ports-517958b802b50127a7b22548f5c28dfefca310b4.zip
Notes
Diffstat (limited to 'www/mediawiki125')
-rw-r--r--www/mediawiki125/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/www/mediawiki125/Makefile b/www/mediawiki125/Makefile
index fca2c5106ff7..2e312e50e455 100644
--- a/www/mediawiki125/Makefile
+++ b/www/mediawiki125/Makefile
@@ -3,7 +3,7 @@
PORTNAME= mediawiki
PORTVERSION= 1.25.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://releases.wikimedia.org/mediawiki/${PORTVERSION:R}/
PKGNAMESUFFIX= 125
@@ -26,7 +26,8 @@ SHEBANG_FILES= maintenance/dev/*.sh \
SHEBANG_LANG= hhvm
hhvm_OLD_CMD= /usr/bin/hhvm
hhvm_CMD= ${LOCALBASE}/bin/hhvm # not installed by anything yet
-USE_PHP= ctype hash iconv mbstring pcre session xml zlib readline dom json
+USE_PHP= ctype dom hash iconv json mbstring pcre readline \
+ session xml xmlreader zlib
WANT_PHP_WEB= yes
MEDIAWIKIDIR?= www/mediawiki
@@ -63,10 +64,13 @@ XCACHE_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xcache.so:${PORTSDIR}/ww
pre-install:
@${FIND} -s -d ${WRKSRC} -not -type d | ${SED} "s?${WRKSRC}?${MEDIAWIKIDIR}?g" >>${PLIST}
@${ECHO} "@dir %%WWWDIR%%/vendor/monolog/monolog/tests/Monolog/Handler/Fixtures" >> ${PLIST}
+ @${ECHO} "@mode 0777" >> ${PLIST}
+ @${ECHO} "@dir %%WWWDIR%%/images" >> ${PLIST}
+ @${ECHO} "@mode" >> ${PLIST}
@${ECHO} @dir ${MEDIAWIKIDIR} >> ${PLIST}
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${MEDIAWIKIDIR}
- ${CP} -r ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${MEDIAWIKIDIR}
+ @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${MEDIAWIKIDIR}
.include <bsd.port.mk>