diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2003-10-29 03:35:36 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2003-10-29 03:35:36 +0000 |
commit | 2dbc950e224041edc8d1da60f01c5903d282fb95 (patch) | |
tree | 06b9b388134b7ef5587c6fd21aac79bf5d759fc3 /devel/p5-Glib2 | |
parent | 8af77f317e49addd4ca13dd4d284df2bbe6e483c (diff) | |
download | ports-2dbc950e224041edc8d1da60f01c5903d282fb95.tar.gz ports-2dbc950e224041edc8d1da60f01c5903d282fb95.zip |
Notes
Diffstat (limited to 'devel/p5-Glib2')
-rw-r--r-- | devel/p5-Glib2/Makefile | 38 | ||||
-rw-r--r-- | devel/p5-Glib2/distinfo | 1 | ||||
-rw-r--r-- | devel/p5-Glib2/pkg-descr | 21 | ||||
-rw-r--r-- | devel/p5-Glib2/pkg-plist | 17 |
4 files changed, 77 insertions, 0 deletions
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 |