aboutsummaryrefslogtreecommitdiff
path: root/security/snortreport
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-06-28 14:00:45 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-06-28 14:00:45 +0000
commitdca255c3cec21c0c66003eb626763c7fdc2cb59a (patch)
treee6eac391e081f99a997be8b0d8e036d22d5fe2a9 /security/snortreport
parent4973e5b396de5fdc84495adcdcb1f40854c8ebcd (diff)
Notes
Diffstat (limited to 'security/snortreport')
-rw-r--r--security/snortreport/Makefile17
1 files changed, 4 insertions, 13 deletions
diff --git a/security/snortreport/Makefile b/security/snortreport/Makefile
index e212725abb77..7827b6335f58 100644
--- a/security/snortreport/Makefile
+++ b/security/snortreport/Makefile
@@ -18,23 +18,16 @@ JPGRAPH_DESC= Graphical charting
BARNYARD_RUN_DEPENDS= barnyard2:security/barnyard2
JPGRAPH_RUN_DEPENDS= ${LOCALBASE}/share/jpgraph/jpgraph.php:graphics/jpgraph2
-.include <bsd.port.options.mk>
NO_BUILD= yes
SUB_FILES= pkg-message
PORTDOCS= INSTALL Performance.txt create_indexes.sql
FTYPES= css html js php phps png sample
-USE_PHP= yes
-WANT_PHP_WEB= yes
+USES= php:web
-.if ${PORT_OPTIONS:MMYSQL}
-USE_PHP+= mysql
-.endif
-
-.if ${PORT_OPTIONS:MPGSQL}
-USE_PHP+= pgsql
-.endif
+MYSQL_USE= php=mysql
+PGSQL_USE= php=pgsql
pre-everything::
@${ECHO} ""
@@ -50,10 +43,8 @@ do-install:
${INSTALL} -o ${WWWOWN} -g ${WWWGRP} -m 750 -d ${STAGEDIR}${WWWDIR}
${INSTALL_DATA} ${FTYPES:S|^|${WRKSRC}/*|} ${STAGEDIR}${WWWDIR}
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>