diff options
author | wg <wg@FreeBSD.org> | 2013-11-03 06:55:52 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2013-11-03 06:55:52 +0800 |
commit | 536755268302bdb76830e4f1d72939f6998d6345 (patch) | |
tree | bd6c6eb411c35943a26956e8986c764c68ac0b4c /www | |
parent | b8b68e01c864b3584bc98b072b6f3f02da9311ee (diff) | |
download | freebsd-ports-gnome-536755268302bdb76830e4f1d72939f6998d6345.tar.gz freebsd-ports-gnome-536755268302bdb76830e4f1d72939f6998d6345.tar.zst freebsd-ports-gnome-536755268302bdb76830e4f1d72939f6998d6345.zip |
www/mediawiki120: add missing php hash dependency
- Add missing php hash run dependency [1]
- Allow staging
PR: ports/182710 [1]
Submitted by: Horia Racoviceanu <horia racoviceanu.com> [1]
Approved by: maintainer (timeout)
Diffstat (limited to 'www')
-rw-r--r-- | www/mediawiki120/Makefile | 13 | ||||
-rw-r--r-- | www/mediawiki120/files/pkg-message.in (renamed from www/mediawiki120/pkg-message) | 0 |
2 files changed, 6 insertions, 7 deletions
diff --git a/www/mediawiki120/Makefile b/www/mediawiki120/Makefile index 46ce1839f5a8..9708dacf120a 100644 --- a/www/mediawiki120/Makefile +++ b/www/mediawiki120/Makefile @@ -15,9 +15,11 @@ CONFLICTS= mediawiki-1.1[0-9].* mediawiki-1.21.* FETCH_ARGS= -pr NO_LATEST_LINK= yes -USE_PHP= ctype iconv mbstring pcre session xml zlib readline dom +USE_PHP= ctype hash iconv mbstring pcre session xml zlib readline dom WANT_PHP_WEB= yes MEDIAWIKIDIR?= www/mediawiki +SUB_FILES= pkg-message +SUB_LIST+= MEDIAWIKIDIR="${PREFIX}/${MEDIAWIKIDIR}" NO_BUILD= yes @@ -30,7 +32,6 @@ EACCEL_DESC= use eAccelerator (instead of pecl-APC) XCACHE_DESC= use xCache (instead of pecl-APC) IMAGICK_DESC= use ImageMagick -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MMYSQL} @@ -67,15 +68,13 @@ RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xcache.so:${PORTSDIR}/www/xcac .endif do-install: - @${MKDIR} ${PREFIX}/${MEDIAWIKIDIR} - ${CP} -r ${WRKSRC}/ ${PREFIX}/${MEDIAWIKIDIR} - ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${MEDIAWIKIDIR} + @${MKDIR} ${STAGEDIR}${PREFIX}/${MEDIAWIKIDIR} + ${CP} -r ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${MEDIAWIKIDIR} + ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${MEDIAWIKIDIR} -post-install: @${FIND} ${WRKSRC}/${file} -not -type d \ | ${SED} -ne 's,^${WRKSRC},${MEDIAWIKIDIR},p' >> ${TMPPLIST} @${FIND} -d ${WRKSRC}/${file} -type d \ | ${SED} -ne 's,^${WRKSRC},@dirrm ${MEDIAWIKIDIR},p' >> ${TMPPLIST} - @${SED} -e 's|%%MEDIAWIKIDIR%%|${PREFIX}/${MEDIAWIKIDIR}|' ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/www/mediawiki120/pkg-message b/www/mediawiki120/files/pkg-message.in index d98978fe6903..d98978fe6903 100644 --- a/www/mediawiki120/pkg-message +++ b/www/mediawiki120/files/pkg-message.in |