diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2017-02-28 22:58:33 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2017-02-28 22:58:33 +0800 |
commit | db90b4154d213254fc189c234c06d65194059302 (patch) | |
tree | df20a428a6764b46c6c0b01c839fdc814f2a27b6 /x11-toolkits/p5-Gtk | |
parent | 8d96b431499622c2659694f99a3de253454a3919 (diff) | |
download | freebsd-ports-gnome-db90b4154d213254fc189c234c06d65194059302.tar.gz freebsd-ports-gnome-db90b4154d213254fc189c234c06d65194059302.tar.zst freebsd-ports-gnome-db90b4154d213254fc189c234c06d65194059302.zip |
Move x11-toolkits/p5-Gtk to x11-toolkits/p5-Gtk-Perl
- Add LICENSE
- Bump PORTREVISION for dependent ports
Diffstat (limited to 'x11-toolkits/p5-Gtk')
-rw-r--r-- | x11-toolkits/p5-Gtk/Makefile | 28 | ||||
-rw-r--r-- | x11-toolkits/p5-Gtk/distinfo | 2 | ||||
-rw-r--r-- | x11-toolkits/p5-Gtk/files/patch-Gtk__Makefile.PL | 67 | ||||
-rw-r--r-- | x11-toolkits/p5-Gtk/files/patch-Gtk__gtk-0.99.typemap | 31 | ||||
-rw-r--r-- | x11-toolkits/p5-Gtk/files/patch-Makefile.PL | 18 | ||||
-rw-r--r-- | x11-toolkits/p5-Gtk/pkg-descr | 5 | ||||
-rw-r--r-- | x11-toolkits/p5-Gtk/pkg-plist | 44 |
7 files changed, 0 insertions, 195 deletions
diff --git a/x11-toolkits/p5-Gtk/Makefile b/x11-toolkits/p5-Gtk/Makefile deleted file mode 100644 index bfb665c016c6..000000000000 --- a/x11-toolkits/p5-Gtk/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# Created by: Vanilla I. Shu <vanilla@MinJe.com.TW> -# $FreeBSD$ - -PORTNAME= Gtk -PORTVERSION= 0.7010 -PORTREVISION= 3 -CATEGORIES= x11-toolkits lang perl5 -MASTER_SITES= CPAN -PKGNAMEPREFIX= p5- -DISTNAME= ${PORTNAME}-Perl-${PORTVERSION} - -MAINTAINER= perl@FreeBSD.org -COMMENT= The base module of Gtk-Perl - -BUILD_DEPENDS= p5-XML-Writer>=0:textproc/p5-XML-Writer \ - p5-XML-Parser>=0:textproc/p5-XML-Parser - -USE_GNOME= gtk12 -USES= perl5 shebangfix -SHEBANG_FILES= tools/gendoc.pl tools/gpdoc2pod -USE_PERL5= configure -CONFIGURE_ARGS= --without-guessing --lazy-load -MAKE_JOBS_UNSAFE= yes - -post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Gtk/Gtk.so - -.include <bsd.port.mk> diff --git a/x11-toolkits/p5-Gtk/distinfo b/x11-toolkits/p5-Gtk/distinfo deleted file mode 100644 index 3ff1ea6db0aa..000000000000 --- a/x11-toolkits/p5-Gtk/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (Gtk-Perl-0.7010.tar.gz) = f8014dc7549beb9a627750bfa249fe941c19ec8de20053b61e76eda061c81fba -SIZE (Gtk-Perl-0.7010.tar.gz) = 459008 diff --git a/x11-toolkits/p5-Gtk/files/patch-Gtk__Makefile.PL b/x11-toolkits/p5-Gtk/files/patch-Gtk__Makefile.PL deleted file mode 100644 index eaac20c29644..000000000000 --- a/x11-toolkits/p5-Gtk/files/patch-Gtk__Makefile.PL +++ /dev/null @@ -1,67 +0,0 @@ ---- Gtk/Makefile.PL.orig Tue Jun 17 17:47:56 2003 -+++ Gtk/Makefile.PL Sun Oct 26 13:42:15 2003 -@@ -40,8 +40,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; - -@@ -59,7 +59,7 @@ - - $gtk_hverstr = sprintf("0x%02x%02x%02x", $gtk_major, $gtk_minor, $gtk_micro); - --push @defines, "-DGTK_HVER=$gtk_hverstr"; -+push @defines, "-DGTK_HVER=$gtk_hverstr -o \$*.o"; - - if (not defined $gtk_version) { - die "Unable to find Gtk version...\n"; -@@ -158,7 +158,7 @@ - 'XSPROTOARG' => '-noprototypes', - 'depend' => $depend, - 'dist' => { COMPRESS=>"gzip", SUFFIX=>"gz" }, -- 'OPTIMIZE' => '-O2 -g', -+ 'CCFLAGS' => '${CFLAGS}', - 'MAN3PODS' => { - 'cookbook.pod' => '$(INST_MAN3DIR)/Gtk::cookbook.3pm', - 'Gtk.pm' => '$(INST_MAN3DIR)/Gtk.3pm', -@@ -187,12 +187,12 @@ - - } - --sub MY::c_o { -- package MY; # so that "SUPER" works right -- my $inherited = shift->SUPER::c_o(@_); -- $inherited =~ s/CCCMD.*$/$&\n\t\@if test -f `basename \$*.o` -a "`basename \$*.o`" != "\$*.o"; then mv `basename \$*.o` \$*.o; fi/mg; -- $inherited; --} -+#sub MY::c_o { -+# package MY; # so that "SUPER" works right -+# my $inherited = shift->SUPER::c_o(@_); -+# $inherited =~ s/CCCMD.*$/$&\n\t\@if test -f `basename \$*.o` -a "`basename \$*.o`" != "\$*.o"; then mv `basename \$*.o` \$*.o; fi/mg; -+# $inherited; -+#} - - sub MY::const_config - { -@@ -207,14 +207,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 ($dir) = `gtk-config --prefix`; -+ my ($dir) = `$ENV{GTK_CONFIG} --prefix`; - chomp($dir); - my $incfile; - foreach ("/", "/gtk-1.2") { diff --git a/x11-toolkits/p5-Gtk/files/patch-Gtk__gtk-0.99.typemap b/x11-toolkits/p5-Gtk/files/patch-Gtk__gtk-0.99.typemap deleted file mode 100644 index aa5eb921f5a5..000000000000 --- a/x11-toolkits/p5-Gtk/files/patch-Gtk__gtk-0.99.typemap +++ /dev/null @@ -1,31 +0,0 @@ ---- ./Gtk/gtk-0.99.typemap.orig 2013-10-05 11:49:16.000000000 +0400 -+++ ./Gtk/gtk-0.99.typemap 2013-10-05 11:50:55.000000000 +0400 -@@ -62,8 +62,8 @@ - } while(0) - - T_GtkPTROBJOrNULL -- $var = SvTRUE($arg) ? Cast$type(SvGtkObjectRef($arg, \"" . ($foo=$ntype,$foo=~s/_OrNULL//,$foo). "\")) : 0 -- -+ $var = SvTRUE($arg) ? Cast$type(SvGtkObjectRef($arg, \"" . (our $foo=$ntype,$foo=~s/_OrNULL//,$foo). "\")) : 0 -+ - T_GtkPTROBJUp - $var = Cast$type(SvGtkObjectRef($arg, \"${ntype}\")) - -@@ -95,14 +95,14 @@ - do { - if (!$arg || !SvOK($arg)) - croak(\"$var is not of type ${ntype}\"); -- $var = Sv" . ($foo=$ntype, $foo=~s/://g, $foo=~s/^GtkGdk/Gdk/, $foo) . "($arg); -+ $var = Sv" . (our $foo=$ntype, $foo=~s/://g, $foo=~s/^GtkGdk/Gdk/, $foo) . "($arg); - } while (0) - - T_SimpleValOrNULL -- $var = ($arg && SvOK($arg)) ? Sv" . ($foo=$ntype, $foo=~s/://g, $foo=~s/^GtkGdk/Gdk/, $foo=~s/_OrNULL$//, $foo) . "($arg) : 0 -+ $var = ($arg && SvOK($arg)) ? Sv" . (our $foo=$ntype, $foo=~s/://g, $foo=~s/^GtkGdk/Gdk/, $foo=~s/_OrNULL$//, $foo) . "($arg) : 0 - - T_SimplePtr -- $var = Sv" . ($foo=$ntype, $foo=~s/://g, $foo=~s/^GtkGdk/Gdk/, $foo) . "($arg,0) -+ $var = Sv" . (our $foo=$ntype, $foo=~s/://g, $foo=~s/^GtkGdk/Gdk/, $foo) . "($arg,0) - - OUTPUT - diff --git a/x11-toolkits/p5-Gtk/files/patch-Makefile.PL b/x11-toolkits/p5-Gtk/files/patch-Makefile.PL deleted file mode 100644 index 143effb8f319..000000000000 --- a/x11-toolkits/p5-Gtk/files/patch-Makefile.PL +++ /dev/null @@ -1,18 +0,0 @@ ---- Makefile.PL.orig Tue Jun 26 23:17:02 2001 -+++ Makefile.PL Wed Apr 3 16:15:10 2002 -@@ -15,12 +15,12 @@ - - %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', depends => [qw(gtk)], - check => sub {cconfig('imlib-config --version', '1\.9\.') && `imlib-config --libs-gdk`}}, - gtkglarea => {order => 2, dir => 'GtkGLArea', depends => [qw(gtk)], -- check => sub {ccompile('#include <gtkgl/gtkglarea.h>', "", `gtk-config --cflags`, -- "-lgtkgl -lGL -lGLU " . `gtk-config --libs`)}}, -+ check => sub {ccompile('#include <gtkgl/gtkglarea.h>', "", `$ENV{GTK_CONFIG} --cflags`, -+ "-lgtkgl -lGL -lGLU " . `$ENV{GTK_CONFIG} --libs`)}}, - gdkpixbuf => {order => 2, dir => 'GdkPixbuf', depends => [qw(gtk)], - check => sub {cconfig('gdk-pixbuf-config --version', '0\.(8|9|1\d)\.?')}}, - gtkhtml => {order => 2, dir => 'GtkHTML', depends => [qw(gtk)], diff --git a/x11-toolkits/p5-Gtk/pkg-descr b/x11-toolkits/p5-Gtk/pkg-descr deleted file mode 100644 index 0ec27aecc299..000000000000 --- a/x11-toolkits/p5-Gtk/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -Gtk-Perl is a set of modules that let you exploit the Gtk+ and Gnome -libraries from Perl. The module maps the Gtk+ objects to Perl packages -while trying to remain as close as possible to the C API, but not closer. - -This is the base module (Gtk and Gtk::Gdk namespaces). diff --git a/x11-toolkits/p5-Gtk/pkg-plist b/x11-toolkits/p5-Gtk/pkg-plist deleted file mode 100644 index b469a4958f83..000000000000 --- a/x11-toolkits/p5-Gtk/pkg-plist +++ /dev/null @@ -1,44 +0,0 @@ -%%SITE_ARCH%%/Gtk.pm -%%SITE_ARCH%%/Gtk/Atoms.pm -%%SITE_ARCH%%/Gtk/CListModel.pm -%%SITE_ARCH%%/Gtk/ColorSelectButton.pm -%%SITE_ARCH%%/Gtk/Gdk.pm -%%SITE_ARCH%%/Gtk/Keysyms.pm -%%SITE_ARCH%%/Gtk/Install/Files.pm -%%SITE_ARCH%%/Gtk/Install/GdkTypes.h -%%SITE_ARCH%%/Gtk/Install/GtkDefs.h -%%SITE_ARCH%%/Gtk/Install/GtkTypemap -%%SITE_ARCH%%/Gtk/Install/GtkTypes.h -%%SITE_ARCH%%/Gtk/Install/MiscTypes.h -%%SITE_ARCH%%/Gtk/Install/PerlGtkExt.h -%%SITE_ARCH%%/Gtk/Install/PerlGtkInt.h -%%SITE_ARCH%%/Gtk/Install/gendefs.pl -%%SITE_ARCH%%/Gtk/Install/gendoc.pl -%%SITE_ARCH%%/Gtk/Install/genext.pl -%%SITE_ARCH%%/Gtk/Install/gpdoc2pod -%%SITE_ARCH%%/Gtk/Install/gtk-0.99.defs -%%SITE_ARCH%%/Gtk/Install/gtk-0.99.typemap -%%SITE_ARCH%%/Gtk/Install/gtk-1.0.defs -%%SITE_ARCH%%/Gtk/Install/gtk-1.1.1.defs -%%SITE_ARCH%%/Gtk/Install/gtk-1.1.3.defs -%%SITE_ARCH%%/Gtk/Install/gtk-1.1.4.defs -%%SITE_ARCH%%/Gtk/Install/gtk-1.1.6.defs -%%SITE_ARCH%%/Gtk/Install/gtk-1.1.defs -%%SITE_ARCH%%/Gtk/Install/gtk-1.2.defs -%%SITE_ARCH%%/Gtk/Install/gtk-1.2.typemap -%%SITE_ARCH%%/Gtk/Install/ppport.h -%%SITE_ARCH%%/Gtk/LWP.pm -%%SITE_ARCH%%/Gtk/LWP/http.pm -%%SITE_ARCH%%/Gtk/LogHandler.pm -%%SITE_ARCH%%/Gtk/Types.pm -%%SITE_ARCH%%/Gtk/TypesLazy.pm -%%SITE_ARCH%%/Gtk/io.pm -%%SITE_ARCH%%/Gtk/lazy.pm -%%SITE_ARCH%%/auto/Gtk/Gdk/autosplit.ix -%%SITE_ARCH%%/auto/Gtk/Gtk.so -%%SITE_ARCH%%/auto/Gtk/autosplit.ix -%%PERL5_MAN3%%/Gtk.3pm.gz -%%PERL5_MAN3%%/Gtk::CListModel.3pm.gz -%%PERL5_MAN3%%/Gtk::cookbook.3pm.gz -%%PERL5_MAN3%%/Gtk::objects.3pm.gz -%%PERL5_MAN3%%/Gtk::reference.3pm.gz |