aboutsummaryrefslogtreecommitdiff
path: root/www/mediawiki
diff options
context:
space:
mode:
authorJean Milanez Melo <jmelo@FreeBSD.org>2006-04-13 16:28:21 +0000
committerJean Milanez Melo <jmelo@FreeBSD.org>2006-04-13 16:28:21 +0000
commit79c981a226576fc24f280de66e12ff7d33a9e2c7 (patch)
tree85ba59896401c50d2072d8cdab200c1a548be927 /www/mediawiki
parent9f539edb964201b8969ea3826948ae0004045724 (diff)
downloadports-79c981a226576fc24f280de66e12ff7d33a9e2c7.tar.gz
ports-79c981a226576fc24f280de66e12ff7d33a9e2c7.zip
Notes
Diffstat (limited to 'www/mediawiki')
-rw-r--r--www/mediawiki/Makefile22
-rw-r--r--www/mediawiki/distinfo6
2 files changed, 17 insertions, 11 deletions
diff --git a/www/mediawiki/Makefile b/www/mediawiki/Makefile
index e6baf008a1e1..3e4df16f7522 100644
--- a/www/mediawiki/Makefile
+++ b/www/mediawiki/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/mediawiki/distinfo b/www/mediawiki/distinfo
index c30dcb1546a5..65a8861630c3 100644
--- a/www/mediawiki/distinfo
+++ b/www/mediawiki/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