aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/mediawiki110/Makefile15
-rw-r--r--www/mediawiki110/distinfo6
2 files changed, 13 insertions, 8 deletions
diff --git a/www/mediawiki110/Makefile b/www/mediawiki110/Makefile
index ee5773b1ef7a..74df88266ca8 100644
--- a/www/mediawiki110/Makefile
+++ b/www/mediawiki110/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mediawiki
-PORTVERSION= 1.10.3
+PORTVERSION= 1.10.4
CATEGORIES= www
MASTER_SITES= http://download.wikimedia.org/mediawiki/1.10/
@@ -16,21 +16,22 @@ COMMENT= The wiki engine used by Wikipedia
CONFLICTS= mediawiki-1.[0-9].* mediawiki-1.1[1-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/mediawiki110/distinfo b/www/mediawiki110/distinfo
index 3b7759f11350..9ac40a9faff3 100644
--- a/www/mediawiki110/distinfo
+++ b/www/mediawiki110/distinfo
@@ -1,3 +1,3 @@
-MD5 (mediawiki-1.10.3.tar.gz) = 8a4be92512b428d6c6301febf96ea2bf
-SHA256 (mediawiki-1.10.3.tar.gz) = d5cb8aabe4d7050f111f4c0ae7c3aa7e11fa60afba0b13e140c9fddc82504bc7
-SIZE (mediawiki-1.10.3.tar.gz) = 4376402
+MD5 (mediawiki-1.10.4.tar.gz) = d81e5607a365b71f09496864e0aa93bb
+SHA256 (mediawiki-1.10.4.tar.gz) = de413ac48be92ba243cf1c67786fcff57687ee51c93f058f8a975298a0eb8c88
+SIZE (mediawiki-1.10.4.tar.gz) = 4370013