aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-03-22 09:49:01 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-03-22 09:49:01 +0800
commit4135f48278f6239f7be99cf1941d52f5531a2f1f (patch)
tree31dff5d39faa42f94fcaf79544a3a43cb37a448a /security
parent448849fc747a9a82cb020fb7b2d6cfaa5b5351b2 (diff)
downloadfreebsd-ports-gnome-4135f48278f6239f7be99cf1941d52f5531a2f1f.tar.gz
freebsd-ports-gnome-4135f48278f6239f7be99cf1941d52f5531a2f1f.tar.zst
freebsd-ports-gnome-4135f48278f6239f7be99cf1941d52f5531a2f1f.zip
- Add LICENSE_FILE
- Add NO_ARCH - Switch to options helpers
Diffstat (limited to 'security')
-rw-r--r--security/oinkmaster/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/security/oinkmaster/Makefile b/security/oinkmaster/Makefile
index 0627823a8afb..9ef82c5f2c8d 100644
--- a/security/oinkmaster/Makefile
+++ b/security/oinkmaster/Makefile
@@ -11,15 +11,15 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Help you update your snort rules after each update
LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget
-OPTIONS_DEFINE= DOCS
-
-NO_BUILD= yes
USES= perl5 shebangfix
USE_PERL5= run
SHEBANG_FILES= oinkmaster.pl
+NO_BUILD= yes
+NO_ARCH= yes
PLIST_FILES= bin/oinkmaster \
etc/oinkmaster.conf.sample \
@@ -27,10 +27,14 @@ PLIST_FILES= bin/oinkmaster \
PORTDOCS= README
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/oinkmaster.pl ${STAGEDIR}${PREFIX}/bin/oinkmaster
${INSTALL_DATA} ${WRKSRC}/oinkmaster.conf ${STAGEDIR}${PREFIX}/etc/oinkmaster.conf.sample
${INSTALL_MAN} ${WRKSRC}/oinkmaster.1 ${STAGEDIR}${PREFIX}/man/man1
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}