2003-10-29 04:38:10 +01:00
|
|
|
# New ports collection makefile for: x11-toolkits/p5-Gtk2
|
|
|
|
# Date created: Oct 27 2003
|
|
|
|
# Whom: clsung@dragon2.net
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= Gtk2
|
2006-04-17 09:15:25 +02:00
|
|
|
PORTVERSION= 1.121
|
2003-10-29 04:38:10 +01:00
|
|
|
CATEGORIES= x11-toolkits lang perl5
|
2004-04-01 04:33:30 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:S/$/:cpan/} \
|
|
|
|
${MASTER_SITE_SOURCEFORGE:S/$/:sf/}
|
2005-03-20 18:31:39 +01:00
|
|
|
MASTER_SITE_SUBDIR= ../by-authors/id/T/TS/TSCH/:cpan \
|
2004-04-01 04:33:30 +02:00
|
|
|
gtk2-perl/:sf
|
2003-10-29 04:38:10 +01:00
|
|
|
PKGNAMEPREFIX= p5-
|
2004-04-01 04:33:30 +02:00
|
|
|
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:cpan \
|
|
|
|
${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:sf
|
2003-10-29 04:38:10 +01:00
|
|
|
|
2004-08-20 04:56:44 +02:00
|
|
|
MAINTAINER= clsung@FreeBSD.org
|
2003-10-29 04:38:10 +01:00
|
|
|
COMMENT= Perl module for Gtk+ 2.x graphical user interface library
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/ExtUtils/Depends.pm:${PORTSDIR}/devel/p5-ExtUtils-Depends \
|
|
|
|
${SITE_PERL}/ExtUtils/PkgConfig.pm:${PORTSDIR}/devel/p5-ExtUtils-PkgConfig \
|
|
|
|
${SITE_PERL}/${PERL_ARCH}/Glib.pm:${PORTSDIR}/devel/p5-Glib2
|
2004-04-01 04:33:30 +02:00
|
|
|
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Glib.pm:${PORTSDIR}/devel/p5-Glib2
|
2003-10-29 04:38:10 +01:00
|
|
|
|
2004-04-01 04:33:30 +02:00
|
|
|
USE_GNOME= gtk20 pango
|
2003-10-29 04:38:10 +01:00
|
|
|
PERL_CONFIGURE= yes
|
2004-01-02 10:25:47 +01:00
|
|
|
USE_GMAKE= yes
|
2003-10-29 04:38:10 +01:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PERL_LEVEL} < 500800
|
2006-04-17 09:15:25 +02:00
|
|
|
IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 then try again
|
2003-10-29 04:38:10 +01:00
|
|
|
.endif
|
|
|
|
|
2004-04-01 04:33:30 +02:00
|
|
|
post-install:
|
|
|
|
@cd ${WRKSRC}/blib/man3 && ${FIND} * -name "*.3" | ${SED} \
|
|
|
|
's,^,${MAN3PREFIX:S,^${PREFIX}/,,}/man/man3/,' >> ${TMPPLIST}
|
|
|
|
|
2003-10-29 04:38:10 +01:00
|
|
|
.include <bsd.port.post.mk>
|