aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-03-18 23:27:30 +0800
committervs <vs@FreeBSD.org>2005-03-18 23:27:30 +0800
commitd9cdbcb921f69bdfa38ef1d7994b5ed2e20ce391 (patch)
treee97c63f7ecd094ce0a1b6b72f371083cc9e86e03 /mail
parent82f02cf0b26011737d9b5478f5233dcc0b1082dd (diff)
downloadfreebsd-ports-gnome-d9cdbcb921f69bdfa38ef1d7994b5ed2e20ce391.tar.gz
freebsd-ports-gnome-d9cdbcb921f69bdfa38ef1d7994b5ed2e20ce391.tar.zst
freebsd-ports-gnome-d9cdbcb921f69bdfa38ef1d7994b5ed2e20ce391.zip
Add WITH_PGSQL-knob
PR: ports/78910 Submitted by: "leafy" Approved by: maintainer
Diffstat (limited to 'mail')
-rw-r--r--mail/postfixadmin/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/mail/postfixadmin/Makefile b/mail/postfixadmin/Makefile
index 499888384286..f5932f925853 100644
--- a/mail/postfixadmin/Makefile
+++ b/mail/postfixadmin/Makefile
@@ -14,7 +14,6 @@ EXTRACT_SUFX= .tgz
MAINTAINER= rob@debank.tv
COMMENT= PHP frontend to postfix and mySQL
-USE_PHP= mysql
WANT_PHP_PEAR= yes
NO_BUILD= yes
FETCH_SITE= http://high5.net/postfixadmin/download.php
@@ -22,6 +21,12 @@ FETCH_BEFORE_ARGS= -o ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
FETCH_CMD?= /usr/bin/fetch -AR
DISABLE_SIZE= yes
+.if defined (WITH_PGSQL)
+USE_PHP= pgsql
+.else
+USE_PHP= mysql
+.endif
+
do-fetch:
@${ECHO_MSG} ">> Attempting to fetch from ${FETCH_SITE}."
${FETCH_CMD} ${FETCH_BEFORE_ARGS} \