aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/nuttcp
diff options
context:
space:
mode:
authorAndrej Zverev <az@FreeBSD.org>2013-09-15 08:15:41 +0000
committerAndrej Zverev <az@FreeBSD.org>2013-09-15 08:15:41 +0000
commitd6908e9cb15fa8933765f874067d539f27ce0c1d (patch)
treeaf86ab3d72d9e9f6d9b0c530d4f6c6f8cf680ad5 /benchmarks/nuttcp
parentdcf99688a1711ab176bca363f8d11b57acb961ac (diff)
downloadports-d6908e9cb15fa8933765f874067d539f27ce0c1d.tar.gz
ports-d6908e9cb15fa8933765f874067d539f27ce0c1d.zip
- convert to the new perl5 framework
- convert USE_GMAKE to Uses Approved by: portmgr (bapt@, blanket)
Notes
Notes: svn path=/head/; revision=327334
Diffstat (limited to 'benchmarks/nuttcp')
-rw-r--r--benchmarks/nuttcp/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/benchmarks/nuttcp/Makefile b/benchmarks/nuttcp/Makefile
index 0221bf9c7c36..0f819cd84511 100644
--- a/benchmarks/nuttcp/Makefile
+++ b/benchmarks/nuttcp/Makefile
@@ -14,7 +14,6 @@ MAINTAINER= andrewclarkii@gmail.com
COMMENT= TCP/UDP network testing tool
USE_BZIP2= yes
-WANT_PERL= yes
MAKEFILE= /dev/null
ALL_TARGET= ${PORTNAME}
MAN8= ${PORTNAME}.8
@@ -27,15 +26,17 @@ OPTIONS_DEFAULT= NUTTSCP
NUTTSCP_DESC= Install script for copying files over nuttcp
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNUTTSCP}
-USE_PERL5= yes
+USES+= perl5
PLIST_SUB+= NUTTSCP=""
.else
PLIST_SUB+= NUTTSCP="@comment "
.endif
+.include <bsd.port.pre.mk>
+
post-extract: .SILENT
${CP} ${DISTDIR}/${DIST_SUBDIR}/${NUTTSCPDISTFILE} ${WRKDIR}/nuttscp