svn commit: r346287 - head/security/snort-rep
Emanuel Haupt
ehaupt at FreeBSD.org
Thu Feb 27 09:13:35 UTC 2014
Author: ehaupt
Date: Thu Feb 27 09:13:34 2014
New Revision: 346287
URL: http://svnweb.freebsd.org/changeset/ports/346287
QAT: https://qat.redports.org/buildarchive/r346287/
Log:
- Support staging
- Define EXAMPLES option
Modified:
head/security/snort-rep/Makefile
head/security/snort-rep/pkg-plist
Modified: head/security/snort-rep/Makefile
==============================================================================
--- head/security/snort-rep/Makefile Thu Feb 27 09:10:24 2014 (r346286)
+++ head/security/snort-rep/Makefile Thu Feb 27 09:13:34 2014 (r346287)
@@ -10,19 +10,18 @@ MASTER_SITES= http://david.schweikert.ch
MAINTAINER= ports at 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>
Modified: head/security/snort-rep/pkg-plist
==============================================================================
--- head/security/snort-rep/pkg-plist Thu Feb 27 09:10:24 2014 (r346286)
+++ head/security/snort-rep/pkg-plist Thu Feb 27 09:13:34 2014 (r346287)
@@ -1,3 +1,4 @@
bin/snort-rep
+man/man1/snort-rep.1.gz
%%EXAMPLESDIR%%/snort-rep-mail
@dirrm share/examples/snort-rep
More information about the svn-ports-all
mailing list