diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2007-09-08 01:12:10 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2007-09-08 01:12:10 +0000 |
commit | 9839011ec3910790376ce9ace5e2a1c5bcb2781f (patch) | |
tree | 41c61966bf1404bd3cfce06493a35d6a1a4acfc6 /x11-toolkits | |
parent | 41a56135d1e8a68844e4c575702cdbad451d7322 (diff) | |
download | ports-9839011ec3910790376ce9ace5e2a1c5bcb2781f.tar.gz ports-9839011ec3910790376ce9ace5e2a1c5bcb2781f.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
Notes
Notes:
svn path=/head/; revision=199069
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/p5-GdkPixbuf/Makefile | 8 | ||||
-rw-r--r-- | x11-toolkits/p5-Gnome2-Canvas/Makefile | 10 | ||||
-rw-r--r-- | x11-toolkits/p5-Gnome2-VFS/Makefile | 10 | ||||
-rw-r--r-- | x11-toolkits/p5-Gnome2/Makefile | 10 | ||||
-rw-r--r-- | x11-toolkits/p5-Gtk2-Ex-PodViewer/Makefile | 10 | ||||
-rw-r--r-- | x11-toolkits/p5-Gtk2-Html2/Makefile | 10 | ||||
-rw-r--r-- | x11-toolkits/p5-Gtk2-TrayIcon/Makefile | 10 | ||||
-rw-r--r-- | x11-toolkits/p5-Gtk2/Makefile | 10 | ||||
-rw-r--r-- | x11-toolkits/p5-Tk-Date/Makefile | 10 | ||||
-rw-r--r-- | x11-toolkits/p5-Tk-GBARR/Makefile | 10 | ||||
-rw-r--r-- | x11-toolkits/p5-Tk-Getopt/Makefile | 10 | ||||
-rw-r--r-- | x11-toolkits/p5-Tk-TableMatrix/Makefile | 10 | ||||
-rw-r--r-- | x11-toolkits/p5-Tk/Makefile | 6 |
13 files changed, 24 insertions, 100 deletions
diff --git a/x11-toolkits/p5-GdkPixbuf/Makefile b/x11-toolkits/p5-GdkPixbuf/Makefile index 949173479107..04ad53fd9064 100644 --- a/x11-toolkits/p5-GdkPixbuf/Makefile +++ b/x11-toolkits/p5-GdkPixbuf/Makefile @@ -28,10 +28,4 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/${PORTNAME} MAN3= Gtk::Gdk::Pixbuf::reference.3pm -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500600 -IGNORE= This port requires perl 5.6.0 or later. Install lang/perl5 then try again -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/x11-toolkits/p5-Gnome2-Canvas/Makefile b/x11-toolkits/p5-Gnome2-Canvas/Makefile index 060172832d5b..a6231f2f3855 100644 --- a/x11-toolkits/p5-Gnome2-Canvas/Makefile +++ b/x11-toolkits/p5-Gnome2-Canvas/Makefile @@ -30,16 +30,10 @@ RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Glib.pm:${PORTSDIR}/devel/p5-Glib2 \ ${SITE_PERL}/${PERL_ARCH}/Gtk2.pm:${PORTSDIR}/x11-toolkits/p5-Gtk2 USE_GNOME= libgnomecanvas -PERL_CONFIGURE= yes - -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500800 -IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 then try again -.endif +PERL_CONFIGURE= 5.8.0+ post-install: @cd ${WRKSRC}/blib/man3 && ${FIND} * -name "*.3" | ${SED} \ 's,^,${MAN3PREFIX:S,^${PREFIX}/,,}/man/man3/,' >> ${TMPPLIST} -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/x11-toolkits/p5-Gnome2-VFS/Makefile b/x11-toolkits/p5-Gnome2-VFS/Makefile index 90778479354c..0ea8456a28de 100644 --- a/x11-toolkits/p5-Gnome2-VFS/Makefile +++ b/x11-toolkits/p5-Gnome2-VFS/Makefile @@ -26,16 +26,10 @@ RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Glib.pm:${PORTSDIR}/devel/p5-Glib2 \ ${SITE_PERL}/${PERL_ARCH}/Gtk2.pm:${PORTSDIR}/x11-toolkits/p5-Gtk2 USE_GNOME= gnomevfs2 -PERL_CONFIGURE= yes - -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500800 -IGNORE= this port requires perl 5.8.0 or later. Install lang/perl5.8 then try again -.endif +PERL_CONFIGURE= 5.8.0+ post-install: @cd ${WRKSRC}/blib/man3 && ${FIND} * -name "*.3" | ${SED} \ 's,^,${MAN3PREFIX:S,^${PREFIX}/,,}/man/man3/,' >> ${TMPPLIST} -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/x11-toolkits/p5-Gnome2/Makefile b/x11-toolkits/p5-Gnome2/Makefile index 135a77700ec4..26784e69ca8e 100644 --- a/x11-toolkits/p5-Gnome2/Makefile +++ b/x11-toolkits/p5-Gnome2/Makefile @@ -30,16 +30,10 @@ RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Glib.pm:${PORTSDIR}/devel/p5-Glib2 \ ${SITE_PERL}/${PERL_ARCH}/Gnome2/Canvas.pm:${PORTSDIR}/x11-toolkits/p5-Gnome2-Canvas USE_GNOME= libgnomeui libgnome libbonoboui -PERL_CONFIGURE= yes - -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500800 -IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 then try again -.endif +PERL_CONFIGURE= 5.8.0+ post-install: @cd ${WRKSRC}/blib/man3 && ${FIND} * -name "*.3" | ${SED} \ 's,^,${MAN3PREFIX:S,^${PREFIX}/,,}/man/man3/,' >> ${TMPPLIST} -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/x11-toolkits/p5-Gtk2-Ex-PodViewer/Makefile b/x11-toolkits/p5-Gtk2-Ex-PodViewer/Makefile index bd739e9c213c..d54a9b9bce1b 100644 --- a/x11-toolkits/p5-Gtk2-Ex-PodViewer/Makefile +++ b/x11-toolkits/p5-Gtk2-Ex-PodViewer/Makefile @@ -22,15 +22,9 @@ BUILD_DEPENDS= p5-Gtk2>=0:${PORTSDIR}/x11-toolkits/p5-Gtk2 \ p5-Pod-Simple>=0:${PORTSDIR}/textproc/p5-Pod-Simple RUN_DEPENDS:= ${BUILD_DEPENDS} -PERL_CONFIGURE= yes +PERL_CONFIGURE= 5.8.0+ MAN1= podviewer.1 MAN3= ${PORTNAME:S/-/::/g}.3 ${PORTNAME:S/-/::/g}::Parser.3 -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500800 -IGNORE= requires perl5.8 from ports -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/x11-toolkits/p5-Gtk2-Html2/Makefile b/x11-toolkits/p5-Gtk2-Html2/Makefile index 7870a2829e8e..b5848cf5c7d0 100644 --- a/x11-toolkits/p5-Gtk2-Html2/Makefile +++ b/x11-toolkits/p5-Gtk2-Html2/Makefile @@ -25,16 +25,10 @@ RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Glib.pm:${PORTSDIR}/devel/p5-Glib2 \ ${SITE_PERL}/${PERL_ARCH}/Gtk2/CodeGen.pm:${PORTSDIR}/x11-toolkits/p5-Gtk2 USE_GNOME= libgtkhtml -PERL_CONFIGURE= yes - -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500800 -IGNORE= This port requires perl 5.8.0 or later. Install lang/perl5.8 then try again -.endif +PERL_CONFIGURE= 5.8.0+ post-install: @cd ${WRKSRC}/blib/man3 && ${FIND} * -name "*.3" | ${SED} \ 's,^,${MAN3PREFIX:S,^${PREFIX}/,,}/man/man3/,' >> ${TMPPLIST} -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/x11-toolkits/p5-Gtk2-TrayIcon/Makefile b/x11-toolkits/p5-Gtk2-TrayIcon/Makefile index b9584ee87efc..96b1acc80aff 100644 --- a/x11-toolkits/p5-Gtk2-TrayIcon/Makefile +++ b/x11-toolkits/p5-Gtk2-TrayIcon/Makefile @@ -21,14 +21,8 @@ BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Cairo.pm:${PORTSDIR}/graphics/p5-Cairo ${SITE_PERL}/${PERL_ARCH}/Gtk2.pm:${PORTSDIR}/x11-toolkits/p5-Gtk2 RUN_DEPENDS= ${BUILD_DEPENDS} -PERL_CONFIGURE= yes +PERL_CONFIGURE= 5.8.0+ MAN3= Gtk2::TrayIcon.3 -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500800 -IGNORE= "Needs perl 5.8.0 or higher, install lang/perl5.8 and try again" -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/x11-toolkits/p5-Gtk2/Makefile b/x11-toolkits/p5-Gtk2/Makefile index b7c41914af90..2f94d8890fc7 100644 --- a/x11-toolkits/p5-Gtk2/Makefile +++ b/x11-toolkits/p5-Gtk2/Makefile @@ -21,18 +21,12 @@ BUILD_DEPENDS= ${SITE_PERL}/ExtUtils/Depends.pm:${PORTSDIR}/devel/p5-ExtUtils-De RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Glib.pm:${PORTSDIR}/devel/p5-Glib2 USE_GNOME= gtk20 pango -PERL_CONFIGURE= yes +PERL_CONFIGURE= 5.8.0+ USE_GMAKE= yes CONFIGURE_ENV+= FORCE_GMAKE=yes -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500800 -IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 then try again -.endif - post-install: @cd ${WRKSRC}/blib/man3 && ${FIND} * -name "*.3" | ${SED} \ 's,^,${MAN3PREFIX:S,^${PREFIX}/,,}/man/man3/,' >> ${TMPPLIST} -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/x11-toolkits/p5-Tk-Date/Makefile b/x11-toolkits/p5-Tk-Date/Makefile index b180807eabd0..20563a54b39b 100644 --- a/x11-toolkits/p5-Tk-Date/Makefile +++ b/x11-toolkits/p5-Tk-Date/Makefile @@ -19,14 +19,8 @@ COMMENT= Tk::Date - a date/time widget for perl/Tk BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Tk/FireButton.pm:${PORTSDIR}/x11-toolkits/p5-Tk-GBARR RUN_DEPENDS= ${BUILD_DEPENDS} -PERL_CONFIGURE= yes +PERL_CONFIGURE= 5.8.0+ MAN3= Tk::Date.3 -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500800 -IGNORE= requires perl 5.8.x or higher. Please install lang/perl5.8 and try again. -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/x11-toolkits/p5-Tk-GBARR/Makefile b/x11-toolkits/p5-Tk-GBARR/Makefile index f8a726df0856..43ee9f39933d 100644 --- a/x11-toolkits/p5-Tk-GBARR/Makefile +++ b/x11-toolkits/p5-Tk-GBARR/Makefile @@ -19,7 +19,7 @@ COMMENT= Some collection of Tk Widgets BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk RUN_DEPENDS= ${BUILD_DEPENDS} -PERL_CONFIGURE= yes +PERL_CONFIGURE= 5.8.0+ MAN3= Tk::Cloth.3 \ Tk::FireButton.3 \ @@ -27,10 +27,4 @@ MAN3= Tk::Cloth.3 \ Tk::NumEntryPlain.3 \ Tk::TFrame.3 -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500800 -IGNORE= requires perl 5.8.0 or higher. Please install lang/perl5.8 and try again -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/x11-toolkits/p5-Tk-Getopt/Makefile b/x11-toolkits/p5-Tk-Getopt/Makefile index 10471a345ad2..21783c3ce747 100644 --- a/x11-toolkits/p5-Tk-Getopt/Makefile +++ b/x11-toolkits/p5-Tk-Getopt/Makefile @@ -19,14 +19,8 @@ COMMENT= User configuration window for Tk with interface to Getopt::Long BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk RUN_DEPENDS= ${BUILD_DEPENDS} -PERL_CONFIGURE= yes +PERL_CONFIGURE= 5.8.0+ MAN3= Tk::Getopt.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/x11-toolkits/p5-Tk-TableMatrix/Makefile b/x11-toolkits/p5-Tk-TableMatrix/Makefile index bd761242fbb3..6ab2fcac5254 100644 --- a/x11-toolkits/p5-Tk-TableMatrix/Makefile +++ b/x11-toolkits/p5-Tk-TableMatrix/Makefile @@ -19,17 +19,11 @@ COMMENT= Table/matrix extension to perl/tk for displaying table formatted data BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk RUN_DEPENDS= ${BUILD_DEPENDS} -PERL_CONFIGURE= yes +PERL_CONFIGURE= 5.8.0+ CONFIGURE_ARGS= X11LIB=${X11BASE}/lib X11INC=${X11BASE}/include MAN3= Tk::TableMatrix.3 \ Tk::TableMatrix::Spreadsheet.3 \ Tk::TableMatrix::SpreadsheetHideRows.3 -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500800 -IGNORE= requires perl 5.8.0 or higher. Please install lang/perl5.8 and try again -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/x11-toolkits/p5-Tk/Makefile b/x11-toolkits/p5-Tk/Makefile index 2fa59f832943..364de2e32268 100644 --- a/x11-toolkits/p5-Tk/Makefile +++ b/x11-toolkits/p5-Tk/Makefile @@ -17,7 +17,7 @@ MAINTAINER= yinjieh@csie.nctu.edu.tw COMMENT= A re-port of a perl5 interface to Tk8.4 USE_XLIB= yes -PERL_CONFIGURE= yes +PERL_CONFIGURE= 5.8.0+ CONFIGURE_ARGS= X11LIB=${X11BASE}/lib X11INC=${X11BASE}/include WRKSRC= ${WRKDIR}/${DISTNAME} @@ -143,10 +143,6 @@ MAN3= Tie::Watch.3 \ .include <bsd.port.pre.mk> -.if ${PERL_LEVEL} < 500800 -IGNORE= this port needs Perl 5.8.0 or greater, please upgrade your Perl! -.endif - .if defined(WITH_XFT) CONFIGURE_ARGS= XFT=1 LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft |