summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2013-11-19 12:52:15 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2013-11-19 12:52:15 +0000
commit073c4a6ea858b8bcb5f285a3b746833ba9af4241 (patch)
tree343b7c224a1bc8fc45334733a53a208e951071f8 /security
parentsecurity/lynis: Update to 1.3.5 (diff)
Support staging.
Notes
Notes: svn path=/head/; revision=334307
Diffstat (limited to 'security')
-rw-r--r--security/zombiezapper/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/security/zombiezapper/Makefile b/security/zombiezapper/Makefile
index a72746731f4e..5ae786c39256 100644
--- a/security/zombiezapper/Makefile
+++ b/security/zombiezapper/Makefile
@@ -22,7 +22,8 @@ LDFLAGS+= $$(${LIBNET_CONFIG} --libs)
PORTDOCS= USAGE tekpaper.txt
PLIST_FILES= bin/zz
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-build:
@@ -30,10 +31,10 @@ do-build:
${CC} ${CFLAGS} ${CPPFLAGS} -o zz zz.c ${LDFLAGS}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/zz ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/zz ${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>