diff options
author | linimon <linimon@FreeBSD.org> | 2007-09-08 09:12:10 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2007-09-08 09:12:10 +0800 |
commit | 9ccc7e92dea72d32d4ae04470bbce43e6f9227da (patch) | |
tree | 20264757b2346c435477e3f6cfdf324086bbafe9 /net-mgmt | |
parent | 07d9e093a64a0c7f96ed0775d50e0f818d98fd80 (diff) | |
download | freebsd-ports-gnome-9ccc7e92dea72d32d4ae04470bbce43e6f9227da.tar.gz freebsd-ports-gnome-9ccc7e92dea72d32d4ae04470bbce43e6f9227da.tar.zst freebsd-ports-gnome-9ccc7e92dea72d32d4ae04470bbce43e6f9227da.zip |
Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.
Work done by: gabor
Sponsored by: Google Summer of Code 2007
Hat: portmgr
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/asused/Makefile | 9 | ||||
-rw-r--r-- | net-mgmt/ifgraph/Makefile | 15 | ||||
-rw-r--r-- | net-mgmt/nagios/Makefile | 6 | ||||
-rw-r--r-- | net-mgmt/nagios2/Makefile | 6 | ||||
-rw-r--r-- | net-mgmt/nav/Makefile | 4 | ||||
-rw-r--r-- | net-mgmt/netspoc/Makefile | 8 | ||||
-rw-r--r-- | net-mgmt/nfsen/Makefile | 8 | ||||
-rw-r--r-- | net-mgmt/p5-NSNMP/Makefile | 10 | ||||
-rw-r--r-- | net-mgmt/p5-Net-IP-Match-Regexp/Makefile | 8 | ||||
-rw-r--r-- | net-mgmt/p5-Net-IP-Match-XS/Makefile | 8 | ||||
-rw-r--r-- | net-mgmt/p5-Net-IP-Resolver/Makefile | 8 | ||||
-rw-r--r-- | net-mgmt/p5-Net-Netmask/Makefile | 9 | ||||
-rw-r--r-- | net-mgmt/p5-Net-SNMP/Makefile | 3 | ||||
-rw-r--r-- | net-mgmt/p5-Net-SNMP3/Makefile | 12 | ||||
-rw-r--r-- | net-mgmt/p5-NetAddr-IP-Lite/Makefile | 8 | ||||
-rw-r--r-- | net-mgmt/p5-POE-Component-SNMP/Makefile | 8 | ||||
-rw-r--r-- | net-mgmt/pancho/Makefile | 1 | ||||
-rw-r--r-- | net-mgmt/torrus/Makefile | 6 |
18 files changed, 22 insertions, 115 deletions
diff --git a/net-mgmt/asused/Makefile b/net-mgmt/asused/Makefile index e028d181ec45..fc2e1f928731 100644 --- a/net-mgmt/asused/Makefile +++ b/net-mgmt/asused/Makefile @@ -15,19 +15,12 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}_whois_new_query_fix MAINTAINER= farrokhi@FreeBSD.org COMMENT= Command-line tool to run a check on the usage of the RIPE Whois DB -USE_PERL5= yes PERL_CONFIGURE= yes MAN1= asused.1 MAN3= ArinWhois.3 NCC::CountryCode.3 NCC::RipeDelegations.3 \ Net::RIPEWhois::in.3 Reg::Asused.3 RipeWhois.3 Whois.3 asused.3 -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500600 -IGNORE= requires at least Perl 5.6. Please install lang/perl5.8 and try again -.endif - post-patch: @${REINPLACE_CMD} -e 's|asused\.conf|${PREFIX}/etc/asused\.conf|g' \ ${WRKSRC}/asused.PL @@ -38,4 +31,4 @@ post-install: @${INSTALL_DATA} ${WRKSRC}/asused.conf ${PREFIX}/etc/asused.conf .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/net-mgmt/ifgraph/Makefile b/net-mgmt/ifgraph/Makefile index 5d358132cfa0..669b24d1e1a3 100644 --- a/net-mgmt/ifgraph/Makefile +++ b/net-mgmt/ifgraph/Makefile @@ -16,7 +16,8 @@ MAINTAINER= lth@FreeBSD.org COMMENT= Simple grapher of SNMP data with RRD RUN_DEPENDS= rrdtool:${PORTSDIR}/databases/rrdtool \ - p5-Color-Rgb>0:${PORTSDIR}/graphics/p5-Color-Rgb + p5-Color-Rgb>0:${PORTSDIR}/graphics/p5-Color-Rgb \ + ${SITE_PERL}/Net/SNMP.pm:${PORTSDIR}/net-mgmt/p5-Net-SNMP BUILD_DEPENDS= ${RUN_DEPENDS} USE_PERL5= yes @@ -77,14 +78,4 @@ post-install: @ ${CAT} ${PKGMESSAGE} .endif -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500600 -BUILD_DEPENDS+= ${SITE_PERL}/Net/SNMP.pm:${PORTSDIR}/net-mgmt/p5-Net-SNMP3 -RUN_DEPENDS+= ${SITE_PERL}/Net/SNMP.pm:${PORTSDIR}/net-mgmt/p5-Net-SNMP3 -.else -BUILD_DEPENDS+= ${SITE_PERL}/Net/SNMP.pm:${PORTSDIR}/net-mgmt/p5-Net-SNMP -RUN_DEPENDS+= ${SITE_PERL}/Net/SNMP.pm:${PORTSDIR}/net-mgmt/p5-Net-SNMP -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/net-mgmt/nagios/Makefile b/net-mgmt/nagios/Makefile index 3af17dd34620..1a8000bd17f9 100644 --- a/net-mgmt/nagios/Makefile +++ b/net-mgmt/nagios/Makefile @@ -92,13 +92,9 @@ SUB_LIST= PREFIX=${PREFIX} \ ${PLIST_SUB} .if defined(WITH_EMBEDDED_PERL) -.if ${PERL_LEVEL} >= 500800 -USE_PERL5= yes +USE_PERL5= 5.8.0+ CONFIGURE_ARGS+= --enable-embedded-perl \ --with-perlcache -.else -IGNORE= embedded Perl requires Perl 5.8 or higher (see lang/perl5.8) -.endif PLIST_SUB+= EMBEDDED_PERL="" .else PLIST_SUB+= EMBEDDED_PERL="@comment " diff --git a/net-mgmt/nagios2/Makefile b/net-mgmt/nagios2/Makefile index 3af17dd34620..1a8000bd17f9 100644 --- a/net-mgmt/nagios2/Makefile +++ b/net-mgmt/nagios2/Makefile @@ -92,13 +92,9 @@ SUB_LIST= PREFIX=${PREFIX} \ ${PLIST_SUB} .if defined(WITH_EMBEDDED_PERL) -.if ${PERL_LEVEL} >= 500800 -USE_PERL5= yes +USE_PERL5= 5.8.0+ CONFIGURE_ARGS+= --enable-embedded-perl \ --with-perlcache -.else -IGNORE= embedded Perl requires Perl 5.8 or higher (see lang/perl5.8) -.endif PLIST_SUB+= EMBEDDED_PERL="" .else PLIST_SUB+= EMBEDDED_PERL="@comment " diff --git a/net-mgmt/nav/Makefile b/net-mgmt/nav/Makefile index 0cdfb6c84842..a2c99eade8e8 100644 --- a/net-mgmt/nav/Makefile +++ b/net-mgmt/nav/Makefile @@ -81,10 +81,6 @@ PKGDEINSTALL= ${PKGDIR}/pkg-install .include <bsd.port.pre.mk> -.if ${PERL_LEVEL} < 500600 -IGNORE= This port requires perl 5.6 or newer -.endif - post-patch: @(${FIND} ${WRKSRC} -name '*.py' -print0 | \ ${ENV} PYTHON_CMD=${PYTHON_CMD} \ diff --git a/net-mgmt/netspoc/Makefile b/net-mgmt/netspoc/Makefile index 1b48bf25ee04..5f5de70b4e0b 100644 --- a/net-mgmt/netspoc/Makefile +++ b/net-mgmt/netspoc/Makefile @@ -20,12 +20,6 @@ NO_BUILD= yes MAN1= netspoc.1 DOCS= CSPM.html NEWS.html index.html language.html netspoc.html -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500600 -IGNORE= "This port needs Perl 5.6.0 or greater" -.endif - do-install: ${INSTALL_SCRIPT} ${WRKSRC}/netspoc ${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/Netspoc.pm ${PREFIX}/bin @@ -37,4 +31,4 @@ do-install: .endfor .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/net-mgmt/nfsen/Makefile b/net-mgmt/nfsen/Makefile index 4ccbe861d967..b3a4938653ee 100644 --- a/net-mgmt/nfsen/Makefile +++ b/net-mgmt/nfsen/Makefile @@ -26,12 +26,6 @@ NO_BUILD= yes PLIST_SUB+= PORTNAME=${PORTNAME} USE_RC_SUBR= nfsen.sh -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500600 -IGNORE= requires at least perl 5.6.0 -.endif - pre-everything:: @${ECHO_MSG} "" @${ECHO_MSG} "*****************************************************" @@ -63,4 +57,4 @@ do-install: @${ECHO_MSG} "Configure your ${LOCALBASE}/etc/nfsen.conf to have necessary sources "; @${ECHO_MSG} "Then run 'nfsen -R ${LOCALBASE}/etc/nfsen.conf' to correctly setup source, RRD, and profile files"; -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/net-mgmt/p5-NSNMP/Makefile b/net-mgmt/p5-NSNMP/Makefile index bf7a9975636b..31441af4b42f 100644 --- a/net-mgmt/p5-NSNMP/Makefile +++ b/net-mgmt/p5-NSNMP/Makefile @@ -15,15 +15,9 @@ PKGNAMEPREFIX= p5- MAINTAINER= tobez@FreeBSD.org COMMENT= NSNMP - fast, flexible, low-level, pure-Perl SNMP library -PERL_CONFIGURE= yes +PERL_CONFIGURE= 5.8.0+ MAN3= NSNMP.3 \ NSNMP::Simple.3 -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500800 -IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 and try again -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/net-mgmt/p5-Net-IP-Match-Regexp/Makefile b/net-mgmt/p5-Net-IP-Match-Regexp/Makefile index aa0dd04f0870..4831f309e763 100644 --- a/net-mgmt/p5-Net-IP-Match-Regexp/Makefile +++ b/net-mgmt/p5-Net-IP-Match-Regexp/Makefile @@ -22,10 +22,4 @@ PERL_MODBUILD= yes MAN3= Net::IP::Match::Regexp.3 -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500600 -IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/net-mgmt/p5-Net-IP-Match-XS/Makefile b/net-mgmt/p5-Net-IP-Match-XS/Makefile index 07f184b22b03..5c0dbffb682e 100644 --- a/net-mgmt/p5-Net-IP-Match-XS/Makefile +++ b/net-mgmt/p5-Net-IP-Match-XS/Makefile @@ -19,10 +19,4 @@ PERL_CONFIGURE= yes MAN3= Net::IP::Match::XS.3 -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500601 -IGNORE= requires perl 5.6.1 or later. Install lang/perl5.8 and try again -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/net-mgmt/p5-Net-IP-Resolver/Makefile b/net-mgmt/p5-Net-IP-Resolver/Makefile index 2dc297d3db37..cc8e4baf9bf4 100644 --- a/net-mgmt/p5-Net-IP-Resolver/Makefile +++ b/net-mgmt/p5-Net-IP-Resolver/Makefile @@ -23,10 +23,4 @@ PERL_CONFIGURE= yes MAN3= Net::IP::Resolver.3 -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500601 -IGNORE= requires perl 5.6.1 or later. Install lang/perl5.8 and try again -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/net-mgmt/p5-Net-Netmask/Makefile b/net-mgmt/p5-Net-Netmask/Makefile index f6269b59dd04..c81f9ac40504 100644 --- a/net-mgmt/p5-Net-Netmask/Makefile +++ b/net-mgmt/p5-Net-Netmask/Makefile @@ -19,11 +19,4 @@ PERL_CONFIGURE= yes MAN3= Net::Netmask.3 -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} <= 500503 -post-configure: - ${PERL} -pi -e '$$_="" if /use warnings/;' ${WRKSRC}/Netmask.pm -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/net-mgmt/p5-Net-SNMP/Makefile b/net-mgmt/p5-Net-SNMP/Makefile index 6e671fcb10b3..f61771091a8f 100644 --- a/net-mgmt/p5-Net-SNMP/Makefile +++ b/net-mgmt/p5-Net-SNMP/Makefile @@ -29,9 +29,6 @@ MAN3= Net::SNMP.3 .include <bsd.port.pre.mk> -.if ${PERL_LEVEL} < 500600 -IGNORE= requires perl 5.6.x or later. Install lang/perl5 or lang/perl5.8 and try again -.endif .if ${PERL_LEVEL} < 500800 RUN_DEPENDS+= ${ARCH_PERL}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 .endif diff --git a/net-mgmt/p5-Net-SNMP3/Makefile b/net-mgmt/p5-Net-SNMP3/Makefile index 2f60510efc0d..4b01edabe920 100644 --- a/net-mgmt/p5-Net-SNMP3/Makefile +++ b/net-mgmt/p5-Net-SNMP3/Makefile @@ -17,14 +17,12 @@ MAINTAINER= lth@FreeBSD.org COMMENT= Net::SNMP for pre-5.6 perl CONFLICTS= p5-Net-SNMP -PERL_CONFIGURE= yes +PERL_CONFIGURE= 5.6.0- +USE_PERL5_REASON= This port is only for pre-5.6 perl. Install net-mgmt/p5-Net-SNMP instead MAN3= Net::SNMP.3 -.include <bsd.port.pre.mk> +DEPRECATED= only runs with old, unsupported Perl versions +EXPIRATION_DATE= 2007-09-11 -.if ${PERL_LEVEL} >= 500600 -IGNORE= This port is only for pre-5.6 perl. Install net-mgmt/p5-Net-SNMP instead. -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/net-mgmt/p5-NetAddr-IP-Lite/Makefile b/net-mgmt/p5-NetAddr-IP-Lite/Makefile index 3d14f57eaf5c..3e1ad6c026df 100644 --- a/net-mgmt/p5-NetAddr-IP-Lite/Makefile +++ b/net-mgmt/p5-NetAddr-IP-Lite/Makefile @@ -21,10 +21,4 @@ CONFIGURE_ARGS= -noxs MAN3= NetAddr::IP::UtilPP.3 NetAddr::IP::Util.3 NetAddr::IP::Lite.3 -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500601 -IGNORE= requires perl 5.6.1 or later. Install lang/perl5 then try again -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/net-mgmt/p5-POE-Component-SNMP/Makefile b/net-mgmt/p5-POE-Component-SNMP/Makefile index 2018d4cf4f38..81f5f391d685 100644 --- a/net-mgmt/p5-POE-Component-SNMP/Makefile +++ b/net-mgmt/p5-POE-Component-SNMP/Makefile @@ -27,10 +27,4 @@ MAN3= POE::Component::SNMP.3 post-patch: @${TOUCH} ${WRKSRC}/config.cache -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500600 # inherited from p5-Net-SNMP -IGNORE= requires at least Perl 5.6. Please install lang/perl5.8 and try again -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/net-mgmt/pancho/Makefile b/net-mgmt/pancho/Makefile index 03f267a6876b..802ebe949fd0 100644 --- a/net-mgmt/pancho/Makefile +++ b/net-mgmt/pancho/Makefile @@ -20,7 +20,6 @@ RUN_DEPENDS= ${SITE_PERL}/Net/SNMP.pm:${PORTSDIR}/net-mgmt/p5-Net-SNMP \ ${SITE_PERL}/Parallel/ForkManager.pm:${PORTSDIR}/devel/p5-Parallel-ForkManager WRKSRC= ${WRKDIR}/Pancho-${PORTVERSION} -USE_PERL5= YES PERL_CONFIGURE= YES MAN1= pancho.1 diff --git a/net-mgmt/torrus/Makefile b/net-mgmt/torrus/Makefile index 3ea40fac7c8d..630f791be015 100644 --- a/net-mgmt/torrus/Makefile +++ b/net-mgmt/torrus/Makefile @@ -42,7 +42,7 @@ RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2 \ ${SITE_PERL}/${PERL_ARCH}/APR/Request.pm:${PORTSDIR}/www/p5-libapreq2 .endif -USE_PERL5_RUN= YES +USE_PERL5_RUN= 5.8.1+ GNU_CONFIGURE= YES TORRUS_USER?= torrus @@ -65,10 +65,6 @@ MAN7= torrus_action_printemail.7 torrus_action_snmptrap.7 \ .include <bsd.port.pre.mk> -.if ${PERL_LEVEL} < 500801 -IGNORE= Port requires perl 5.8.1 or later. Install lang/perl5.8 then try again -.endif - pre-fetch: @${ECHO_CMD} PREFIX = ${PREFIX} @${ECHO_CMD} |