aboutsummaryrefslogtreecommitdiffstats
path: root/www/mediawiki114
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2005-05-02 15:05:44 +0800
committernovel <novel@FreeBSD.org>2005-05-02 15:05:44 +0800
commit2634badd4c5d3d1f5cc2d3fec2a094da8294395a (patch)
treef0e628a4e840c4a0abe61bad3ba3961afb194213 /www/mediawiki114
parentfd8b4bacbe70fec9e2f42999c559f3a6158663ec (diff)
downloadfreebsd-ports-graphics-2634badd4c5d3d1f5cc2d3fec2a094da8294395a.tar.gz
freebsd-ports-graphics-2634badd4c5d3d1f5cc2d3fec2a094da8294395a.tar.zst
freebsd-ports-graphics-2634badd4c5d3d1f5cc2d3fec2a094da8294395a.zip
Update to 1.3.12
PR: 80518 Submitted by: Gerrit Beine (maintainer)
Diffstat (limited to 'www/mediawiki114')
-rw-r--r--www/mediawiki114/Makefile26
-rw-r--r--www/mediawiki114/distinfo4
2 files changed, 25 insertions, 5 deletions
diff --git a/www/mediawiki114/Makefile b/www/mediawiki114/Makefile
index 164b7358fb4..3b3aa99b726 100644
--- a/www/mediawiki114/Makefile
+++ b/www/mediawiki114/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= mediawiki
-PORTVERSION= 1.3.11
-PORTREVISION= 1
+PORTVERSION= 1.3.12
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= wikipedia
@@ -16,10 +15,31 @@ MAINTAINER= tux@pinguru.net
COMMENT= The wiki enginge used by Wikipedia
NO_BUILD= yes
-USE_PHP= mysql session zlib
+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 \
+ LDAP "Use LDAP authentication" off
+
+PORT_DBDIR?= /var/db/ports
+LATEST_LINK= ${PORTNAME}
+OPTIONSFILE?= ${PORT_DBDIR}/${LATEST_LINK}/options
+
+.if exists(${OPTIONSFILE})
+.include "${OPTIONSFILE}"
+.endif
+
+.if defined(WITH_PGSQL)
+USE_PHP+= pgsql
+.else
+USE_PHP+= mysql
+.endif
+
+.if defined(WITH_LDAP)
+USE_PHP+= ldap
+.endif
+
do-install:
-${MKDIR} ${PREFIX}/${MEDIAWIKIDIR}
@${CP} -r ${WRKSRC}/ ${PREFIX}/${MEDIAWIKIDIR}
diff --git a/www/mediawiki114/distinfo b/www/mediawiki114/distinfo
index 1ee02b0d623..e084e5db91c 100644
--- a/www/mediawiki114/distinfo
+++ b/www/mediawiki114/distinfo
@@ -1,2 +1,2 @@
-MD5 (mediawiki-1.3.11.tar.gz) = 33f17f1347934d5cb36f81f9215e734f
-SIZE (mediawiki-1.3.11.tar.gz) = 1577145
+MD5 (mediawiki-1.3.12.tar.gz) = 97003e0860cf05075dd84efdb675defb
+SIZE (mediawiki-1.3.12.tar.gz) = 1577784