diff options
author | vanilla <vanilla@FreeBSD.org> | 2003-10-29 11:38:10 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2003-10-29 11:38:10 +0800 |
commit | 5649a857e6b68447a60d4dd6e350c82be9c43442 (patch) | |
tree | db821fcc3d0ac6db715a90e9594b3c431d5d9266 /x11-toolkits | |
parent | 657ccefa30b1ee8e1573b4710d532d36b26d3328 (diff) | |
download | freebsd-ports-graphics-5649a857e6b68447a60d4dd6e350c82be9c43442.tar.gz freebsd-ports-graphics-5649a857e6b68447a60d4dd6e350c82be9c43442.tar.zst freebsd-ports-graphics-5649a857e6b68447a60d4dd6e350c82be9c43442.zip |
Add p5-Gtk2 1.00,
perl module for Gtk+ 2.x graphical user interface
library.
PR: 58607
Submitted by: clsung@dragon2.net
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/Makefile | 1 | ||||
-rw-r--r-- | x11-toolkits/p5-Gtk2/Makefile | 36 | ||||
-rw-r--r-- | x11-toolkits/p5-Gtk2/distinfo | 1 | ||||
-rw-r--r-- | x11-toolkits/p5-Gtk2/pkg-descr | 15 | ||||
-rw-r--r-- | x11-toolkits/p5-Gtk2/pkg-plist | 25 |
5 files changed, 78 insertions, 0 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile index 17bff494137..0568dcb5b96 100644 --- a/x11-toolkits/Makefile +++ b/x11-toolkits/Makefile @@ -121,6 +121,7 @@ SUBDIR += p5-Glade SUBDIR += p5-Gnome SUBDIR += p5-Gtk + SUBDIR += p5-Gtk2 SUBDIR += p5-GtkXmHTML SUBDIR += p5-Prima SUBDIR += p5-Tcl-Tk diff --git a/x11-toolkits/p5-Gtk2/Makefile b/x11-toolkits/p5-Gtk2/Makefile new file mode 100644 index 00000000000..894357cb150 --- /dev/null +++ b/x11-toolkits/p5-Gtk2/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: x11-toolkits/p5-Gtk2 +# Date created: Oct 27 2003 +# Whom: clsung@dragon2.net +# +# $FreeBSD$ +# + +PORTNAME= Gtk2 +PORTVERSION= 1.00 +CATEGORIES= x11-toolkits lang perl5 +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= gtk2-perl +PKGNAMEPREFIX= p5- + +MAINTAINER= clsung@dragon2.net +COMMENT= Perl module for Gtk+ 2.x graphical user interface library + +BUILD_DEPENDS= ${SITE_PERL}/ExtUtils/Depends.pm:${PORTSDIR}/devel/p5-ExtUtils-Depends \ + ${SITE_PERL}/ExtUtils/PkgConfig.pm:${PORTSDIR}/devel/p5-ExtUtils-PkgConfig \ + ${SITE_PERL}/${PERL_ARCH}/Glib.pm:${PORTSDIR}/devel/p5-Glib2 +RUN_DEPENDS= ${BUILD_DEPENDS} + +USE_GNOME= gtk20 +PERL_CONFIGURE= yes + +MAN3= Gtk2.3 Gtk2::devel.3 Gtk2::api.3 Gtk2::Pango.3 \ + Gtk2::Gdk::Keysyms.3 Gtk2::SimpleMenu.3 \ + Gtk2::Helper.3 Gtk2::SimpleList.3 Gtk2::CodeGen.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500800 +IGNORE= This port requires perl 5.8.0 or later. Install lang/perl5.8 then try again +.endif + +.include <bsd.port.post.mk> diff --git a/x11-toolkits/p5-Gtk2/distinfo b/x11-toolkits/p5-Gtk2/distinfo new file mode 100644 index 00000000000..9a8265cf794 --- /dev/null +++ b/x11-toolkits/p5-Gtk2/distinfo @@ -0,0 +1 @@ +MD5 (Gtk2-1.00.tar.gz) = a889fe12f1b3f05aa7d466f7efc81d49 diff --git a/x11-toolkits/p5-Gtk2/pkg-descr b/x11-toolkits/p5-Gtk2/pkg-descr new file mode 100644 index 00000000000..628d9145712 --- /dev/null +++ b/x11-toolkits/p5-Gtk2/pkg-descr @@ -0,0 +1,15 @@ +Perl bindings to the 2.x series of the Gtk+ graphical user interface library. +This module allows you to write graphical user interfaces in a perlish and +object-oriented way, freeing you from the casting and memory management in C, +yet remaining very close in spirit to original API. Find out more about Gtk+ +at http://www.gtk.org. + +The GTK+ Reference Manual is also a handy companion when writing Gtk +programs in any language. http://developer.gnome.org/doc/API/2.0/gtk/ +The perl bindings follow the C API very closely, and the C reference +documentation should be considered the canonical source. + +To discuss gtk2-perl, ask questions and flame/praise the authors, +join gtk-perl-list@gnome.org at lists.gnome.org. + +WWW: http://gtk2-perl.sourceforge.net/ diff --git a/x11-toolkits/p5-Gtk2/pkg-plist b/x11-toolkits/p5-Gtk2/pkg-plist new file mode 100644 index 00000000000..3608c1db5d9 --- /dev/null +++ b/x11-toolkits/p5-Gtk2/pkg-plist @@ -0,0 +1,25 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Gtk2/Gtk2.so +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Gtk2/Gtk2.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Gtk2/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/Gtk2.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/Install/Files.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/Install/gtk2perl.h +%%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/Install/gtk.typemap +%%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/Install/gtk2perl.typemap +%%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/Install/gdk.typemap +%%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/Install/gtk2perl-autogen.h +%%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/CodeGen.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/Helper.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/SimpleList.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/SimpleMenu.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/Pango.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/Gdk/Keysyms.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/api.pod +%%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/devel.pod +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Gtk2 +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/Install +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/Gdk +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Gtk2 +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/Install 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/Gdk 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Gtk2 2>/dev/null || true |