aboutsummaryrefslogtreecommitdiffstats
path: root/www/bacula-web
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2007-03-06 14:54:19 +0800
committerlinimon <linimon@FreeBSD.org>2007-03-06 14:54:19 +0800
commit144d68c6e6f6189d13ff54c84b1b9055aa8087da (patch)
tree9dfdb42ead5000a9895d96f1ce7060b2d2c23421 /www/bacula-web
parentc9f8aacf34bae745915c1c9480ba3f9922f19a67 (diff)
downloadfreebsd-ports-gnome-144d68c6e6f6189d13ff54c84b1b9055aa8087da.tar.gz
freebsd-ports-gnome-144d68c6e6f6189d13ff54c84b1b9055aa8087da.tar.zst
freebsd-ports-gnome-144d68c6e6f6189d13ff54c84b1b9055aa8087da.zip
Use the new facility of bsd.port.mk to be able to simplify the interaction
of USE_PHP and OPTIONS. PR: ports/106557 Submitted by: ale Hat: portmgr
Diffstat (limited to 'www/bacula-web')
-rw-r--r--www/bacula-web/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/www/bacula-web/Makefile b/www/bacula-web/Makefile
index af392d7846bd..793f07052711 100644
--- a/www/bacula-web/Makefile
+++ b/www/bacula-web/Makefile
@@ -18,6 +18,7 @@ COMMENT= Bacula-web provides a summarized output of Bacula jobs
RUN_DEPENDS= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB
NO_BUILD= yes
+USE_PHP= yes
WANT_PHP_WEB= yes
OPTIONS= POSTGRESQL "Use PostgreSQL database instead of MySQL" on
@@ -30,16 +31,14 @@ SUB_FILES= pkg-message
USE_PGSQL= yes
CONFIGURE_ARGS+= --with-postgresql=yes
SUB_LIST+= REQ_PGSQL=postgresql
-USE_PHP= pgsql
+USE_PHP+= pgsql
.else
CONFIGURE_ARGS+= --with-mysql=yes
USE_MYSQL= yes
SUB_LIST+= REQ_MYSQL=mysql
-USE_PHP= mysql
+USE_PHP+= mysql
.endif
-.include "${PORTSDIR}/Mk/bsd.php.mk"
-
do-install:
@${ECHO} "Installing in ${PREFIX}/www/bacula-web"
${MKDIR} ${PREFIX}/www/bacula-web