summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-03-30 10:13:35 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-03-30 10:13:35 +0800
commit1aaeda9c3366fce56a81e3eebc03865176db3106 (patch)
tree1bf49c9efd026f2d227e5809d3c248a62b440035
parent9111e19ca8baf74881bf4c660eea09668e1cbf0a (diff)
downloadmarcuscom-ports-1aaeda9c3366fce56a81e3eebc03865176db3106.tar
marcuscom-ports-1aaeda9c3366fce56a81e3eebc03865176db3106.tar.gz
marcuscom-ports-1aaeda9c3366fce56a81e3eebc03865176db3106.tar.bz2
marcuscom-ports-1aaeda9c3366fce56a81e3eebc03865176db3106.tar.lz
marcuscom-ports-1aaeda9c3366fce56a81e3eebc03865176db3106.tar.xz
marcuscom-ports-1aaeda9c3366fce56a81e3eebc03865176db3106.tar.zst
marcuscom-ports-1aaeda9c3366fce56a81e3eebc03865176db3106.zip
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
-rw-r--r--graphics/p5-Cairo/Makefile30
-rw-r--r--graphics/p5-Cairo/distinfo3
-rw-r--r--graphics/p5-Cairo/files/patch-Makefile.PL11
-rw-r--r--graphics/p5-Cairo/pkg-descr3
-rw-r--r--graphics/p5-Cairo/pkg-plist13
5 files changed, 60 insertions, 0 deletions
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 <ahze@FreeBSD.org>
+#
+# $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 <bsd.port.mk>
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