diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2013-03-05 17:07:43 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2013-03-05 17:07:43 +0000 |
commit | fb3520254ab73be0aad04c3a63b781750cf26b5b (patch) | |
tree | 268d74f9d8738f78b0c895672044611aa6343387 /www/bacula-web | |
parent | 4706739618b79681811e5b336a54032908638160 (diff) | |
download | ports-fb3520254ab73be0aad04c3a63b781750cf26b5b.tar.gz ports-fb3520254ab73be0aad04c3a63b781750cf26b5b.zip |
- Convert to OptionsNG
- Trim header
Reviewed by: beat, bapt, kwm
Notes
Notes:
svn path=/head/; revision=313460
Diffstat (limited to 'www/bacula-web')
-rw-r--r-- | www/bacula-web/Makefile | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/www/bacula-web/Makefile b/www/bacula-web/Makefile index 0c5c31c4bdc1..ca9dfdf9b412 100644 --- a/www/bacula-web/Makefile +++ b/www/bacula-web/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: bacula-web -# Date created: 28 April 2006 -# Whom: Dan Langille <dan@langille.org> -# +# Created by: Dan Langille <dan@langille.org> # $FreeBSD$ -# PORTNAME= bacula-web DISTVERSION= 1.38.9 @@ -21,13 +17,14 @@ NO_BUILD= yes USE_PHP= gd WANT_PHP_WEB= yes -OPTIONS= POSTGRESQL "Use PostgreSQL database instead of MySQL" on +OPTIONS_DEFINE= PGSQL +OPTIONS_DEFAULT= PGSQL SUB_FILES= pkg-message -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_POSTGRESQL) +.if ${PORT_OPTIONS:MPGSQL} USE_PGSQL= yes CONFIGURE_ARGS+= --with-postgresql=yes SUB_LIST+= REQ_PGSQL=postgresql @@ -57,4 +54,4 @@ do-install: post-install: @${CAT} ${PKGMESSAGE} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |