aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-24 13:50:56 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-24 13:50:56 +0000
commitabb21dae965773da01f033f0cdf164026f167320 (patch)
tree23b6f6d7437a6ba4d2cb6b29f73d6f2c1520e91d /net
parentbff0250c8c39918898f40516756c4eb5183ce2ea (diff)
downloadports-abb21dae965773da01f033f0cdf164026f167320.tar.gz
ports-abb21dae965773da01f033f0cdf164026f167320.zip
Support staging
Notes
Notes: svn path=/head/; revision=345845
Diffstat (limited to 'net')
-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%%