summaryrefslogtreecommitdiff
path: root/x11-toolkits/p5-Gtk
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2001-03-12 08:47:11 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2001-03-12 08:47:11 +0000
commit16d437c568f6a8637d8550ca367a082f1c6324b3 (patch)
tree7cee19dd4c8b84b5c93cbd52c7af065e400669a7 /x11-toolkits/p5-Gtk
parentUpdate to 0.85. (diff)
Upgrade to Gtk-Perl-0.7005.
Notes
Notes: svn path=/head/; revision=39629
Diffstat (limited to 'x11-toolkits/p5-Gtk')
-rw-r--r--x11-toolkits/p5-Gtk/Makefile7
-rw-r--r--x11-toolkits/p5-Gtk/distinfo2
-rw-r--r--x11-toolkits/p5-Gtk/files/patch-Gtk_Makefile.PL30
-rw-r--r--x11-toolkits/p5-Gtk/files/patch-Makefile.PL47
-rw-r--r--x11-toolkits/p5-Gtk/pkg-plist10
5 files changed, 56 insertions, 40 deletions
diff --git a/x11-toolkits/p5-Gtk/Makefile b/x11-toolkits/p5-Gtk/Makefile
index 1eb3d750d1c9..0d5295bb9076 100644
--- a/x11-toolkits/p5-Gtk/Makefile
+++ b/x11-toolkits/p5-Gtk/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Gtk
-PORTVERSION= 0.7004
+PORTVERSION= 0.7005
CATEGORIES= x11-toolkits lang perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Gtk
@@ -17,8 +17,9 @@ MAINTAINER= vanilla@FreeBSD.org
USE_GTK= yes
PERL_CONFIGURE= yes
+CONFIGURE_ARGS= --without-guessing --lazy-load
-MAN3= Gtk::GtkColorSelectButton.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= cookbook.3pm
.include <bsd.port.mk>
diff --git a/x11-toolkits/p5-Gtk/distinfo b/x11-toolkits/p5-Gtk/distinfo
index ebd8f2180544..dee506a44476 100644
--- a/x11-toolkits/p5-Gtk/distinfo
+++ b/x11-toolkits/p5-Gtk/distinfo
@@ -1 +1 @@
-MD5 (Gtk-Perl-0.7004.tar.gz) = f8f5d889e7a005667a93946ab1bf3e69
+MD5 (Gtk-Perl-0.7005.tar.gz) = a1a1e13f1017e7dd005cc8bc426b09aa
diff --git a/x11-toolkits/p5-Gtk/files/patch-Gtk_Makefile.PL b/x11-toolkits/p5-Gtk/files/patch-Gtk_Makefile.PL
new file mode 100644
index 000000000000..026b558be973
--- /dev/null
+++ b/x11-toolkits/p5-Gtk/files/patch-Gtk_Makefile.PL
@@ -0,0 +1,30 @@
+--- Gtk/Makefile.PL.orig Mon Mar 12 02:44:49 2001
++++ Gtk/Makefile.PL Mon Mar 12 02:55:54 2001
+@@ -38,8 +38,8 @@
+ $threadl = "";
+ }
+
+-$libs = `gtk-config --libs $threadl`;
+-$inc = `gtk-config --cflags $threadl`;
++$libs = `$ENV{GTK_CONFIG} --libs $threadl`;
++$inc = `$ENV{GTK_CONFIG} --cflags $threadl`;
+ $libs =~ s/\s+/ /g;
+ $inc =~ s/\s+/ /g;
+
+@@ -192,14 +192,14 @@
+ sub gtk_version {
+ my($result);
+
+- $result = `gtk-config --version`;
++ $result = `$ENV{GTK_CONFIG} --version`;
+ chomp $result;
+ return $result;
+ }
+
+ # build the keysyms mapping
+ sub build_ksyms {
+- my ($incfile) = `gtk-config --prefix`;
++ my ($incfile) = `$ENV{GTK_CONFIG} --prefix`;
+ chomp($incfile);
+ $incfile .= "/include/gdk/gdkkeysyms.h";
+
diff --git a/x11-toolkits/p5-Gtk/files/patch-Makefile.PL b/x11-toolkits/p5-Gtk/files/patch-Makefile.PL
index f70ad884eb9e..c986eefe1f66 100644
--- a/x11-toolkits/p5-Gtk/files/patch-Makefile.PL
+++ b/x11-toolkits/p5-Gtk/files/patch-Makefile.PL
@@ -1,33 +1,16 @@
---- Makefile.PL.orig Wed Aug 9 22:30:38 2000
-+++ Makefile.PL Tue Sep 12 11:54:31 2000
-@@ -102,10 +102,10 @@
- $threadl = "";
- }
+--- Makefile.PL.orig Mon Mar 12 02:44:15 2001
++++ Makefile.PL Mon Mar 12 02:55:13 2001
+@@ -13,11 +13,11 @@
--$libs = `gtk-config --libs $threadl`;
-+$libs = `$ENV{GTK_CONFIG} --libs $threadl`;
- $libs = "-L/usr/X11R6/lib -lgtk -lgdk -lglib -lX11 -lXext" if not defined $libs;
-
--$inc = `gtk-config --cflags $threadl`;
-+$inc = `$ENV{GTK_CONFIG} --cflags $threadl`;
-
- $libs =~ s/\s+/ /g;
- $inc =~ s/\s+/ /g;
-@@ -167,7 +167,7 @@
-
- # build the keysyms mapping
- {
-- my ($incfile) = `gtk-config --prefix`;
-+ my ($incfile) = `$ENV{GTK_CONFIG} --prefix`;
- chomp($incfile);
- $incfile .= "/include/gdk/gdkkeysyms.h";
-
-@@ -470,7 +470,7 @@
- sub gtk_version {
- my($result);
-
-- $result = `gtk-config --version`;
-+ $result = `$ENV{GTK_CONFIG} --version`;
- chomp $result;
-
- if (not defined $result) {
+ %detect = (
+ gtk => {order => 1, dir => 'Gtk', needed => 1,
+- check => sub {cconfig('gtk-config --version', '1\.2\.')}},
++ check => sub {cconfig("$ENV{GTK_CONFIG} --version", '1\.2\.')}},
+ gdkimlib => {order => 2, dir => 'GdkImlib',
+ check => sub {cconfig('imlib-config --version', '1\.9\.') && `imlib-config --libs-gdk`}},
+ gtkglarea => {order => 2, dir => 'GtkGLArea',
+- check => sub {cconfig('gtk-config --version', '1\.2\.')}},
++ check => sub {cconfig("$ENV{GTK_CONFIG} --version", '1\.2\.')}},
+ gdkpixbuf => {order => 2, dir => 'GdkPixbuf',
+ check => sub {cconfig('gdk-pixbuf-config --version', '0\.9\.')}},
+ gtkhtml => {order => 2, dir => 'GtkHTML',
diff --git a/x11-toolkits/p5-Gtk/pkg-plist b/x11-toolkits/p5-Gtk/pkg-plist
index 20d0a757077f..3d646072c207 100644
--- a/x11-toolkits/p5-Gtk/pkg-plist
+++ b/x11-toolkits/p5-Gtk/pkg-plist
@@ -3,8 +3,10 @@ lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Atoms.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/ColorSelectButton.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Gdk.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Keysyms.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/LWP.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/LogHandler.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Types.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/io.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/Files.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/GdkTypes.h
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/GtkDefs.h
@@ -13,9 +15,6 @@ lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/GtkTypes.h
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/MiscTypes.h
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/PerlGtkExt.h
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/PerlGtkInt.h
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/gendefs.pl
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/gendoc.pl
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/genext.pl
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/gtk-0.99.defs
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/gtk-0.99.typemap
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/gtk-1.0.defs
@@ -27,12 +26,15 @@ lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/gtk-1.1.defs
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/gtk-1.2.defs
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/gtk-1.2.typemap
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/ppport.h
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gtk/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/LWP/http.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gtk/Gtk.bs
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gtk/Gtk.so
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gtk/autosplit.ix
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gtk/Gdk/autosplit.ix
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gtk/base/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/LWP
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gtk/base
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gtk/Gdk
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gtk