aboutsummaryrefslogtreecommitdiffstats
path: root/www/mediawiki
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2005-05-07 01:53:26 +0800
committernovel <novel@FreeBSD.org>2005-05-07 01:53:26 +0800
commitb324d4ce0a07a74de977ed50c0b6d1629bb26614 (patch)
tree519a01f2f3c942d0d8bdef47fe52e3c4ae16daea /www/mediawiki
parent787457b35f24972d7efb953c8ee4dce285798d59 (diff)
downloadfreebsd-ports-gnome-b324d4ce0a07a74de977ed50c0b6d1629bb26614.tar.gz
freebsd-ports-gnome-b324d4ce0a07a74de977ed50c0b6d1629bb26614.tar.zst
freebsd-ports-gnome-b324d4ce0a07a74de977ed50c0b6d1629bb26614.zip
Update to 1.4.4
PR: 80700 Submitted by: Gerrit Beine (maintainer)
Diffstat (limited to 'www/mediawiki')
-rw-r--r--www/mediawiki/Makefile25
-rw-r--r--www/mediawiki/distinfo4
2 files changed, 25 insertions, 4 deletions
diff --git a/www/mediawiki/Makefile b/www/mediawiki/Makefile
index b036c13c51cf..9cf4ca342f33 100644
--- a/www/mediawiki/Makefile
+++ b/www/mediawiki/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mediawiki
-PORTVERSION= 1.4.0
+PORTVERSION= 1.4.4
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= wikipedia
@@ -17,10 +17,31 @@ COMMENT= The wiki enginge used by Wikipedia
CONFLICTS= mediawiki-1.3.*
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
+NO_LATEST_LINK= yes
+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/mediawiki/distinfo b/www/mediawiki/distinfo
index 4991ae679d18..4fa85091fa4f 100644
--- a/www/mediawiki/distinfo
+++ b/www/mediawiki/distinfo
@@ -1,2 +1,2 @@
-MD5 (mediawiki-1.4.0.tar.gz) = d1bbfe6db13c902ee12188f8fbe18f35
-SIZE (mediawiki-1.4.0.tar.gz) = 1874413
+MD5 (mediawiki-1.4.4.tar.gz) = 85553d464041e36b85939810d79f5bf4
+SIZE (mediawiki-1.4.4.tar.gz) = 1930602