1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00

Add p5-Glib2 1.00,

this module provides access to Glib and GObject
libraries.

PR:		58605
Submitted by:	clsung@dragon2.net
This commit is contained in:
Vanilla I. Shu 2003-10-29 03:35:36 +00:00
parent 8af77f317e
commit 2dbc950e22
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=92517
5 changed files with 78 additions and 0 deletions

View File

@ -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

38
devel/p5-Glib2/Makefile Normal file
View File

@ -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>

1
devel/p5-Glib2/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (Glib-1.00.tar.gz) = 8c20a332f70d25f59c8baa054f643f2f

21
devel/p5-Glib2/pkg-descr Normal file
View File

@ -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/

17
devel/p5-Glib2/pkg-plist Normal file
View File

@ -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