2003-10-28 22:35:36 -05:00
|
|
|
# New ports collection makefile for: p5-Glib2
|
|
|
|
# Date created: 26 Oct 2003
|
|
|
|
# Whom: clsung@dragon2.net
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= Glib2
|
2006-04-15 01:58:23 -04:00
|
|
|
PORTVERSION= 1.120
|
2003-10-28 22:35:36 -05:00
|
|
|
CATEGORIES= devel perl5
|
2004-03-31 21:29:37 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:S/$/:cpan/} \
|
|
|
|
${MASTER_SITE_SOURCEFORGE:S/$/:sf/}
|
2005-02-23 22:17:09 -05:00
|
|
|
MASTER_SITE_SUBDIR= ../by-authors/id/T/TS/TSCH/:cpan \
|
2004-03-31 21:29:37 -05:00
|
|
|
gtk2-perl/:sf
|
2003-10-28 22:35:36 -05:00
|
|
|
PKGNAMEPREFIX= p5-
|
2004-03-31 21:29:37 -05:00
|
|
|
DISTFILES= Glib-${PORTVERSION}${EXTRACT_SUFX}:cpan \
|
|
|
|
Glib-${PORTVERSION}${EXTRACT_SUFX}:sf
|
2003-10-28 22:35:36 -05:00
|
|
|
|
2004-08-19 22:56:44 -04:00
|
|
|
MAINTAINER= clsung@FreeBSD.org
|
2003-10-28 22:35:36 -05:00
|
|
|
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
|
|
|
|
|
|
|
|
USE_GNOME= glib20
|
|
|
|
PERL_CONFIGURE= yes
|
2004-03-31 21:03:36 -05:00
|
|
|
USE_GMAKE= yes
|
2004-04-01 23:27:45 -05:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME:S/2//}-${PORTVERSION}
|
2003-10-28 22:35:36 -05:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PERL_LEVEL} < 500800
|
2006-01-21 09:54:29 -05:00
|
|
|
IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 then try again
|
2003-10-28 22:35:36 -05:00
|
|
|
.endif
|
|
|
|
|
2004-04-20 03:56:02 -04:00
|
|
|
post-install:
|
|
|
|
@cd ${WRKSRC}/blib/man3 && ${FIND} * -name "*.3" | ${SED} \
|
|
|
|
's,^,${MAN3PREFIX:S,^${PREFIX}/,,}/man/man3/,' >> ${TMPPLIST}
|
|
|
|
|
2003-10-28 22:35:36 -05:00
|
|
|
.include <bsd.port.post.mk>
|