aboutsummaryrefslogtreecommitdiff
path: root/net/tcpsplit
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-25 08:28:38 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-25 08:28:38 +0000
commit181de60a81995c3f19c891749d20b82d09868a83 (patch)
tree90eb406ca665128a4f7e4b20f820a4e29d698b67 /net/tcpsplit
parente5e0ce74a09193f7c7e9589b7321753ae7086911 (diff)
downloadports-181de60a81995c3f19c891749d20b82d09868a83.tar.gz
ports-181de60a81995c3f19c891749d20b82d09868a83.zip
Support staging
Notes
Notes: svn path=/head/; revision=345924
Diffstat (limited to 'net/tcpsplit')
-rw-r--r--net/tcpsplit/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/net/tcpsplit/Makefile b/net/tcpsplit/Makefile
index d35cba8dad2b..c6e092f156fe 100644
--- a/net/tcpsplit/Makefile
+++ b/net/tcpsplit/Makefile
@@ -14,19 +14,14 @@ LICENSE= MIT
PLIST_FILES= bin/tcpsplit
PORTDOCS= README
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -E '/^(CC|CFLAGS|INC|LD)/d' ${WRKSRC}/Makefile
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/tcpsplit ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/tcpsplit ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>