diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-05-19 00:40:21 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-05-19 00:40:21 +0800 |
commit | 808f7780a6c5085386b3c25f72baa7583ca3f3be (patch) | |
tree | f21b58964cc6ac2d07998cd762ba59c3ef838f7a /graphics | |
parent | 497bb6b0b32913cf3b663a992af0f8846d6a8c76 (diff) | |
download | marcuscom-ports-808f7780a6c5085386b3c25f72baa7583ca3f3be.tar marcuscom-ports-808f7780a6c5085386b3c25f72baa7583ca3f3be.tar.gz marcuscom-ports-808f7780a6c5085386b3c25f72baa7583ca3f3be.tar.bz2 marcuscom-ports-808f7780a6c5085386b3c25f72baa7583ca3f3be.tar.lz marcuscom-ports-808f7780a6c5085386b3c25f72baa7583ca3f3be.tar.xz marcuscom-ports-808f7780a6c5085386b3c25f72baa7583ca3f3be.tar.zst marcuscom-ports-808f7780a6c5085386b3c25f72baa7583ca3f3be.zip |
- 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
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/cairo/Makefile | 53 | ||||
-rw-r--r-- | graphics/cairo/distinfo | 2 | ||||
-rw-r--r-- | graphics/cairo/pkg-descr | 13 | ||||
-rw-r--r-- | graphics/cairo/pkg-plist | 13 |
4 files changed, 81 insertions, 0 deletions
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 <ahze@FreeBSD.org> +# +# $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 <bsd.port.pre.mk> + +.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 <bsd.port.post.mk> 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 |