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%%