From 808f7780a6c5085386b3c25f72baa7583ca3f3be Mon Sep 17 00:00:00 2001 From: ahze Date: Wed, 18 May 2005 16:40:21 +0000 Subject: - Readd cairo at version 0.5.0 This can probably be added to ports in a few days but the API has changed a good bit so I am adding here until we can test all the ports that use cairo. Release Notes: http://lists.freedesktop.org/archives/cairo-announce/2005-May/000014.html Porting Guide: http://lists.freedesktop.org/archives/cairo-announce/2005-May/000015.html git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3984 df743ca5-7f9a-e211-a948-0013205c9059 --- graphics/cairo/Makefile | 53 ++++++++++++++++++++++++++++++++++++++++++++++++ graphics/cairo/distinfo | 2 ++ graphics/cairo/pkg-descr | 13 ++++++++++++ graphics/cairo/pkg-plist | 13 ++++++++++++ 4 files changed, 81 insertions(+) create mode 100644 graphics/cairo/Makefile create mode 100644 graphics/cairo/distinfo create mode 100644 graphics/cairo/pkg-descr create mode 100644 graphics/cairo/pkg-plist (limited to 'graphics/cairo') diff --git a/graphics/cairo/Makefile b/graphics/cairo/Makefile new file mode 100644 index 000000000..0c752de9b --- /dev/null +++ b/graphics/cairo/Makefile @@ -0,0 +1,53 @@ +# New ports collection makefile for: cairo +# Date created: 2004-10-06 +# Whom: Michael Johnson +# +# $FreeBSD: ports/graphics/cairo/Makefile,v 1.12 2005/03/10 18:31:38 ahze Exp $ +# + +PORTNAME= cairo +PORTVERSION= 0.5.0 +CATEGORIES= graphics +MASTER_SITES= http://cairographics.org/snapshots/ + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Vector graphics library with cross-device output support + +LIB_DEPENDS= pixman.1:${PORTSDIR}/graphics/libpixman \ + freetype.9:${PORTSDIR}/print/freetype2 \ + png.5:${PORTSDIR}/graphics/png \ + fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig + +USE_GNOME= gnometarget gnomehack +USE_LIBTOOL_VER=15 +INSTALLS_SHLIB= yes + +CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${X11BASE}/include" \ + LDFLAGS="${PTHREAD_LIBS}" + +OPTIONS+= GLITZ "Enable Glitz OpenGL Support" On + +.include + +.if !defined(WITHOUT_GLITZ) +LIB_DEPENDS+= glitz-glx.1:${PORTSDIR}/graphics/glitz +PLIST_SUB+= GLITZ="" +.else +PLIST_SUB+= GLITZ="@comment " +.endif + +.if defined(WITHOUT_X11) +CONFIGURE_ARGS+=--disable-xlib +PLIST_SUB+= X11="@comment " +.else +USE_XLIB= yes +PLIST_SUB+= X11="" +.endif + +post-patch: +.if ${OSVERSION} < 500000 + @${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' \ + ${WRKSRC}/src/*.* +.endif + +.include diff --git a/graphics/cairo/distinfo b/graphics/cairo/distinfo new file mode 100644 index 000000000..20bc83890 --- /dev/null +++ b/graphics/cairo/distinfo @@ -0,0 +1,2 @@ +MD5 (cairo-0.5.0.tar.gz) = cf39f429026498128fd4711cf4b824bf +SIZE (cairo-0.5.0.tar.gz) = 932914 diff --git a/graphics/cairo/pkg-descr b/graphics/cairo/pkg-descr new file mode 100644 index 000000000..4fd137a19 --- /dev/null +++ b/graphics/cairo/pkg-descr @@ -0,0 +1,13 @@ +Cairo is a vector graphics library with cross-device output +support. Currently supported output targets include the X Window +System and in-memory image buffers. PostScript and PDF file output is +planned. Cairo is designed to produce identical output on all output +media while taking advantage of display hardware acceleration when +available (eg. through the X Render Extension). + +Cairo provides a stateful user-level API with capabilities similar to +the PDF 1.4 imaging model. Cairo provides operations including stroking +and filling Bezier cubic splines, transforming and compositing translucent +images, and antialiased text rendering. + +WWW: http://www.cairographics.org diff --git a/graphics/cairo/pkg-plist b/graphics/cairo/pkg-plist new file mode 100644 index 000000000..80a575f88 --- /dev/null +++ b/graphics/cairo/pkg-plist @@ -0,0 +1,13 @@ +include/cairo/cairo-features.h +include/cairo/cairo-ft.h +%%GLITZ%%include/cairo/cairo-glitz.h +include/cairo/cairo-pdf.h +include/cairo/cairo-ps.h +%%X11%%include/cairo/cairo-xlib-xrender.h +%%X11%%include/cairo/cairo-xlib.h +include/cairo/cairo.h +lib/libcairo.a +lib/libcairo.so +lib/libcairo.so.1 +libdata/pkgconfig/cairo.pc +@dirrm include/cairo -- cgit v1.2.3