aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/p5-Glade
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2000-10-30 05:41:38 +0800
committervanilla <vanilla@FreeBSD.org>2000-10-30 05:41:38 +0800
commitb4a2e8b63fa602d7c544fceba42b70fdf32d6245 (patch)
treee3daa4d347ca10beb974f7eeee90a01ff1b25c15 /x11-toolkits/p5-Glade
parentf7abab99c9f500702683aa38129a75b38dbb34fb (diff)
downloadfreebsd-ports-gnome-b4a2e8b63fa602d7c544fceba42b70fdf32d6245.tar.gz
freebsd-ports-gnome-b4a2e8b63fa602d7c544fceba42b70fdf32d6245.tar.zst
freebsd-ports-gnome-b4a2e8b63fa602d7c544fceba42b70fdf32d6245.zip
It's a perl module to access glade library.
Diffstat (limited to 'x11-toolkits/p5-Glade')
-rw-r--r--x11-toolkits/p5-Glade/Makefile29
-rw-r--r--x11-toolkits/p5-Glade/distinfo1
-rw-r--r--x11-toolkits/p5-Glade/files/patch-Makefile.PL33
-rw-r--r--x11-toolkits/p5-Glade/pkg-comment1
-rw-r--r--x11-toolkits/p5-Glade/pkg-descr3
-rw-r--r--x11-toolkits/p5-Glade/pkg-plist14
6 files changed, 81 insertions, 0 deletions
diff --git a/x11-toolkits/p5-Glade/Makefile b/x11-toolkits/p5-Glade/Makefile
new file mode 100644
index 000000000000..6798026c617e
--- /dev/null
+++ b/x11-toolkits/p5-Glade/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: p5-Glade
+# Date created: 30 Oct 2000
+# Whom: vanilla
+#
+# $FreeBSD$
+#
+
+PORTNAME= Glade
+PORTVERSION= 0.7004
+CATEGORIES= x11-toolkits lang perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Gtk
+PKGNAMEPREFIX= p5-
+DISTNAME= Gtk-Perl-${PORTVERSION}
+
+MAINTAINER= vanilla@FreeBSD.org
+
+RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/mach/Gtk.pm:${PORTSDIR}/x11-toolkits/p5-Gtk
+LIB_DEPENDS= glade.4:${PORTSDIR}/devel/libglade
+
+USE_PERL5= yes
+USE_GNOME= yes
+WRKSRC= ${WRKDIR}/${DISTNAME}/${PORTNAME}
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
+ CC="${CC}" CCFLAGS="${CFLAGS} -L${LOCALBASE}/lib"
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/p5-Glade/distinfo b/x11-toolkits/p5-Glade/distinfo
new file mode 100644
index 000000000000..ebd8f2180544
--- /dev/null
+++ b/x11-toolkits/p5-Glade/distinfo
@@ -0,0 +1 @@
+MD5 (Gtk-Perl-0.7004.tar.gz) = f8f5d889e7a005667a93946ab1bf3e69
diff --git a/x11-toolkits/p5-Glade/files/patch-Makefile.PL b/x11-toolkits/p5-Glade/files/patch-Makefile.PL
new file mode 100644
index 000000000000..d1b8c82d2f90
--- /dev/null
+++ b/x11-toolkits/p5-Glade/files/patch-Makefile.PL
@@ -0,0 +1,33 @@
+--- Makefile.PL.orig Tue Jun 20 18:35:46 2000
++++ Makefile.PL Mon Oct 30 03:49:43 2000
+@@ -1,6 +1,5 @@
+ use ExtUtils::MakeMaker;
+ use File::Basename;
+-use blib '..';
+ use Gtk::Install::Files;
+ use Cwd;
+ require '../Depends.pm';
+@@ -31,12 +30,12 @@
+ $typemaps, [keys %defs], [@defines], [@headers], $pm);
+
+ foreach (@typemaps) {
+- print "Add typemap: $Gtk::Install::Files::CORE/$_\n";
+- push(@$typemaps, cwd() .'/'.$Gtk::Install::Files::CORE . '/'. $_);
++ print "Add typemap: $Gtk::Install::Files::CORE$_\n";
++ push(@$typemaps, '/'.$Gtk::Install::Files::CORE . $_);
+ }
+
+ push(@defines, @Gtk::Install::Files::defines);
+-push(@defines, '-I../build', '-Ibuild', '-I.', '-I../Gtk');
++push(@defines, '-I../build', '-Ibuild', '-I.', '-I'.$Gtk::Install::Files::CORE);
+
+ $pm->{'GladeXML.pm'} = '$(INST_ARCHLIBDIR)/GladeXML.pm';
+ $pm->{'build/GtkGladeXMLTypes.pm'} = '$(INST_ARCHLIBDIR)/GladeXML/Types.pm';
+@@ -105,7 +104,6 @@
+ 'INC' => $inc,
+ 'LIBS' => [$libs],
+ 'OBJECT' => $object,
+- 'OPTIMIZE' => '-O2 -g',
+ 'clean' => {FILES => join(' ', @clean) },
+ #'LDFROM' => $ldfrom,
+ 'depend' => $depend,
diff --git a/x11-toolkits/p5-Glade/pkg-comment b/x11-toolkits/p5-Glade/pkg-comment
new file mode 100644
index 000000000000..b1f7a64f7103
--- /dev/null
+++ b/x11-toolkits/p5-Glade/pkg-comment
@@ -0,0 +1 @@
+The Glade interface files of Gtk-Perl
diff --git a/x11-toolkits/p5-Glade/pkg-descr b/x11-toolkits/p5-Glade/pkg-descr
new file mode 100644
index 000000000000..bed3243b27d2
--- /dev/null
+++ b/x11-toolkits/p5-Glade/pkg-descr
@@ -0,0 +1,3 @@
+The Glade interface files of Gtk-Perl (Gtk::GladeXML namespace).
+
+WWW: http://projects.prosa.it/gtkperl/
diff --git a/x11-toolkits/p5-Glade/pkg-plist b/x11-toolkits/p5-Glade/pkg-plist
new file mode 100644
index 000000000000..8bf059b5d443
--- /dev/null
+++ b/x11-toolkits/p5-Glade/pkg-plist
@@ -0,0 +1,14 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/GladeXML.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/GladeXML/Types.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/GladeXML/Install/Files.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/GladeXML/Install/GtkGladeXMLTypemap
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/GladeXML/Install/GtkGladeXMLDefs.h
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/GladeXML/Install/PerlGtkGladeXMLInt.h
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/GladeXML/Install/pkg.typemap
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gtk/GladeXML/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gtk/GladeXML/GladeXML.bs
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gtk/GladeXML/GladeXML.so
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gtk/GladeXML/autosplit.ix
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/GladeXML/Install
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Gtk/GladeXML
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gtk/GladeXML