View | Details | Raw Unified | Return to bug 11851
Collapse All | Expand All

(-)x11-toolkits/p5-Gtk/Makefile (-7 / +6 lines)
Lines 1-13 Link Here
1
# New ports collection makefile for:	p5-Gtk
1
# New ports collection makefile for:	p5-Gtk
2
# Version required:	0.4
2
# Version required:	0.5121
3
# Date created:		28 Oct 1997
3
# Date created:		28 Oct 1997
4
# Whom:	      		Vanilla I. Shu <vanilla@MinJe.com.TW>
4
# Whom:	      		Vanilla I. Shu <vanilla@MinJe.com.TW>
5
#
5
#
6
# $Id: Makefile,v 1.22 1999/03/15 18:30:06 nectar Exp $
6
# $Id: Makefile,v 1.22 1999/03/15 18:30:06 nectar Exp $
7
#
7
#
8
8
9
DISTNAME=	Gtk-0.4
9
DISTNAME=	Gtk-Perl-0.5121
10
PKGNAME=	p5-Gtk-0.4
10
PKGNAME=	p5-Gtk-0.5121
11
CATEGORIES=	x11-toolkits lang perl5
11
CATEGORIES=	x11-toolkits lang perl5
12
MASTER_SITES=	ftp://ftp.gtk.org/pub/gtk/perl/ \
12
MASTER_SITES=	ftp://ftp.gtk.org/pub/gtk/perl/ \
13
		${MASTER_SITE_PERL_CPAN}
13
		${MASTER_SITE_PERL_CPAN}
Lines 15-30 Link Here
15
15
16
MAINTAINER=	vanilla@FreeBSD.ORG
16
MAINTAINER=	vanilla@FreeBSD.ORG
17
17
18
LIB_DEPENDS=	gtk11.1:${PORTSDIR}/x11-toolkits/gtk11 \
18
LIB_DEPENDS=	gdk_imlib.4:${PORTSDIR}/graphics/imlib
19
		gdk_imlib.3:${PORTSDIR}/graphics/imlib
20
19
21
USE_PERL5=	YES
20
USE_PERL5=	YES
22
21
23
MAN3=		GtkColorSelectButton.3
22
MAN3=		Gtk::GtkColorSelectButton.3
24
MANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
23
MANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
25
24
26
do-configure:
25
do-configure:
27
		@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
26
		@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
28
		--with-gdkimlib
27
		--with-gdkimlib --without-gnome
29
28
30
.include <bsd.port.mk>
29
.include <bsd.port.mk>
(-)x11-toolkits/p5-Gtk/files/md5 (-1 / +1 lines)
Line 1 Link Here
1
MD5 (Gtk-0.4.tar.gz) = dcd4d31722f579dea3bce84ce82b8076
1
MD5 (Gtk-Perl-0.5121.tar.gz) = 94fd8507302eb732117d029723364385
(-)x11-toolkits/p5-Gtk/patches/patch-aa (-12 / +3 lines)
Lines 1-24 Link Here
1
--- Makefile.PL.orig	Tue Sep 29 18:49:53 1998
1
--- Makefile.PL.orig	Tue Sep 29 18:49:53 1998
2
+++ Makefile.PL	Fri Oct  9 01:11:11 1998
2
+++ Makefile.PL	Fri Oct  9 01:11:11 1998
3
@@ -29,7 +29,7 @@
4
 # One can also 'source' in the shell the proper gnomeConf.sh file
5
 # before running perl Makefile.PL.
6
 if (!defined $ENV{GTKXMHTML_LIBS} || !defined $ENV{GNOMEUI_LIBS}) {
7
-	foreach (qw{/opt/lib /usr/local/lib /usr/lib /usr/X11R6/lib /opt/gnome/lib }) {
8
+	foreach (qw{/usr/X11R6/share/gnome }) {
9
 		open(GNOMEC, "$_/gnomeConf.sh") || next;
10
 		my $f= join('', <GNOMEC>);
11
 		close GNOMEC;
12
@@ -43,10 +43,10 @@
3
@@ -43,10 +43,10 @@
13
 
4
 
14
 @defines = ();
5
 @defines = ();
15
 
6
 
16
-$libs = `gtk-config --libs`;
7
-$libs = `gtk-config --libs`;
17
+$libs = `gtk11-config --libs`;
8
+$libs = `gtk12-config --libs`;
18
 $libs = "-L/usr/X11R6/lib -lgtk -lgdk -lglib -lX11 -lXext" if not defined $libs;
9
 $libs = "-L/usr/X11R6/lib -lgtk -lgdk -lglib -lX11 -lXext" if not defined $libs;
19
 
10
 
20
-$inc = `gtk-config --cflags`;
11
-$inc = `gtk-config --cflags`;
21
+$inc = `gtk11-config --cflags`;
12
+$inc = `gtk12-config --cflags`;
22
 
13
 
23
 $libs =~ s/\s+/ /g;
14
 $libs =~ s/\s+/ /g;
24
 $inc =~ s/\s+/ /g;
15
 $inc =~ s/\s+/ /g;
Lines 27-33 Link Here
27
 	my($result);
18
 	my($result);
28
 
19
 
29
-	$result = `gtk-config --version`;
20
-	$result = `gtk-config --version`;
30
+	$result = `gtk11-config --version`;
21
+	$result = `gtk12-config --version`;
31
 	chomp $result;
22
 	chomp $result;
32
 	
23
 	
33
 	if (not defined $result) {
24
 	if (not defined $result) {
(-)x11-toolkits/p5-Gtk/patches/patch-ab (-10 lines)
Lines 1-10 Link Here
1
--- config/pkg-gdkimlib.pl.orig	Wed Sep 30 00:53:30 1998
2
+++ config/pkg-gdkimlib.pl	Wed Sep 30 00:53:43 1998
3
@@ -3,6 +3,6 @@
4
 
5
 # we need to know what libraries are used by the
6
 # gdk_imlib lib we are going to link to....
7
-$libs =~ s/-l/-lgdk_imlib -lgif -ltiff -lpng -ljpeg -lz -l/; # hack hack
8
+$libs =~ s/-l/-lgdk_imlib -lgif -ltiff34 -lpng -ljpeg -lz -l/; # hack hack
9
 
10
 add_boot "Gtk::Gdk::ImlibImage";
(-)x11-toolkits/p5-Gtk/pkg/PLIST (-17 / +3 lines)
Lines 2-28 Link Here
2
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Atoms.pm
2
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Atoms.pm
3
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/ColorSelectButton.pm
3
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/ColorSelectButton.pm
4
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Gdk.pm
4
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Gdk.pm
5
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/LogHandler.pm
5
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Types.pm
6
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Types.pm
6
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/Files.pm
7
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/GdkTypes.h
8
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/GtkDefs.h
9
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/GtkTypemap
10
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/GtkTypes.h
11
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/MiscTypes.h
12
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/PerlGtkExt.h
13
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/gendefs.pl
14
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/genext.pl
15
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/pkg-gdkimlib.defs
16
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/pkg-gdkimlib.typemap
17
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/pkg-gtk-1.1.defs
18
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/pkg-gtk.defs
19
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install/pkg-gtk.typemap
20
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gtk/.packlist
7
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gtk/.packlist
21
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gtk/autosplit.ix
8
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gtk/Gdk/autosplit.ix
22
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gtk/Gtk.bs
9
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gtk/Gtk.bs
23
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gtk/Gtk.so
10
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gtk/Gtk.so
24
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gtk/Gdk/autosplit.ix
11
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gtk/autosplit.ix
25
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gtk/Gdk
12
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gtk/Gdk
26
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gtk
13
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gtk
27
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/Install
28
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk
14
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk

Return to bug 11851