From abb21dae965773da01f033f0cdf164026f167320 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Mon, 24 Feb 2014 13:50:56 +0000 Subject: [PATCH] Support staging --- net/netstrain/Makefile | 18 +++++++++--------- net/netstrain/pkg-plist | 4 ---- 2 files changed, 9 insertions(+), 13 deletions(-) delete mode 100644 net/netstrain/pkg-plist 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 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%%