diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-10-03 18:15:19 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-10-03 18:15:19 +0000 |
commit | 93c0e727cff789f3bc4b51f41582ca82402f2493 (patch) | |
tree | 77b096f8d691ef396b0f0d517153005afcef970e /x11-toolkits/p5-Tk | |
parent | 76851baa9545780b673975ce45a3e243aca4eb32 (diff) | |
download | ports-93c0e727cff789f3bc4b51f41582ca82402f2493.tar.gz ports-93c0e727cff789f3bc4b51f41582ca82402f2493.zip |
Notes
Diffstat (limited to 'x11-toolkits/p5-Tk')
-rw-r--r-- | x11-toolkits/p5-Tk/Makefile | 26 | ||||
-rw-r--r-- | x11-toolkits/p5-Tk/distinfo | 4 | ||||
-rw-r--r-- | x11-toolkits/p5-Tk/files/patch-JPEG_Makefile.PL | 10 |
3 files changed, 19 insertions, 21 deletions
diff --git a/x11-toolkits/p5-Tk/Makefile b/x11-toolkits/p5-Tk/Makefile index 37a1096d145f..277340584c55 100644 --- a/x11-toolkits/p5-Tk/Makefile +++ b/x11-toolkits/p5-Tk/Makefile @@ -6,32 +6,31 @@ # PORTNAME= Tk -DISTVERSION= 804.029 +DISTVERSION= 804.029.500 CATEGORIES= x11-toolkits tk perl5 -MASTER_SITES= CPAN/Tk/SREZIC +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:SREZIC PKGNAMEPREFIX= p5- +DISTNAME= ${PORTNAME}-${PORTVERSION:R}_${PORTVERSION:E} MAINTAINER= perl@FreeBSD.org COMMENT= A re-port of a perl5 interface to Tk8.4 -MAKE_JOBS_UNSAFE= yes - -BROKEN= does not compile - LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \ png.6:${PORTSDIR}/graphics/png + +CONFIGURE_ARGS= X11INC=${LOCALBASE}/include X11LIB=${LOCALBASE}/lib +MAKE_JOBS_UNSAFE= yes PERL_CONFIGURE= yes USE_XORG= x11 -CONFIGURE_ARGS= X11LIB=${LOCALBASE}/lib X11INC=${LOCALBASE}/include -WRKSRC= ${WRKDIR}/${DISTNAME} MAN1= ptked.1 \ ptksh.1 \ tkjpeg.1 \ widget.1 - MAN3= Tie::Watch.3 \ Tk.3 \ + Tk::804delta.3 \ Tk::Adjuster.3 \ Tk::Animation.3 \ Tk::Balloon.3 \ @@ -71,8 +70,8 @@ MAN3= Tie::Watch.3 \ Tk::Labelframe.3 \ Tk::Listbox.3 \ Tk::MainWindow.3 \ - Tk::Menu::Item.3 \ Tk::Menu.3 \ + Tk::Menu::Item.3 \ Tk::Menubutton.3 \ Tk::Message.3 \ Tk::MsgBox.3 \ @@ -120,6 +119,8 @@ MAN3= Tie::Watch.3 \ Tk::chooseColor.3 \ Tk::chooseDirectory.3 \ Tk::composite.3 \ + Tk::demos::widget_lib::slide.3 \ + Tk::demos::widget_lib::trace2.3 \ Tk::event.3 \ Tk::exit.3 \ Tk::fileevent.3 \ @@ -141,10 +142,7 @@ MAN3= Tie::Watch.3 \ Tk::send.3 \ Tk::tixWm.3 \ Tk::tkvars.3 \ - Tk::widgets.3 \ - Tk::804delta.3 \ - Tk::demos::widget_lib::slide.3 \ - Tk::demos::widget_lib::trace2.3 + Tk::widgets.3 .include <bsd.port.pre.mk> diff --git a/x11-toolkits/p5-Tk/distinfo b/x11-toolkits/p5-Tk/distinfo index e03b7f3ec244..0a5592b93ce6 100644 --- a/x11-toolkits/p5-Tk/distinfo +++ b/x11-toolkits/p5-Tk/distinfo @@ -1,2 +1,2 @@ -SHA256 (Tk-804.029.tar.gz) = 41e31d393c29301918949d0f93d7d1a1f877777ac6e65cd92e11741c68a4bc7f -SIZE (Tk-804.029.tar.gz) = 6924235 +SHA256 (Tk-804.029_500.tar.gz) = c6bcb3672f6c2b9c0dcf6c87b183b4de45d3f9dd9698dd429a55f81928ad6166 +SIZE (Tk-804.029_500.tar.gz) = 6927247 diff --git a/x11-toolkits/p5-Tk/files/patch-JPEG_Makefile.PL b/x11-toolkits/p5-Tk/files/patch-JPEG_Makefile.PL index 882bfeb6c56b..335ca127c239 100644 --- a/x11-toolkits/p5-Tk/files/patch-JPEG_Makefile.PL +++ b/x11-toolkits/p5-Tk/files/patch-JPEG_Makefile.PL @@ -1,11 +1,11 @@ ---- JPEG/Makefile.PL.orig 2010-01-12 08:28:55.000000000 -0500 -+++ JPEG/Makefile.PL 2010-01-12 08:32:23.000000000 -0500 -@@ -13,10 +13,10 @@ +--- JPEG/Makefile.PL.orig 2010-06-01 03:58:38.000000000 +0800 ++++ JPEG/Makefile.PL 2011-10-03 23:34:18.892396436 +0800 +@@ -6,10 +6,10 @@ use Tk::MMtry; --if ($Tk::MMtry::VERSION ge '4.007' && try_run("jpeg/has_jpeg.c",['-I/usr/local/include'],['-ljpeg'])) -+if ($Tk::MMtry::VERSION ge '4.007' && try_run("jpeg/has_jpeg.c",['-I%%LOCALBASE%%/include'],['-L%%LOCALBASE%%/lib -ljpeg'])) +-if ($Tk::MMtry::VERSION ge '4.007' && try_run("config/has_jpeg.c",['-I/usr/local/include'],['-ljpeg'])) ++if ($Tk::MMtry::VERSION ge '4.007' && try_run("config/has_jpeg.c",['-I%%LOCALBASE%%/include'],['-L%%LOCALBASE%%/lib -ljpeg'])) { - push(@args, LIBS => ['-ljpeg'], - INC => '-I/usr/local/include', |