- Add PostgreSQL support

PR:             ports/106559
Submitted by:   Gerrit Beine<gerrit.beine@gmx.de> (maintainer)
This commit is contained in:
Martin Wilke 2006-12-10 23:09:06 +00:00
parent 379c8a06c3
commit eb9ca73379
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179432

View file

@ -16,18 +16,27 @@ COMMENT= The wiki engine used by Wikipedia
CONFLICTS= mediawiki-1.[0-68-9].*
NO_LATEST_LINK= yes
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