freebsd-ports/devel/p5-Glib2/Makefile
Mark Linimon 9839011ec3 Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.

Work done by:	gabor
Sponsored by:	Google Summer of Code 2007
Hat:		portmgr
2007-09-08 01:12:10 +00:00

29 lines
790 B
Makefile

# New ports collection makefile for: p5-Glib2
# Date created: 26 Oct 2003
# Whom: clsung@dragon2.net
#
# $FreeBSD$
#
PORTNAME= Glib2
PORTVERSION= 1.144
CATEGORIES= devel perl5
MASTER_SITES= CPAN/Glib SF/gtk2-perl
PKGNAMEPREFIX= p5-
DISTNAME= Glib-${PORTVERSION}
MAINTAINER= clsung@FreeBSD.org
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
WRKSRC= ${WRKDIR}/${PORTNAME:S/2//}-${PORTVERSION}
post-install:
@cd ${WRKSRC}/blib/man3 && ${FIND} * -name "*.3" | ${SED} \
's,^,${MAN3PREFIX:S,^${PREFIX}/,,}/man/man3/,' >> ${TMPPLIST}
.include <bsd.port.mk>