aboutsummaryrefslogtreecommitdiffstats
path: root/net/netstrain
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-24 21:50:56 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-24 21:50:56 +0800
commitf7fa4011322334e2d7c3401107346e6b15ed8cb8 (patch)
tree23b6f6d7437a6ba4d2cb6b29f73d6f2c1520e91d /net/netstrain
parentaff4526601b40f36b03eba0fd7a736d3258f1508 (diff)
downloadfreebsd-ports-gnome-f7fa4011322334e2d7c3401107346e6b15ed8cb8.tar.gz
freebsd-ports-gnome-f7fa4011322334e2d7c3401107346e6b15ed8cb8.tar.zst
freebsd-ports-gnome-f7fa4011322334e2d7c3401107346e6b15ed8cb8.zip
Support staging
Diffstat (limited to 'net/netstrain')
-rw-r--r--net/netstrain/Makefile18
-rw-r--r--net/netstrain/pkg-plist4
2 files changed, 9 insertions, 13 deletions
diff --git a/net/netstrain/Makefile b/net/netstrain/Makefile
index 42ded0d06a1e..74f14669f7b4 100644
--- a/net/netstrain/Makefile
+++ b/net/netstrain/Makefile
@@ -9,17 +9,17 @@ MASTER_SITES= SF
MAINTAINER= jmohacsi@bsd.hu
COMMENT= Tool to measure practical TCP throughput between two machines
-DOC_FILES= README
+PLIST_FILES= bin/netstrain bin/netstraind
+PORTDOCS= README
+
+OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/netstrain ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/netstraind ${PREFIX}/bin
-.ifndef(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-.for i in ${DOC_FILES}
- @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/netstrain ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/netstraind ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for i in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>
diff --git a/net/netstrain/pkg-plist b/net/netstrain/pkg-plist
deleted file mode 100644
index 5e17cf34089b..000000000000
--- a/net/netstrain/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/netstrain
-bin/netstraind
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%