summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-09-23 19:06:06 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-09-23 19:06:06 +0000
commit784f47daef674f92aefd2c3684c5583b04324d16 (patch)
tree83af10560c4cfb3110a3c4ec855a837a8626d73d
parent- fix perl compatibility with getopt (diff)
- Remove leading indefinite article from COMMENT
- Remove LICENSE_FILE for well-known licenses - Add OPTIONS_DEFINE - Support STAGEDIR - Take maintainership
-rw-r--r--security/snoopy/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/security/snoopy/Makefile b/security/snoopy/Makefile
index c9c877fdbf36..36bd42ecc981 100644
--- a/security/snoopy/Makefile
+++ b/security/snoopy/Makefile
@@ -6,19 +6,19 @@ PORTVERSION= 1.8.0
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}logger/
-MAINTAINER= ports@FreeBSD.org
-COMMENT= An execve() wrapper and logger
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= execve() wrapper and logger
LICENSE= GPLv2
-LICENSE_FILE= ${WRKSRC}/COPYING
+
+OPTIONS_DEFINE= DOCS
PLIST_FILES= lib/snoopy.so bin/detect
PORTDOCS= README
-USES= gmake
GNU_CONFIGURE= yes
+USES= gmake
-NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
@@ -26,11 +26,11 @@ post-patch:
@${REINPLACE_CMD} '/^LIBS.*/d' ${WRKSRC}/Makefile.in
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/snoopy.so ${PREFIX}/lib
- ${INSTALL_PROGRAM} ${WRKSRC}/detect ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/detect ${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/snoopy.so ${STAGEDIR}${PREFIX}/lib/
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}/
+ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
.endif
.include <bsd.port.mk>