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 /security/webfwlog/Makefile | |
parent | 4706739618b79681811e5b336a54032908638160 (diff) | |
download | ports-fb3520254ab73be0aad04c3a63b781750cf26b5b.tar.gz ports-fb3520254ab73be0aad04c3a63b781750cf26b5b.zip |
Notes
Diffstat (limited to 'security/webfwlog/Makefile')
-rw-r--r-- | security/webfwlog/Makefile | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/security/webfwlog/Makefile b/security/webfwlog/Makefile index 0f4275c70679..31e6cbb6b225 100644 --- a/security/webfwlog/Makefile +++ b/security/webfwlog/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: webfwlog -# Date created: 21 November 2004 -# Whom: Bob Hockney <zeus@ix.netcom.com> -# +# Created by: Bob Hockney <zeus@ix.netcom.com> # $FreeBSD$ -# PORTNAME= webfwlog PORTVERSION= 0.94 @@ -17,8 +13,8 @@ PATCH_SITES= http://devel.webfwlog.net/download/patches/ MAINTAINER= zeus@ix.netcom.com COMMENT= A web-based firewall log analyzer -OPTIONS= MYSQL "Include MySQL Support" on \ - PGSQL "Include PostgreSQL Support" off +OPTIONS_DEFINE= MYSQL PGSQL EXAMPLES +OPTIONS_DEFAULTS= MYSQL GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-html-doc-root=${PREFIX} @@ -36,13 +32,13 @@ PORTEXAMPLES= * .include <bsd.port.options.mk> -.if defined(WITH_MYSQL) +.if ${PORT_OPTIONS:MMYSQL} USE_PHP+= mysql USE_MYSQL= yes CONFIGURE_ARGS+= --with-mysql .endif -.if defined(WITH_PGSQL) +.if ${PORT_OPTIONS:MPGSQL} USE_PHP+= pgsql USE_PGSQL= yes CONFIGURE_ARGS+= --with-pgsql @@ -61,7 +57,7 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/webfwlog/index.php ${WWWDIR} post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR}/mysql @${MKDIR} ${DOCSDIR}/pgsql @(cd ${WRKSRC}/mysql/ && ${COPYTREE_SHARE} \* ${DOCSDIR}/mysql/) @@ -71,7 +67,7 @@ post-install: .endfor .endif -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} .endif |