ports/58605: New port: devel/p5-Glib
Cheng-Lung Sung
clsung at dragon2.net
Tue Oct 28 04:20:22 UTC 2003
>Number: 58605
>Category: ports
>Synopsis: New port: devel/p5-Glib
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 27 20:20:19 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Cheng-Lung Sung
>Release: FreeBSD 4.8-RELEASE-p13 i386
>Organization:
FreeBSD @ Taiwan
>Environment:
System: FreeBSD sungsung.csie.nctu.edu.tw 4.8-RELEASE-p13 FreeBSD 4.8-RELEASE-p13 #3: Wed Oct 8 07:32:16 CST 2003 root at sungsung.csie.nctu.edu.tw:/usr/obj/usr/src/sys/SUNGSUNG i386
>Description:
New port:
This module provides perl access to Glib and GLib's GObject libraries
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# p5-Glib
# p5-Glib/Makefile
# p5-Glib/distinfo
# p5-Glib/pkg-descr
# p5-Glib/pkg-plist
#
echo c - p5-Glib
mkdir -p p5-Glib > /dev/null 2>&1
echo x - p5-Glib/Makefile
sed 's/^X//' >p5-Glib/Makefile << 'END-of-p5-Glib/Makefile'
X# New ports collection makefile for: p5-Glib
X# Date created: Oct 27 2003
X# Whom: clsung at dragon2.net
X#
X# $FreeBSD$
X#
X
XPORTNAME= Glib
XPORTVERSION= 1.00
XCATEGORIES= devel perl5
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= gtk2-perl/${PORTNAME}
X
XMAINTAINER= clsung at dragon2.net
XCOMMENT= This module provides access to Glib and GObject libraries
X
XBUILD_DEPENDS= ${SITE_PERL}/ExtUtils/Depends.pm:${PORTSDIR}/devel/p5-ExtUtils-Depends \
X ${SITE_PERL}/ExtUtils/PkgConfig.pm:${PORTSDIR}/devel/p5-ExtUtils-PkgConfig
XRUN_DEPENDS= ${BUILD_DEPENDS}
XLIB_DEPENDS+= gnome.5:${PORTSDIR}/x11/gnomelibs \
X glib-2.0.200:${PORTSDIR}/devel/glib20
X
XPERL_CONFIGURE= yes
X
XMAN3= Glib.3 \
X Glib::Object::Subclass.3 \
X Glib::devel.3 \
X Glib::xsapi.3
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500800
XIGNORE= This port requires perl 5.8.0 or later. Install lang/perl5.8 then try again
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-Glib/Makefile
echo x - p5-Glib/distinfo
sed 's/^X//' >p5-Glib/distinfo << 'END-of-p5-Glib/distinfo'
XMD5 (Glib-1.00.tar.gz) = 8c20a332f70d25f59c8baa054f643f2f
END-of-p5-Glib/distinfo
echo x - p5-Glib/pkg-descr
sed 's/^X//' >p5-Glib/pkg-descr << 'END-of-p5-Glib/pkg-descr'
XFrom README
X
XThis module provides perl access to Glib and GLib's GObject libraries.
XGLib is a portability and utility library; GObject provides a generic
Xtype system with inheritance and a powerful signal system. Together
Xthese libraries are used as the foundation for many of the libraries
Xthat make up the Gnome environment, and are used in many unrelated
Xprojects.
X
XThis wrapper attempts to provide a perlish interface while remaining
Xas true as possible to the underlying C API, so that any reference
Xmaterials you can find on using GLib may still apply to using the
Xlibraries from perl. Where GLib's functionality overlaps perl's,
Xperl's is favored; for example, you will find perl lists and arrays in
Xplace of GSList or GList objects. Some concepts have been eliminated;
Xyou need never worry about reference-counting on GObjects or GBoxed
Xstructures. Other concepts have been converted to a perlish analogy;
Xthe GType id will never be seen in perl, as the package name serves
Xthat purpose. [FIXME link to a document describing this stuff in detail.]
X
XWWW: http://gtk2-perl.sourceforge.net/
END-of-p5-Glib/pkg-descr
echo x - p5-Glib/pkg-plist
sed 's/^X//' >p5-Glib/pkg-plist << 'END-of-p5-Glib/pkg-plist'
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Glib/Glib.so
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Glib/Glib.bs
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Glib/.packlist
X%%SITE_PERL%%/%%PERL_ARCH%%/Glib.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/Glib/Install/Files.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/Glib/Install/gperl.h
X%%SITE_PERL%%/%%PERL_ARCH%%/Glib/Install/typemap
X%%SITE_PERL%%/%%PERL_ARCH%%/Glib/devel.pod
X%%SITE_PERL%%/%%PERL_ARCH%%/Glib/xsapi.pod
X%%SITE_PERL%%/%%PERL_ARCH%%/Glib/Object/Subclass.pm
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Glib
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Glib/Install
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Glib/Object
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Glib
X at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Glib/Install 2>/dev/null || true
X at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Glib/Object 2>/dev/null || true
X at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Glib 2>/dev/null || true
END-of-p5-Glib/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list