mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Add WITH_PGSQL-knob
PR: ports/78910 Submitted by: "leafy" Approved by: maintainer
This commit is contained in:
parent
d570fa33aa
commit
7662905002
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=131567
@ -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} \
|
||||
|
Loading…
Reference in New Issue
Block a user