diff options
author | Wesley Shields <wxs@FreeBSD.org> | 2012-12-12 21:20:37 +0000 |
---|---|---|
committer | Wesley Shields <wxs@FreeBSD.org> | 2012-12-12 21:20:37 +0000 |
commit | d721ebb7f64cfd6bac1ece7133c8737442f56b3f (patch) | |
tree | 59afff4159fd900e4750b796133923a6dae0187d /benchmarks | |
parent | 4a42d19f121d6acd78caa0c0128eb4c77a35e98c (diff) | |
download | ports-d721ebb7f64cfd6bac1ece7133c8737442f56b3f.tar.gz ports-d721ebb7f64cfd6bac1ece7133c8737442f56b3f.zip |
Notes
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/nuttcp/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/benchmarks/nuttcp/Makefile b/benchmarks/nuttcp/Makefile index 82c5d12884d8..0221bf9c7c36 100644 --- a/benchmarks/nuttcp/Makefile +++ b/benchmarks/nuttcp/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: nuttcp -# Date Created: 17 Jul 2009 # Whom: Andy Clark <andrewclarkii@gmail.com> -# # $FreeBSD$ -# PORTNAME= nuttcp PORTVERSION= 6.1.2 @@ -26,11 +22,14 @@ MAN8= ${PORTNAME}.8 NUTTSCPVERSION= 1.7 NUTTSCPDISTFILE=nuttscp-${NUTTSCPVERSION} -OPTIONS= NUTTSCP "Install script for copying files over nuttcp" on +OPTIONS_DEFINE= NUTTSCP +OPTIONS_DEFAULT= NUTTSCP + +NUTTSCP_DESC= Install script for copying files over nuttcp .include <bsd.port.pre.mk> -.if defined(WITH_NUTTSCP) +.if ${PORT_OPTIONS:MNUTTSCP} USE_PERL5= yes PLIST_SUB+= NUTTSCP="" .else @@ -46,7 +45,7 @@ post-patch: .SILENT ${REINPLACE_CMD} 's|/usr/bin/perl|${PERL}|g' ${WRKDIR}/nuttscp do-install: -. if defined(WITH_NUTTSCP) +. if ${PORT_OPTIONS:MNUTTSCP} ${INSTALL_SCRIPT} ${WRKDIR}/nuttscp ${PREFIX}/bin/ ( cd ${PREFIX}/bin; ${LN} -sf nuttscp nuttrcp ) . endif |