aboutsummaryrefslogtreecommitdiff
path: root/www/mediawiki19
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2008-03-10 13:14:56 +0000
committerRong-En Fan <rafan@FreeBSD.org>2008-03-10 13:14:56 +0000
commit7cf3872ec9c8dea3cfd078cdc3887a2f009cc187 (patch)
tree432fdd8b269d3e2cf933e8ad61e38e37af55f3ce /www/mediawiki19
parentc6e222231d170266d9917aeb7ab43ce6ef564b0f (diff)
downloadports-7cf3872ec9c8dea3cfd078cdc3887a2f009cc187.tar.gz
ports-7cf3872ec9c8dea3cfd078cdc3887a2f009cc187.zip
Notes
Diffstat (limited to 'www/mediawiki19')
-rw-r--r--www/mediawiki19/Makefile15
-rw-r--r--www/mediawiki19/distinfo6
2 files changed, 13 insertions, 8 deletions
diff --git a/www/mediawiki19/Makefile b/www/mediawiki19/Makefile
index 7f06b63ea10f..7e20891ca177 100644
--- a/www/mediawiki19/Makefile
+++ b/www/mediawiki19/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mediawiki
-PORTVERSION= 1.9.5
+PORTVERSION= 1.9.6
CATEGORIES= www
MASTER_SITES= http://download.wikimedia.org/mediawiki/1.9/
@@ -16,21 +16,22 @@ COMMENT= The wiki engine used by Wikipedia
CONFLICTS= mediawiki-1.[0-8].* mediawiki-1.1[0-9].*
NO_BUILD= yes
-USE_MYSQL= yes
-IGNORE_WITH_MYSQL= 323
USE_PHP= iconv mbstring pcre session xml zlib readline
IGNORE_WITH_PHP= 4
WANT_PHP_WEB= yes
MEDIAWIKIDIR?= www/mediawiki
-OPTIONS= PGSQL "Use PostgreSQL instead of MySQL (not funtional)" off \
- LDAP "Use LDAP authentication" off
+OPTIONS= PGSQL "Use PostgreSQL instead of MySQL" off \
+ LDAP "Use LDAP authentication" off \
+ IMAGICK "Use ImageMagick" off
.include <bsd.port.pre.mk>
.if defined(WITH_PGSQL)
USE_PHP+= pgsql
.else
+USE_MYSQL= yes
+IGNORE_WITH_MYSQL= 323
USE_PHP+= mysql
.endif
@@ -38,6 +39,10 @@ USE_PHP+= mysql
USE_PHP+= ldap
.endif
+.if defined(WITH_IMAGICK)
+RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:${PORTSDIR}/graphics/pecl-imagick
+.endif
+
do-install:
@${MKDIR} ${PREFIX}/${MEDIAWIKIDIR}
${CP} -r ${WRKSRC}/ ${PREFIX}/${MEDIAWIKIDIR}
diff --git a/www/mediawiki19/distinfo b/www/mediawiki19/distinfo
index 4507f68eb086..6f914ad8be5d 100644
--- a/www/mediawiki19/distinfo
+++ b/www/mediawiki19/distinfo
@@ -1,3 +1,3 @@
-MD5 (mediawiki-1.9.5.tar.gz) = e5e798b400c955a519c65efab8d25192
-SHA256 (mediawiki-1.9.5.tar.gz) = ad83892dc59053e19c97c2f3059643d29c9bccc1c04dc10d1189e9e5bee07fb8
-SIZE (mediawiki-1.9.5.tar.gz) = 3865465
+MD5 (mediawiki-1.9.6.tar.gz) = d7e49bc59c072b339495ece7ee3dd053
+SHA256 (mediawiki-1.9.6.tar.gz) = 21a01251cddf9dd4ac723fe03e7d054c66932b2da16fde4da6ef2279c384a1fa
+SIZE (mediawiki-1.9.6.tar.gz) = 3860333