aboutsummaryrefslogtreecommitdiffstats
path: root/net/tcpsplit
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-25 16:28:38 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-25 16:28:38 +0800
commite0d53b201dea5b4d14c89b2c1de38ebc368be528 (patch)
tree90eb406ca665128a4f7e4b20f820a4e29d698b67 /net/tcpsplit
parentc20db31e6a893bceeae9540cd75aa8f8940d5398 (diff)
downloadfreebsd-ports-gnome-e0d53b201dea5b4d14c89b2c1de38ebc368be528.tar.gz
freebsd-ports-gnome-e0d53b201dea5b4d14c89b2c1de38ebc368be528.tar.zst
freebsd-ports-gnome-e0d53b201dea5b4d14c89b2c1de38ebc368be528.zip
Support staging
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>