From 1aaeda9c3366fce56a81e3eebc03865176db3106 Mon Sep 17 00:00:00 2001 From: marcus Date: Sun, 30 Mar 2008 02:13:35 +0000 Subject: Allow this port to build with cairo 1.5. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10842 df743ca5-7f9a-e211-a948-0013205c9059 --- graphics/p5-Cairo/Makefile | 30 ++++++++++++++++++++++++++++++ graphics/p5-Cairo/distinfo | 3 +++ graphics/p5-Cairo/files/patch-Makefile.PL | 11 +++++++++++ graphics/p5-Cairo/pkg-descr | 3 +++ graphics/p5-Cairo/pkg-plist | 13 +++++++++++++ 5 files changed, 60 insertions(+) create mode 100644 graphics/p5-Cairo/Makefile create mode 100644 graphics/p5-Cairo/distinfo create mode 100644 graphics/p5-Cairo/files/patch-Makefile.PL create mode 100644 graphics/p5-Cairo/pkg-descr create mode 100644 graphics/p5-Cairo/pkg-plist (limited to 'graphics/p5-Cairo') diff --git a/graphics/p5-Cairo/Makefile b/graphics/p5-Cairo/Makefile new file mode 100644 index 000000000..f692174f3 --- /dev/null +++ b/graphics/p5-Cairo/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: p5-Cairo +# Date created: 2005-08-18 +# Whom: Michael Johnson +# +# $FreeBSD: ports/graphics/p5-Cairo/Makefile,v 1.15 2008/03/25 14:38:25 ahze Exp $ +# $MCom: ports/graphics/p5-Cairo/Makefile,v 1.8 2007/02/16 18:14:25 mezz Exp $ +# + +PORTNAME= Cairo +PORTVERSION= 1.053 +PORTREVISION= 2 +CATEGORIES= graphics perl5 +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= gtk2-perl +PKGNAMEPREFIX= p5- + +MAINTAINER= ahze@FreeBSD.org +COMMENT= Perl bindings to the cairo graphics 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}/Test/Number/Delta.pm:${PORTSDIR}/devel/p5-Test-Number-Delta +LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Cairo.3 + +.include diff --git a/graphics/p5-Cairo/distinfo b/graphics/p5-Cairo/distinfo new file mode 100644 index 000000000..b1ef2de4f --- /dev/null +++ b/graphics/p5-Cairo/distinfo @@ -0,0 +1,3 @@ +MD5 (Cairo-1.053.tar.gz) = ae340e60d356c7ee88f4f249d037c3d8 +SHA256 (Cairo-1.053.tar.gz) = 195c937210b48cab57310aa0d31d06aff313ad495240da254a27a6c303754b87 +SIZE (Cairo-1.053.tar.gz) = 89870 diff --git a/graphics/p5-Cairo/files/patch-Makefile.PL b/graphics/p5-Cairo/files/patch-Makefile.PL new file mode 100644 index 000000000..ac74e9aed --- /dev/null +++ b/graphics/p5-Cairo/files/patch-Makefile.PL @@ -0,0 +1,11 @@ +--- Makefile.PL.orig 2008-03-25 10:36:32.000000000 -0400 ++++ Makefile.PL 2008-03-25 10:36:45.000000000 -0400 +@@ -236,7 +236,7 @@ + CAIRO_FONT_TYPE_TOY + CAIRO_FONT_TYPE_FT + CAIRO_FONT_TYPE_WIN32 +- CAIRO_FONT_TYPE_ATSUI ++ CAIRO_FONT_TYPE_QUARTZ + /]; + + $enums{cairo_pattern_type_t} = [qw/ diff --git a/graphics/p5-Cairo/pkg-descr b/graphics/p5-Cairo/pkg-descr new file mode 100644 index 000000000..ba29e98df --- /dev/null +++ b/graphics/p5-Cairo/pkg-descr @@ -0,0 +1,3 @@ +Perl bindings to the cairo graphics library + +WWW: http://gtk2-perl.sourceforge.net/ diff --git a/graphics/p5-Cairo/pkg-plist b/graphics/p5-Cairo/pkg-plist new file mode 100644 index 000000000..24968b1cb --- /dev/null +++ b/graphics/p5-Cairo/pkg-plist @@ -0,0 +1,13 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/Cairo.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Cairo/Install/Files.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Cairo/Install/cairo-perl-auto.h +%%SITE_PERL%%/%%PERL_ARCH%%/Cairo/Install/cairo-perl-auto.typemap +%%SITE_PERL%%/%%PERL_ARCH%%/Cairo/Install/cairo-perl.h +%%SITE_PERL%%/%%PERL_ARCH%%/Cairo/Install/cairo-perl.typemap +%%SITE_PERL%%/%%PERL_ARCH%%/Cairo/Install/doctypes +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cairo/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cairo/Cairo.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cairo/Cairo.so +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Cairo +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Cairo/Install +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Cairo -- cgit v1.2.3