aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2003-10-29 11:35:36 +0800
committervanilla <vanilla@FreeBSD.org>2003-10-29 11:35:36 +0800
commitd6401f2a791d9004699fbd5f5b3225b65f493bb2 (patch)
treed2ef12859b22f3c170ae7db7cfa4705a81566368 /devel
parentc38a12a3308743e47d1eddc109b9824fccdecb70 (diff)
downloadfreebsd-ports-gnome-d6401f2a791d9004699fbd5f5b3225b65f493bb2.tar.gz
freebsd-ports-gnome-d6401f2a791d9004699fbd5f5b3225b65f493bb2.tar.zst
freebsd-ports-gnome-d6401f2a791d9004699fbd5f5b3225b65f493bb2.zip
Add p5-Glib2 1.00,
this module provides access to Glib and GObject libraries. PR: 58605 Submitted by: clsung@dragon2.net
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Glib2/Makefile38
-rw-r--r--devel/p5-Glib2/distinfo1
-rw-r--r--devel/p5-Glib2/pkg-descr21
-rw-r--r--devel/p5-Glib2/pkg-plist17
5 files changed, 78 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index c5a71f337741..d66521f523fb 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -673,6 +673,7 @@
SUBDIR += p5-Getopt-Long
SUBDIR += p5-Getopt-Mixed
SUBDIR += p5-Glade-Perl
+ SUBDIR += p5-Glib2
SUBDIR += p5-Heap
SUBDIR += p5-IO
SUBDIR += p5-IO-Multiplex
diff --git a/devel/p5-Glib2/Makefile b/devel/p5-Glib2/Makefile
new file mode 100644
index 000000000000..ffa2a98f4b9e
--- /dev/null
+++ b/devel/p5-Glib2/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: p5-Glib2
+# Date created: 26 Oct 2003
+# Whom: clsung@dragon2.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= Glib2
+PORTVERSION= 1.00
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= gtk2-perl
+PKGNAMEPREFIX= p5-
+DISTNAME= Glib-${PORTVERSION}
+
+MAINTAINER= clsung@dragon2.net
+COMMENT= This module provides access to Glib and GObject libraries
+
+BUILD_DEPENDS= ${SITE_PERL}/ExtUtils/PkgConfig.pm:${PORTSDIR}/devel/p5-ExtUtils-PkgConfig \
+ ${SITE_PERL}/ExtUtils/Depends.pm:${PORTSDIR}/devel/p5-ExtUtils-Depends
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_GNOME= glib20
+PERL_CONFIGURE= yes
+CONFIGURE_ARGS+= disable-threadsafe
+
+MAN3= Glib.3 \
+ Glib::Object::Subclass.3 \
+ Glib::devel.3 \
+ Glib::xsapi.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/devel/p5-Glib2/distinfo b/devel/p5-Glib2/distinfo
new file mode 100644
index 000000000000..d371ec2badff
--- /dev/null
+++ b/devel/p5-Glib2/distinfo
@@ -0,0 +1 @@
+MD5 (Glib-1.00.tar.gz) = 8c20a332f70d25f59c8baa054f643f2f
diff --git a/devel/p5-Glib2/pkg-descr b/devel/p5-Glib2/pkg-descr
new file mode 100644
index 000000000000..82455b62a806
--- /dev/null
+++ b/devel/p5-Glib2/pkg-descr
@@ -0,0 +1,21 @@
+From README
+
+This module provides perl access to Glib and GLib's GObject libraries.
+GLib is a portability and utility library; GObject provides a generic
+type system with inheritance and a powerful signal system. Together
+these libraries are used as the foundation for many of the libraries
+that make up the Gnome environment, and are used in many unrelated
+projects.
+
+This wrapper attempts to provide a perlish interface while remaining
+as true as possible to the underlying C API, so that any reference
+materials you can find on using GLib may still apply to using the
+libraries from perl. Where GLib's functionality overlaps perl's,
+perl's is favored; for example, you will find perl lists and arrays in
+place of GSList or GList objects. Some concepts have been eliminated;
+you need never worry about reference-counting on GObjects or GBoxed
+structures. Other concepts have been converted to a perlish analogy;
+the GType id will never be seen in perl, as the package name serves
+that purpose. [FIXME link to a document describing this stuff in detail.]
+
+WWW: http://gtk2-perl.sourceforge.net/
diff --git a/devel/p5-Glib2/pkg-plist b/devel/p5-Glib2/pkg-plist
new file mode 100644
index 000000000000..141db21b9439
--- /dev/null
+++ b/devel/p5-Glib2/pkg-plist
@@ -0,0 +1,17 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Glib/Glib.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Glib/Glib.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Glib/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/Glib.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Glib/Install/Files.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Glib/Install/gperl.h
+%%SITE_PERL%%/%%PERL_ARCH%%/Glib/Install/typemap
+%%SITE_PERL%%/%%PERL_ARCH%%/Glib/devel.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/Glib/xsapi.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/Glib/Object/Subclass.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Glib
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Glib/Install
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Glib/Object
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Glib
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Glib/Install 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Glib/Object 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Glib 2>/dev/null || true