aboutsummaryrefslogtreecommitdiff
path: root/www/mediawiki111
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-12-10 22:47:11 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-12-10 22:47:11 +0000
commit5f49dd56fc0df35dbeb7e029998462677c82050e (patch)
tree54ff812b84b3ca1ae15c885139c3ec219ae1f9ef /www/mediawiki111
parent21db6262854d88c7d918fa5fc9c49281d54dce43 (diff)
downloadports-5f49dd56fc0df35dbeb7e029998462677c82050e.tar.gz
ports-5f49dd56fc0df35dbeb7e029998462677c82050e.zip
Notes
Diffstat (limited to 'www/mediawiki111')
-rw-r--r--www/mediawiki111/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/www/mediawiki111/Makefile b/www/mediawiki111/Makefile
index 0034f5e24d80..8ca6a235bdd0 100644
--- a/www/mediawiki111/Makefile
+++ b/www/mediawiki111/Makefile
@@ -19,15 +19,22 @@ CONFLICTS= mediawiki-1.[0-79].*
NO_BUILD= yes
USE_MYSQL= yes
IGNORE_WITH_MYSQL= 323
-USE_PHP= iconv mbstring pcre session xml zlib readline mysql
+USE_PHP= iconv mbstring pcre session xml zlib readline
IGNORE_WITH_PHP= 4
WANT_PHP_WEB= yes
MEDIAWIKIDIR?= www/mediawiki
-OPTIONS= LDAP "Use LDAP authentication" off
+OPTIONS= PGSQL "Use PostgreSQL instead of MySQL (not funtional)" off \
+ LDAP "Use LDAP authentication" off
.include <bsd.port.pre.mk>
+.if defined(WITH_PGSQL)
+USE_PHP+= pgsql
+.else
+USE_PHP+= mysql
+.endif
+
.if defined(WITH_LDAP)
USE_PHP+= ldap
.endif