aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>