diff options
author | Wen Heping <wen@FreeBSD.org> | 2014-09-28 04:00:44 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2014-09-28 04:00:44 +0000 |
commit | b5e649b51d0d148397ed55b1686966633215f06b (patch) | |
tree | f3be15511fa600a62d3352bdf1ca0f66d1a65f48 /www/mediawiki123 | |
parent | 94f7ea6c8f50fefcaa643a379c5418760974f334 (diff) | |
download | ports-b5e649b51d0d148397ed55b1686966633215f06b.tar.gz ports-b5e649b51d0d148397ed55b1686966633215f06b.zip |
Notes
Diffstat (limited to 'www/mediawiki123')
-rw-r--r-- | www/mediawiki123/Makefile | 15 | ||||
-rw-r--r-- | www/mediawiki123/distinfo | 4 |
2 files changed, 12 insertions, 7 deletions
diff --git a/www/mediawiki123/Makefile b/www/mediawiki123/Makefile index b54251f5f26e..d9f88fa2a649 100644 --- a/www/mediawiki123/Makefile +++ b/www/mediawiki123/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= mediawiki -PORTVERSION= 1.23.3 +PORTVERSION= 1.23.4 CATEGORIES= www MASTER_SITES= http://releases.wikimedia.org/mediawiki/${PORTVERSION:R}/ PKGNAMESUFFIX= 123 @@ -19,6 +19,7 @@ WANT_PHP_WEB= yes MEDIAWIKIDIR?= www/mediawiki NO_BUILD= yes +PLIST= ${WRKDIR}/plist OPTIONS_DEFINE= MYSQL PGSQL SQLITE LDAP MEMCACHED APC EACCEL XCACHE IMAGICK OPTIONS_DEFAULT=MYSQL @@ -64,16 +65,20 @@ RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/eaccelerator.so:${PORTSDIR}/ww RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xcache.so:${PORTSDIR}/www/xcache .endif +pre-install: + @${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST} + @${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST} + @${FIND} -s -d ${WRKSRC} -not -type d | ${SED} "s?${WRKSRC}?${MEDIAWIKIDIR}?g" >>${PLIST} + @${ECHO} @dir ${MEDIAWIKIDIR} >> ${PLIST} + @${ECHO_CMD} "@group" >> ${PLIST} + @${ECHO_CMD} "@owner" >> ${PLIST} + do-install: @${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/mediawiki123/distinfo b/www/mediawiki123/distinfo index 026b33e065d8..bc1aa67728ad 100644 --- a/www/mediawiki123/distinfo +++ b/www/mediawiki123/distinfo @@ -1,2 +1,2 @@ -SHA256 (mediawiki-1.23.3.tar.gz) = ee2ea2e28e44fb12ac6d1c8c6d2f52a3c8580c7b95a06a1d9c6272c9254ac750 -SIZE (mediawiki-1.23.3.tar.gz) = 19886309 +SHA256 (mediawiki-1.23.4.tar.gz) = 3fd31c61d60b3472483d9d18b19b8f5dc1ff1462601490522504b2a60fa070e9 +SIZE (mediawiki-1.23.4.tar.gz) = 19898828 |