Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 2014 01:31:09 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r338738 - head/benchmarks/netperf
Message-ID:  <201401050131.s051V97H009623@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401050131.s051V97H009623>