aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-21 22:03:09 +0800
committermiwi <miwi@FreeBSD.org>2014-02-21 22:03:09 +0800
commit91e9e2b7661a40c378e800234805b18a29e3cf8e (patch)
tree57fb728354d0122fe289b247ac13dd6b9e175cc6
parentf381b9b9653da1ccc2392ca56246e26ee6279324 (diff)
downloadfreebsd-ports-gnome-91e9e2b7661a40c378e800234805b18a29e3cf8e.tar.gz
freebsd-ports-gnome-91e9e2b7661a40c378e800234805b18a29e3cf8e.tar.zst
freebsd-ports-gnome-91e9e2b7661a40c378e800234805b18a29e3cf8e.zip
- Stage support
-rw-r--r--net-mgmt/p0f/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/net-mgmt/p0f/Makefile b/net-mgmt/p0f/Makefile
index 26bd8c64c5e6..3dd07889496b 100644
--- a/net-mgmt/p0f/Makefile
+++ b/net-mgmt/p0f/Makefile
@@ -20,8 +20,6 @@ PORTDOCS= ChangeLog README TODO existential-notes.txt \
MAKE_ARGS+= CC="${CC}" CFLAGS="${CFLAGS}"
-NO_STAGE= yes
-
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
@@ -32,15 +30,12 @@ post-patch:
do-install:
.for ii in p0f tools/p0f-client tools/p0f-sendsyn tools/p0f-sendsyn6
- ${INSTALL_PROGRAM} ${WRKSRC}/${ii} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/${ii} ${STAGEDIR}${PREFIX}/bin
.endfor
- ${INSTALL_DATA} ${WRKSRC}/p0f.fp ${PREFIX}/etc/
-
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/p0f.fp ${STAGEDIR}${PREFIX}/etc/
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for ii in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/docs/${ii} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/${ii} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>