diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-27 17:13:34 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-27 17:13:34 +0800 |
commit | 42101be52fd82639228ba45e0bb2384cc5e062e6 (patch) | |
tree | cae718efcd08badd5d03a949c5cd46038770c0a7 | |
parent | 1affba9416126bac901cc484acf635508913342b (diff) | |
download | freebsd-ports-gnome-42101be52fd82639228ba45e0bb2384cc5e062e6.tar.gz freebsd-ports-gnome-42101be52fd82639228ba45e0bb2384cc5e062e6.tar.zst freebsd-ports-gnome-42101be52fd82639228ba45e0bb2384cc5e062e6.zip |
- Support staging
- Define EXAMPLES option
-rw-r--r-- | security/snort-rep/Makefile | 13 | ||||
-rw-r--r-- | security/snort-rep/pkg-plist | 1 |
2 files changed, 7 insertions, 7 deletions
diff --git a/security/snort-rep/Makefile b/security/snort-rep/Makefile index f2dc4592c606..a65e55e3645f 100644 --- a/security/snort-rep/Makefile +++ b/security/snort-rep/Makefile @@ -10,19 +10,18 @@ MASTER_SITES= http://david.schweikert.ch/software/snort-rep/pub/ MAINTAINER= ports@FreeBSD.org COMMENT= A Snort reporting tool that can produce text or HTML from logs -MAN1= snort-rep.1 USES= shebangfix perl5 SHEBANG_FILES= snort-rep snort-rep-mail -NO_STAGE= yes +OPTIONS_DEFINE= EXAMPLES + do-build: cd ${BUILD_WRKSRC} ; pod2man --lax snort-rep > snort-rep.1 do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/snort-rep ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/snort-rep.1 ${MAN1PREFIX}/man/man1 - ${MKDIR} ${PREFIX}/share/examples/snort-rep - ${INSTALL_SCRIPT} ${WRKSRC}/snort-rep-mail \ - ${PREFIX}/share/examples/snort-rep + ${INSTALL_SCRIPT} ${WRKSRC}/snort-rep ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/snort-rep.1 ${STAGEDIR}${MANPREFIX}/man/man1 + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/snort-rep-mail ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk> diff --git a/security/snort-rep/pkg-plist b/security/snort-rep/pkg-plist index bf3f12e5f70e..e514c92ec061 100644 --- a/security/snort-rep/pkg-plist +++ b/security/snort-rep/pkg-plist @@ -1,3 +1,4 @@ bin/snort-rep +man/man1/snort-rep.1.gz %%EXAMPLESDIR%%/snort-rep-mail @dirrm share/examples/snort-rep |