ports/121516: Update port: www/mediawiki
Gerrit Beine
gerrit.beine at gmx.de
Sun Mar 9 10:40:02 UTC 2008
>Number: 121516
>Category: ports
>Synopsis: Update port: www/mediawiki
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Mar 09 10:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Gerrit Beine
>Release: FreeBSD 7.0-RELEASE
>Organization:
Beine Computer
>Environment:
FreeBSD tb.vmware.beine-computer.de 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Update to version 1.11.2
Added some knobs to add dependencies to opt caches, ImageMagick and LaTeX
>How-To-Repeat:
>Fix:
diff -Nur /usr/ports/www/mediawiki/Makefile ports/www/mediawiki/Makefile
--- /usr/ports/www/mediawiki/Makefile 2008-02-01 15:15:22.000000000 +0100
+++ ports/www/mediawiki/Makefile 2008-03-09 12:25:49.000000000 +0100
@@ -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 @@
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+= 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}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list