diff options
author | linimon <linimon@FreeBSD.org> | 2007-03-06 14:54:19 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2007-03-06 14:54:19 +0800 |
commit | 144d68c6e6f6189d13ff54c84b1b9055aa8087da (patch) | |
tree | 9dfdb42ead5000a9895d96f1ce7060b2d2c23421 /www/bacula-web | |
parent | c9f8aacf34bae745915c1c9480ba3f9922f19a67 (diff) | |
download | freebsd-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/Makefile | 7 |
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 |