diff options
author | jmelo <jmelo@FreeBSD.org> | 2006-04-14 00:28:21 +0800 |
---|---|---|
committer | jmelo <jmelo@FreeBSD.org> | 2006-04-14 00:28:21 +0800 |
commit | f7bfb561cbce907dc2818367d8284c2ef82e86da (patch) | |
tree | 4a3abe6b4122448f848a50c1cb6cd718e6b90848 /www/mediawiki12 | |
parent | 14c156fb7fd87c57119a3982ee3b676b7c3ec603 (diff) | |
download | freebsd-ports-gnome-f7bfb561cbce907dc2818367d8284c2ef82e86da.tar.gz freebsd-ports-gnome-f7bfb561cbce907dc2818367d8284c2ef82e86da.tar.zst freebsd-ports-gnome-f7bfb561cbce907dc2818367d8284c2ef82e86da.zip |
- Update to 1.6.3.
- Add note to PostgreSQL users who are migrating from < 1.6.X.
- Add bsd.php.mk to fix USE_PHP after bsd.port.pre.mk.
PR: ports/95630
Submitted by: Gerrit Beine <gerrit.beine@gmx.de> (maintainer)
Reworked by: mnag
Approved by: mnag (mentor)
Diffstat (limited to 'www/mediawiki12')
-rw-r--r-- | www/mediawiki12/Makefile | 22 | ||||
-rw-r--r-- | www/mediawiki12/distinfo | 6 |
2 files changed, 17 insertions, 11 deletions
diff --git a/www/mediawiki12/Makefile b/www/mediawiki12/Makefile index e6baf008a1e1..3e4df16f7522 100644 --- a/www/mediawiki12/Makefile +++ b/www/mediawiki12/Makefile @@ -6,7 +6,7 @@ # PORTNAME= mediawiki -PORTVERSION= 1.5.8 +PORTVERSION= 1.6.3 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= wikipedia @@ -14,20 +14,23 @@ MASTER_SITE_SUBDIR= wikipedia MAINTAINER= gerrit.beine@gmx.de COMMENT= The wiki engine used by Wikipedia -CONFLICTS= mediawiki-1.[0-46-9].* +CONFLICTS= mediawiki-1.[0-57-9].* NO_BUILD= yes USE_PHP= iconv mbstring pcre session xml zlib imagick readline WANT_PHP_WEB= yes MEDIAWIKIDIR?= www/data-dist/mediawiki -OPTIONS= PGSQL "Use PostgreSQL instead of MySQL" off \ +OPTIONS= PGSQL "Use PostgreSQL instead of MySQL (not funtional)" off \ LDAP "Use LDAP authentication" off .include <bsd.port.pre.mk> .if defined(WITH_PGSQL) USE_PHP+= pgsql +IGNORE= the table definitions for PostgreSQL install are out of date.\ + PostgreSQL support may return in later releases, pending appropriate patches.\ + Use www/mediawiki15 for while .else USE_PHP+= mysql .endif @@ -36,16 +39,19 @@ USE_PHP+= mysql USE_PHP+= ldap .endif +# Fix USE_PHP after bsd.port.pre.mk +.include "${PORTSDIR}/Mk/bsd.php.mk" + do-install: - -${MKDIR} ${PREFIX}/${MEDIAWIKIDIR} - @${CP} -r ${WRKSRC}/ ${PREFIX}/${MEDIAWIKIDIR} - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${MEDIAWIKIDIR} + @${MKDIR} ${PREFIX}/${MEDIAWIKIDIR} + ${CP} -r ${WRKSRC}/ ${PREFIX}/${MEDIAWIKIDIR} + ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${MEDIAWIKIDIR} post-install: @${FIND} ${WRKSRC}/${file} -not -type d \ - | ${SED} -ne 's,^${WRKSRC},${MEDIAWIKIDIR},p' >> ${TMPPLIST} + | ${SED} -ne 's,^${WRKSRC},${MEDIAWIKIDIR},p' >> ${TMPPLIST} @${FIND} -d ${WRKSRC}/${file} -type d \ - | ${SED} -ne 's,^${WRKSRC},@dirrm ${MEDIAWIKIDIR},p' >> ${TMPPLIST} + | ${SED} -ne 's,^${WRKSRC},@dirrm ${MEDIAWIKIDIR},p' >> ${TMPPLIST} @${SED} -e 's|%%MEDIAWIKIDIR%%|${PREFIX}/${MEDIAWIKIDIR}|' ${PKGMESSAGE} .include <bsd.port.post.mk> diff --git a/www/mediawiki12/distinfo b/www/mediawiki12/distinfo index c30dcb1546a5..65a8861630c3 100644 --- a/www/mediawiki12/distinfo +++ b/www/mediawiki12/distinfo @@ -1,3 +1,3 @@ -MD5 (mediawiki-1.5.8.tar.gz) = 1eef94157377fa8c3d049877a27c0163 -SHA256 (mediawiki-1.5.8.tar.gz) = 28dbfc2c1602b1039a7408457f7774615e92553ac1b276e7aa55c34458708b61 -SIZE (mediawiki-1.5.8.tar.gz) = 2287928 +MD5 (mediawiki-1.6.3.tar.gz) = 89d0d6a588dce6453fb00a70598c632e +SHA256 (mediawiki-1.6.3.tar.gz) = bdfdcbdff86359550784e30af5beab020d0c4658d742c0526c47ddf0f60cd9c9 +SIZE (mediawiki-1.6.3.tar.gz) = 2685632 |