svn commit: r345845 - head/net/netstrain
Emanuel Haupt
ehaupt at FreeBSD.org
Mon Feb 24 13:50:57 UTC 2014
Author: ehaupt
Date: Mon Feb 24 13:50:56 2014
New Revision: 345845
URL: http://svnweb.freebsd.org/changeset/ports/345845
QAT: https://qat.redports.org/buildarchive/r345845/
Log:
Support staging
Deleted:
head/net/netstrain/pkg-plist
Modified:
head/net/netstrain/Makefile
Modified: head/net/netstrain/Makefile
==============================================================================
--- head/net/netstrain/Makefile Mon Feb 24 13:49:02 2014 (r345844)
+++ head/net/netstrain/Makefile Mon Feb 24 13:50:56 2014 (r345845)
@@ -9,17 +9,17 @@ MASTER_SITES= SF
MAINTAINER= jmohacsi at 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>
More information about the svn-ports-all
mailing list