svn commit: r338738 - head/benchmarks/netperf
Baptiste Daroussin
bapt at FreeBSD.org
Sun Jan 5 01:31:10 UTC 2014
Author: bapt
Date: Sun Jan 5 01:31:09 2014
New Revision: 338738
URL: http://svnweb.freebsd.org/changeset/ports/338738
Log:
Support stage
Modified:
head/benchmarks/netperf/Makefile
head/benchmarks/netperf/pkg-plist
Modified: head/benchmarks/netperf/Makefile
==============================================================================
--- head/benchmarks/netperf/Makefile Sun Jan 5 01:28:07 2014 (r338737)
+++ head/benchmarks/netperf/Makefile Sun Jan 5 01:31:09 2014 (r338738)
@@ -20,15 +20,14 @@ SOCKETS_DESC= Enable Unix Domain socket
HISTOGRAM_DESC= Enable optional histogram output
EXS_DESC= Enable ICSC async socket support
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
USE_CSTD= gnu89
GNU_CONFIGURE= yes
CONFIGURE_ENV= "transform="
CONFIGURE_ARGS= --program-prefix="" --program-suffix="" --enable-dirty \
--enable-demo --enable-burst --enable-intervals
+.include <bsd.port.options.mk>
+
.if ${PORT_OPTIONS:MSOCKETS}
CONFIGURE_ARGS+= --enable-unixdomain
.else
@@ -59,8 +58,6 @@ CONFIGURE_ARGS+= --enable-omni
CONFIGURE_ARGS+= --disable-omni
.endif
-MAN1= netperf.1 netserver.1
-INFO= netperf
SCRIPTS= arr_script packet_byte_script sctp_stream_script snapshot_script \
tcp_range_script tcp_rr_script tcp_stream_script udp_rr_script \
udp_stream_script
@@ -71,9 +68,9 @@ post-patch:
.endfor
post-install:
- ${MKDIR} ${EXAMPLESDIR}
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for i in ${SCRIPTS}
- ${INSTALL_SCRIPT} ${WRKSRC}/doc/examples/$i ${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/doc/examples/$i ${STAGEDIR}${EXAMPLESDIR}
.endfor
.include <bsd.port.mk>
Modified: head/benchmarks/netperf/pkg-plist
==============================================================================
--- head/benchmarks/netperf/pkg-plist Sun Jan 5 01:28:07 2014 (r338737)
+++ head/benchmarks/netperf/pkg-plist Sun Jan 5 01:31:09 2014 (r338738)
@@ -1,5 +1,7 @@
bin/netperf
bin/netserver
+man/man1/netperf.1.gz
+man/man1/netserver.1.gz
%%EXAMPLESDIR%%/arr_script
%%EXAMPLESDIR%%/packet_byte_script
%%EXAMPLESDIR%%/sctp_stream_script
More information about the svn-ports-all
mailing list