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 /sysutils | |
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 'sysutils')
-rw-r--r-- | sysutils/lire/Makefile | 4 | ||||
-rw-r--r-- | sysutils/munin-main/Makefile | 2 | ||||
-rw-r--r-- | sysutils/munin-master/Makefile | 2 | ||||
-rw-r--r-- | sysutils/munin-node/Makefile | 2 | ||||
-rw-r--r-- | sysutils/p5-BSD-Jail-Object/Makefile | 6 | ||||
-rw-r--r-- | sysutils/p5-BSD-Sysctl/Makefile | 8 | ||||
-rw-r--r-- | sysutils/p5-File-Next/Makefile | 8 | ||||
-rw-r--r-- | sysutils/p5-Schedule-Cron/Makefile | 8 | ||||
-rw-r--r-- | sysutils/p5-Sys-Filesystem/Makefile | 8 | ||||
-rw-r--r-- | sysutils/p5-Sys-Hostname-FQDN/Makefile | 13 | ||||
-rw-r--r-- | sysutils/p5-Sys-Hostname-Long/Makefile | 9 | ||||
-rw-r--r-- | sysutils/p5-Sysadm-Install/Makefile | 8 | ||||
-rw-r--r-- | sysutils/p5-Unix-Mknod/Makefile | 8 | ||||
-rw-r--r-- | sysutils/psgconf/Makefile | 4 | ||||
-rw-r--r-- | sysutils/rej/Makefile | 6 | ||||
-rw-r--r-- | sysutils/stalepid/Makefile | 6 | ||||
-rw-r--r-- | sysutils/sysgather/Makefile | 8 | ||||
-rw-r--r-- | sysutils/tenshi/Makefile | 4 | ||||
-rw-r--r-- | sysutils/ucspi-ipc/Makefile | 8 | ||||
-rw-r--r-- | sysutils/ucspi-ssl/Makefile | 8 |
20 files changed, 20 insertions, 110 deletions
diff --git a/sysutils/lire/Makefile b/sysutils/lire/Makefile index 61644f4cdf96..f40dcb0fc9e5 100644 --- a/sysutils/lire/Makefile +++ b/sysutils/lire/Makefile @@ -262,10 +262,6 @@ MAN7= lire.7 .include <bsd.port.pre.mk> -.if ${PERL_LEVEL} < 500600 -IGNORE= sysutils/lire requires are least Perl 5.6.1, while Perl 5.8.2 is recommended. Please install lang/perl5.8 -.endif - .ifdef(WITH_CHARTS) RUN_DEPENDS+= ploticus:${PORTSDIR}/math/ploticus-nox11 BUILD_DEPENDS+= ${SITE_PERL}/GD/Graph.pm:${PORTSDIR}/graphics/p5-GD-Graph diff --git a/sysutils/munin-main/Makefile b/sysutils/munin-main/Makefile index 4d06e51e3497..5b96be6b5dcc 100644 --- a/sysutils/munin-main/Makefile +++ b/sysutils/munin-main/Makefile @@ -16,6 +16,8 @@ DISTNAME= ${PORTNAME}_${PORTVERSION:S/.r/rc/} MAINTAINER= lupe@lupe-christoph.de COMMENT= Collector part of Munin +USE_PERL5= yes + RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/RRDs.pm:${PORTSDIR}/databases/rrdtool \ ${SITE_PERL}/Net/Domain.pm:${PORTSDIR}/net/p5-Net \ ${SITE_PERL}/HTML/Template.pm:${PORTSDIR}/www/p5-HTML-Template \ diff --git a/sysutils/munin-master/Makefile b/sysutils/munin-master/Makefile index 4d06e51e3497..5b96be6b5dcc 100644 --- a/sysutils/munin-master/Makefile +++ b/sysutils/munin-master/Makefile @@ -16,6 +16,8 @@ DISTNAME= ${PORTNAME}_${PORTVERSION:S/.r/rc/} MAINTAINER= lupe@lupe-christoph.de COMMENT= Collector part of Munin +USE_PERL5= yes + RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/RRDs.pm:${PORTSDIR}/databases/rrdtool \ ${SITE_PERL}/Net/Domain.pm:${PORTSDIR}/net/p5-Net \ ${SITE_PERL}/HTML/Template.pm:${PORTSDIR}/www/p5-HTML-Template \ diff --git a/sysutils/munin-node/Makefile b/sysutils/munin-node/Makefile index 90833815d0aa..43159151e528 100644 --- a/sysutils/munin-node/Makefile +++ b/sysutils/munin-node/Makefile @@ -16,6 +16,8 @@ DISTNAME= ${PORTNAME}_${PORTVERSION:S/.r/rc/} MAINTAINER= lupe@lupe-christoph.de COMMENT= Node-specific part of Munin +USE_PERL5= yes + RUN_DEPENDS= ${SITE_PERL}/Net/Server/Fork.pm:${PORTSDIR}/net/p5-Net-Server BUILD_DEPENDS= ${RUN_DEPENDS} diff --git a/sysutils/p5-BSD-Jail-Object/Makefile b/sysutils/p5-BSD-Jail-Object/Makefile index 8c4b653a37d5..82d4597f91e4 100644 --- a/sysutils/p5-BSD-Jail-Object/Makefile +++ b/sysutils/p5-BSD-Jail-Object/Makefile @@ -18,16 +18,12 @@ COMMENT= An object oriented perl interface to jail(2) BUILD_DEPENDS=\ ${SITE_PERL}/Inline.pm:${PORTSDIR}/devel/p5-Inline -PERL_CONFIGURE= yes +PERL_CONFIGURE= 5.8.6+ MAN3= BSD::Jail::Object.3 .include <bsd.port.pre.mk> -.if ${PERL_LEVEL} < 500806 -IGNORE= requires perl 5.8.6 or later. Install lang/perl5.8 then try again -.endif - .if ${OSVERSION} < 503100 # ref: jail.h v1.17 IGNORE= require xprison structure defined .endif diff --git a/sysutils/p5-BSD-Sysctl/Makefile b/sysutils/p5-BSD-Sysctl/Makefile index 905b28f60f81..599382c83005 100644 --- a/sysutils/p5-BSD-Sysctl/Makefile +++ b/sysutils/p5-BSD-Sysctl/Makefile @@ -19,10 +19,4 @@ PERL_CONFIGURE= yes MAN3= BSD::Sysctl.3 -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500600 -IGNORE= requires perl 5.6.0 or higher. Please install lang/perl5.8 and try again -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/sysutils/p5-File-Next/Makefile b/sysutils/p5-File-Next/Makefile index d3660544df70..45c95edd6a43 100644 --- a/sysutils/p5-File-Next/Makefile +++ b/sysutils/p5-File-Next/Makefile @@ -21,10 +21,4 @@ PERL_CONFIGURE= yes MAN3= File::Next.3 -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500601 -IGNORE= requires perl 5.6.x or later. Install lang/perl5.8 then try again -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/sysutils/p5-Schedule-Cron/Makefile b/sysutils/p5-Schedule-Cron/Makefile index 6225f411c4c6..f87bd74606c9 100644 --- a/sysutils/p5-Schedule-Cron/Makefile +++ b/sysutils/p5-Schedule-Cron/Makefile @@ -22,10 +22,4 @@ PERL_CONFIGURE= yes MAN3= Schedule::Cron.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/sysutils/p5-Sys-Filesystem/Makefile b/sysutils/p5-Sys-Filesystem/Makefile index 07e40671a8d9..0ac5038d366e 100644 --- a/sysutils/p5-Sys-Filesystem/Makefile +++ b/sysutils/p5-Sys-Filesystem/Makefile @@ -29,10 +29,4 @@ MAN3= Sys::Filesystem::Mswin32.3 \ Sys::Filesystem::Freebsd.3 \ Sys::Filesystem::Solaris.3 -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500600 -IGNORE= requires perl 5.6.x or later. Install lang/perl5 then try again -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/sysutils/p5-Sys-Hostname-FQDN/Makefile b/sysutils/p5-Sys-Hostname-FQDN/Makefile index e4e44c883ff1..ed8713d3a941 100644 --- a/sysutils/p5-Sys-Hostname-FQDN/Makefile +++ b/sysutils/p5-Sys-Hostname-FQDN/Makefile @@ -19,15 +19,4 @@ PERL_CONFIGURE= yes MAN3= Sys::Hostname::FQDN.3 -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500600 -IGNORE= requires at least Perl 5.6 due to dependencies. Please install lang/perl5.8 and try again -.endif - -.if ${PERL_LEVEL} < 500601 -BUILD_DEPENDS+= ${SITE_PERL}/base.pm:${PORTSDIR}/devel/p5-Class-Fields -RUN_DEPENDS+= ${SITE_PERL}/base.pm:${PORTSDIR}/devel/p5-Class-Fields -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/sysutils/p5-Sys-Hostname-Long/Makefile b/sysutils/p5-Sys-Hostname-Long/Makefile index 107b093ab4d4..74d3fe80edb3 100644 --- a/sysutils/p5-Sys-Hostname-Long/Makefile +++ b/sysutils/p5-Sys-Hostname-Long/Makefile @@ -19,11 +19,4 @@ PERL_CONFIGURE= yes MAN3= Sys::Hostname::Long.3 -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500600 -post-patch: - @${PERL} -i -pe 's/}\(/}->(/' ${WRKSRC}/lib/Sys/Hostname/Long.pm -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/sysutils/p5-Sysadm-Install/Makefile b/sysutils/p5-Sysadm-Install/Makefile index 16d4d3d876b1..670e8df444c9 100644 --- a/sysutils/p5-Sysadm-Install/Makefile +++ b/sysutils/p5-Sysadm-Install/Makefile @@ -34,10 +34,4 @@ PERL_CONFIGURE= yes MAN3= Sysadm::Install.3 -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500600 -IGNORE= requires Perl 5.6.0 or superior. Install lang/perl5.6 and try again -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/sysutils/p5-Unix-Mknod/Makefile b/sysutils/p5-Unix-Mknod/Makefile index b51604ec1836..6ff2f267fcf8 100644 --- a/sysutils/p5-Unix-Mknod/Makefile +++ b/sysutils/p5-Unix-Mknod/Makefile @@ -19,10 +19,4 @@ PERL_CONFIGURE= yes MAN3= Unix::Mknod.3 -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500600 -IGNORE= requires perl 5.6.x or later. Install lang/perl5 then try again -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/sysutils/psgconf/Makefile b/sysutils/psgconf/Makefile index 01d916d0b6a3..f0eab7e017bd 100644 --- a/sysutils/psgconf/Makefile +++ b/sysutils/psgconf/Makefile @@ -185,10 +185,6 @@ BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Net/FTP.pm:${PORTSDIR}/net/p5-Net .endif RUN_DEPENDS= ${BUILD_DEPENDS} -.if ${PERL_LEVEL} < 500600 -IGNORE= requires perl 5.6 or newer -.endif - PKGINSTALL= ${WRKSRC}/postinstall PKGDEINSTALL= ${WRKSRC}/postinstall diff --git a/sysutils/rej/Makefile b/sysutils/rej/Makefile index 1310d2d9da5e..051964d1fd10 100644 --- a/sysutils/rej/Makefile +++ b/sysutils/rej/Makefile @@ -15,7 +15,7 @@ MASTER_SITES= http://critical.ch/distfiles/ \ MAINTAINER= ehaupt@FreeBSD.org COMMENT= Merges patch-rejects and runs a merge program to verify the changes -USE_PERL5= yes +USE_PERL5= 5.8.6+ NO_BUILD= yes PORTDOCS= CHANGELOG README vimrc @@ -23,10 +23,6 @@ PLIST_FILES= bin/rej bin/rej-qp bin/rej-mp .include <bsd.port.pre.mk> -.if ${PERL_LEVEL} < 500806 -IGNORE= needs Perl 5.8.6 or above (lang/perl5.8) -.endif - post-patch: .for f in ${PORTNAME} qp mp @${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' \ diff --git a/sysutils/stalepid/Makefile b/sysutils/stalepid/Makefile index b6d70f456507..1dc6960cdedd 100644 --- a/sysutils/stalepid/Makefile +++ b/sysutils/stalepid/Makefile @@ -14,11 +14,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/pre/} MAINTAINER= roam@FreeBSD.org COMMENT= Check for stale pid files and remove them -.include <bsd.port.pre.mk> RUN_DEPENDS= ${SITE_PERL}/Error.pm:${PORTSDIR}/lang/p5-Error -.if ${PERL_LEVEL} < 500600 -RUN_DEPENDS+= ${SITE_PERL}/Errno.pm:${PORTSDIR}/devel/p5-Errno -.endif USE_PERL5_RUN= yes @@ -28,4 +24,4 @@ MAN1= stalepid.1 MANCOMPRESSED= yes PLIST_FILES= bin/stalepid -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/sysutils/sysgather/Makefile b/sysutils/sysgather/Makefile index d3026abbb95b..2557f4673de8 100644 --- a/sysutils/sysgather/Makefile +++ b/sysutils/sysgather/Makefile @@ -21,10 +21,4 @@ USE_PERL5= yes MAN1= sysgather.1 -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500600 -MAKE_ENV+= PODCHECKER=true PODCHECKER_ARGS= -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/sysutils/tenshi/Makefile b/sysutils/tenshi/Makefile index 275620aa4fe7..027af8c904e8 100644 --- a/sysutils/tenshi/Makefile +++ b/sysutils/tenshi/Makefile @@ -30,10 +30,6 @@ PORTDOCS= README Changelog .include <bsd.port.pre.mk> -.if ${PERL_LEVEL} < 500600 -IGNORE= requires are least Perl 5.6 -.endif - .if ${PERL_LEVEL} < 500800 RUN_DEPENDS+= ${SITE_PERL}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net .endif diff --git a/sysutils/ucspi-ipc/Makefile b/sysutils/ucspi-ipc/Makefile index 81251b531b8a..9de962bf327d 100644 --- a/sysutils/ucspi-ipc/Makefile +++ b/sysutils/ucspi-ipc/Makefile @@ -26,12 +26,6 @@ WRKSRC= ${WRKDIR}/host/superscript.com/net/${DISTNAME} do-configure: ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500600 -IGNORE= "requires Perl 5.6.0 or greater. Please install lang/perl5 and retry" -.endif - do-build: cd ${WRKSRC} && package/compile @@ -48,4 +42,4 @@ do-install: cd ${WRKSRC}/src && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/sysutils/ucspi-ssl/Makefile b/sysutils/ucspi-ssl/Makefile index f2e4d95a7f41..e25b61b0b13d 100644 --- a/sysutils/ucspi-ssl/Makefile +++ b/sysutils/ucspi-ssl/Makefile @@ -47,12 +47,6 @@ do-configure: ${ECHO_CMD} "/etc/ssl/cert.pem" > ${WRKSRC}/src/conf-cafile ${ECHO_CMD} "/etc/ssl/dh1024.pem" > ${WRKSRC}/src/conf-dhfile -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500600 -IGNORE= requires Perl 5.6.0 or greater. Please install lang/perl5 and retry -.endif - do-build: cd ${WRKSRC} && package/compile @@ -68,4 +62,4 @@ do-install: cd ${WRKSRC}/src && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |