diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-10-23 17:45:27 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-10-23 17:45:27 +0000 |
commit | 2615854e1ddfb68bec1d7f7cd8450fa5729a09c0 (patch) | |
tree | 9dbe537366e31437eb736c918868f49087a81be9 /x11-toolkits | |
parent | ee2e0fd8ea1d6f8fcb4ab50479072fc7351992f0 (diff) | |
download | ports-2615854e1ddfb68bec1d7f7cd8450fa5729a09c0.tar.gz ports-2615854e1ddfb68bec1d7f7cd8450fa5729a09c0.zip |
Add p5-Glade2 after a repocopy from p5-Glade. p5-Glade2 adds libglade
interface building bindings to Perl so you can create and manipulate
GTK+ and GNOME user interfaces in Perl.
PR: 70682
Submitted by: ports@c0decafe.net <ports@c0decafe.net>
Notes
Notes:
svn path=/head/; revision=120039
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/Makefile | 1 | ||||
-rw-r--r-- | x11-toolkits/p5-Glade2/Makefile | 39 | ||||
-rw-r--r-- | x11-toolkits/p5-Glade2/distinfo | 4 | ||||
-rw-r--r-- | x11-toolkits/p5-Glade2/files/patch-Makefile.PL | 8 | ||||
-rw-r--r-- | x11-toolkits/p5-Glade2/pkg-descr | 14 | ||||
-rw-r--r-- | x11-toolkits/p5-Glade2/pkg-plist | 26 |
6 files changed, 40 insertions, 52 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile index adba081f0fb7..1161e5e1192e 100644 --- a/x11-toolkits/Makefile +++ b/x11-toolkits/Makefile @@ -109,6 +109,7 @@ SUBDIR += p5-GdkImlib SUBDIR += p5-GdkPixbuf SUBDIR += p5-Glade + SUBDIR += p5-Glade2 SUBDIR += p5-Gnome SUBDIR += p5-Gnome2 SUBDIR += p5-Gnome2-Canvas diff --git a/x11-toolkits/p5-Glade2/Makefile b/x11-toolkits/p5-Glade2/Makefile index 9fdf2e5e18cc..bd9b269dafcf 100644 --- a/x11-toolkits/p5-Glade2/Makefile +++ b/x11-toolkits/p5-Glade2/Makefile @@ -1,37 +1,28 @@ -# New ports collection makefile for: p5-Glade -# Date created: 30 Oct 2000 -# Whom: vanilla +# New ports collection makefile for: p5-Gtk2-GladeXML +# Date created: 2004-08-03 +# Whom: ports@c0decafe.net # # $FreeBSD$ # PORTNAME= Glade -PORTVERSION= 0.7009 -PORTREVISION= 1 -CATEGORIES= x11-toolkits lang perl5 +PORTVERSION= 1.00 +CATEGORIES= x11-toolkits gnome perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} -MASTER_SITE_SUBDIR= Gtk +MASTER_SITE_SUBDIR= ../../authors/id/R/RM/RMCFARLA/Gtk2-Perl PKGNAMEPREFIX= p5- -DISTNAME= Gtk-Perl-${PORTVERSION} +PKGNAMESUFFIX= 2 +DISTNAME= Gtk2-GladeXML-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org -COMMENT= The Glade interface files of Gtk-Perl +MAINTAINER= ports@c0decafe.net +COMMENT= Gtk2-Perl bindings to libglade2 -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Gnome.pm:${PORTSDIR}/x11-toolkits/p5-Gnome -RUN_DEPENDS= ${BUILD_DEPENDS} +BUILD_DEPENDS=${SITE_PERL}/${PERL_ARCH}/Gtk2.pm:${PORTSDIR}/x11-toolkits/p5-Gtk2 +RUN_DEPENDS+=${BUILD_DEPENDS} -USE_GNOME= yes +USE_GNOME= libglade2 PERL_CONFIGURE= yes -WRKSRC= ${WRKDIR}/${DISTNAME}/${PORTNAME} -MAN3= Gtk::GladeXML::reference.3pm +MAN3= Gtk2::GladeXML.3 -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500600 -IGNORE= This port requires perl 5.6.0 or later. Install lang/perl5 then try again -.else -BROKEN= "Build fails" -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/x11-toolkits/p5-Glade2/distinfo b/x11-toolkits/p5-Glade2/distinfo index 99b503be8275..039064e4e9ec 100644 --- a/x11-toolkits/p5-Glade2/distinfo +++ b/x11-toolkits/p5-Glade2/distinfo @@ -1,2 +1,2 @@ -MD5 (Gtk-Perl-0.7009.tar.gz) = 72ce462caa1afe57d60a8e654d63204b -SIZE (Gtk-Perl-0.7009.tar.gz) = 447432 +MD5 (Gtk2-GladeXML-1.00.tar.gz) = c10083a94d10be7f681ca297612cd552 +SIZE (Gtk2-GladeXML-1.00.tar.gz) = 31049 diff --git a/x11-toolkits/p5-Glade2/files/patch-Makefile.PL b/x11-toolkits/p5-Glade2/files/patch-Makefile.PL deleted file mode 100644 index 88004cc7b635..000000000000 --- a/x11-toolkits/p5-Glade2/files/patch-Makefile.PL +++ /dev/null @@ -1,8 +0,0 @@ ---- Makefile.PL.orig Mon Mar 12 06:32:57 2001 -+++ Makefile.PL Mon Mar 12 14:26:55 2001 -@@ -1,5 +1,4 @@ - use ExtUtils::MakeMaker; --use blib '../Gtk'; - use Cwd; - require '../Depends.pm'; - require '../tools/gendefs.pl'; diff --git a/x11-toolkits/p5-Glade2/pkg-descr b/x11-toolkits/p5-Glade2/pkg-descr index bed3243b27d2..734ad1e504b0 100644 --- a/x11-toolkits/p5-Glade2/pkg-descr +++ b/x11-toolkits/p5-Glade2/pkg-descr @@ -1,3 +1,13 @@ -The Glade interface files of Gtk-Perl (Gtk::GladeXML namespace). +Glade is a free user interface builder for GTK+ and GNOME. After designing a +user interface with glade-2 the layout and configuration are saved in an XML +file. libglade is a library which knows how to build and hook up the user +interface described in the Glade XML file at application run time. -WWW: http://projects.prosa.it/gtkperl/ +This extension module binds libglade to Perl so you can create and manipulate +user interfaces in Perl code in conjunction with Gtk2 and even Gnome2. Better +yet you can load a file's contents into a PERL scalar do a few magical regular +expressions to customize things and the load up the app. +It doesn't get any easier. + +Author: Ross McFarland <rwmcfa1 at neces dot com> +WWW: http://search.cpan.org/~rmcfarla/Gtk2-GladeXML/ diff --git a/x11-toolkits/p5-Glade2/pkg-plist b/x11-toolkits/p5-Glade2/pkg-plist index 2923e218f41e..ac1fcc1d0323 100644 --- a/x11-toolkits/p5-Glade2/pkg-plist +++ b/x11-toolkits/p5-Glade2/pkg-plist @@ -1,16 +1,10 @@ -%%SITE_PERL%%/%%PERL_ARCH%%/Gtk/GladeXML.pm -%%SITE_PERL%%/%%PERL_ARCH%%/Gtk/GladeXML/Types.pm -%%SITE_PERL%%/%%PERL_ARCH%%/Gtk/GladeXML/Install/Files.pm -%%SITE_PERL%%/%%PERL_ARCH%%/Gtk/GladeXML/Install/GtkGladeXMLTypemap -%%SITE_PERL%%/%%PERL_ARCH%%/Gtk/GladeXML/Install/GtkGladeXMLDefs.h -%%SITE_PERL%%/%%PERL_ARCH%%/Gtk/GladeXML/Install/PerlGtkGladeXMLInt.h -%%SITE_PERL%%/%%PERL_ARCH%%/Gtk/GladeXML/Install/pkg.typemap -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Gtk/GladeXML/.packlist -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Gtk/GladeXML/GladeXML.bs -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Gtk/GladeXML/GladeXML.so -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Gtk/GladeXML/autosplit.ix -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Gtk/GladeXML/Install -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Gtk/GladeXML -@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Gtk 2>/dev/null || true -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Gtk/GladeXML -@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Gtk 2>/dev/null || true +%%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/GladeXML/Install/gladexmlperl.typemap +%%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/GladeXML/Install/Files.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/GladeXML/Install/gladexmlperl.h +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/GladeXML/Install +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/GladeXML +%%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/GladeXML.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Gtk2/GladeXML/GladeXML.so +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Gtk2/GladeXML/GladeXML.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Gtk2/GladeXML/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Gtk2/GladeXML |