aboutsummaryrefslogtreecommitdiffstats
path: root/www/mediawiki113
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2008-03-10 21:16:29 +0800
committerrafan <rafan@FreeBSD.org>2008-03-10 21:16:29 +0800
commit92074e5a3195cac235063f284f175508c367f2ec (patch)
tree930d34c94dac62c638a33ffdc2449d80a32a0011 /www/mediawiki113
parentae5574785a9546a148c62f4676dee370d3bd71ee (diff)
downloadfreebsd-ports-gnome-92074e5a3195cac235063f284f175508c367f2ec.tar.gz
freebsd-ports-gnome-92074e5a3195cac235063f284f175508c367f2ec.tar.zst
freebsd-ports-gnome-92074e5a3195cac235063f284f175508c367f2ec.zip
- Update to 1.11.2
PR: ports/121516 Submitted by: Gerrit Beine <gerrit.beine at gmx.de> (maintainer)
Diffstat (limited to 'www/mediawiki113')
-rw-r--r--www/mediawiki113/Makefile40
-rw-r--r--www/mediawiki113/distinfo6
2 files changed, 37 insertions, 9 deletions
diff --git a/www/mediawiki113/Makefile b/www/mediawiki113/Makefile
index 45c86752c299..766deb8ebc31 100644
--- a/www/mediawiki113/Makefile
+++ b/www/mediawiki113/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mediawiki
-PORTVERSION= 1.11.1
+PORTVERSION= 1.11.2
CATEGORIES= www
MASTER_SITES= http://download.wikimedia.org/mediawiki/1.11/
@@ -15,22 +15,25 @@ 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 \
+ TEXVC "Use built-in TeX rendering" off \
+ APC "Use pecl-APC" on \
+ EACCEL "Use eAccelerator (instead of pecl-APC)" off \
+ IMAGICK "Use ImageMagick" off
.include <bsd.port.pre.mk>
.if defined(WITH_PGSQL)
USE_PHP+= pgsql
.else
+IGNORE_WITH_MYSQL= 323
+USE_MYSQL= yes
USE_PHP+= mysql
.endif
@@ -38,6 +41,31 @@ USE_PHP+= mysql
USE_PHP+= ldap
.endif
+.if defined(WITH_TEXVC)
+RUN_DEPENDS+= latex:${PORTSDIR}/print/latex
+BUILD_DEPENDS+= ocaml:${PORTSDIR}/lang/ocaml
+
+USE_GMAKE=yes
+WITH_IMAGICK=yes
+.endif
+
+.if defined(WITH_IMAGICK)
+RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:${PORTSDIR}/graphics/pecl-imagick
+.endif
+
+.if defined(WITH_APC) || defined(WITH_EACCEL)
+.if defined(WITH_EACCEL)
+RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/eaccelerator.so:${PORTSDIR}/www/eaccelerator
+.else
+RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/apc.so:${PORTSDIR}/www/pecl-APC
+.endif
+.endif
+
+do-build:
+.if defined(WITH_TEXVC)
+ @(cd ${WRKSRC}/math && ${GMAKE})
+.endif
+
do-install:
@${MKDIR} ${PREFIX}/${MEDIAWIKIDIR}
${CP} -r ${WRKSRC}/ ${PREFIX}/${MEDIAWIKIDIR}
diff --git a/www/mediawiki113/distinfo b/www/mediawiki113/distinfo
index c983bb639290..2bc896956bc3 100644
--- a/www/mediawiki113/distinfo
+++ b/www/mediawiki113/distinfo
@@ -1,3 +1,3 @@
-MD5 (mediawiki-1.11.1.tar.gz) = a7c9c31c3e6ab1d1137930b7dc86b2a7
-SHA256 (mediawiki-1.11.1.tar.gz) = 05173b49b73a289ff532baf4088215756804075394268b733ba2ae4265be9476
-SIZE (mediawiki-1.11.1.tar.gz) = 4885712
+MD5 (mediawiki-1.11.2.tar.gz) = 12e81f27a37b15b9d1ed110d6f48b35f
+SHA256 (mediawiki-1.11.2.tar.gz) = 3516fd7f0069e30b1ed6b6fea3794047ac08baf3cf71085c6943605efafd806f
+SIZE (mediawiki-1.11.2.tar.gz) = 4880707