summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-07-23 05:08:49 +0000
committerminskim <minskim@pkgsrc.org>2006-07-23 05:08:49 +0000
commitc401c8d184369ec96fb145ce8dea79e89c160d60 (patch)
tree20f94087a4a06fbc8c568ec020246c9bc5a489f6 /graphics
parente6494cea5f0f5eb5774d4244a75844228ffa6e69 (diff)
downloadpkgsrc-c401c8d184369ec96fb145ce8dea79e89c160d60.tar.gz
Enable the atsui backend if the Carbon framework is available.
Bump PKGREVISION.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/cairo/Makefile10
-rw-r--r--graphics/cairo/PLIST8
2 files changed, 10 insertions, 8 deletions
diff --git a/graphics/cairo/Makefile b/graphics/cairo/Makefile
index 17567578721..dc3bdbdcb93 100644
--- a/graphics/cairo/Makefile
+++ b/graphics/cairo/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.40 2006/07/23 04:07:34 minskim Exp $
+# $NetBSD: Makefile,v 1.41 2006/07/23 05:08:49 minskim Exp $
DISTNAME= cairo-1.2.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://cairographics.org/releases/
@@ -14,7 +14,6 @@ USE_PKGLOCALEDIR= yes
USE_TOOLS+= pkg-config
PKGCONFIG_OVERRIDE+= src/cairo.pc.in src/cairo-backend.pc.in
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --disable-atsui
CONFIGURE_ARGS+= --disable-xcb
CONFIGURE_ARGS+= --enable-glitz
CONFIGURE_ARGS+= --enable-pdf
@@ -23,9 +22,10 @@ CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc
.if exists(/System/Library/Frameworks/Carbon.framework)
CONFIGURE_ARGS+= --enable-quartz
-PLIST_SUBST+= QUARTZ=
+CONFIGURE_ARGS+= --enable-atsui
+PLIST_SUBST+= CARBON=
.else
-PLIST_SUBST+= QUARTZ="@comment "
+PLIST_SUBST+= CARBON="@comment "
.endif
.include "options.mk"
diff --git a/graphics/cairo/PLIST b/graphics/cairo/PLIST
index 61f77859db0..21502833616 100644
--- a/graphics/cairo/PLIST
+++ b/graphics/cairo/PLIST
@@ -1,21 +1,23 @@
-@comment $NetBSD: PLIST,v 1.11 2006/07/23 04:07:34 minskim Exp $
+@comment $NetBSD: PLIST,v 1.12 2006/07/23 05:08:49 minskim Exp $
+${CARBON}include/cairo/cairo-atsui.h
include/cairo/cairo-features.h
include/cairo/cairo-ft.h
include/cairo/cairo-glitz.h
include/cairo/cairo-pdf.h
include/cairo/cairo-ps.h
-${QUARTZ}include/cairo/cairo-quartz.h
+${CARBON}include/cairo/cairo-quartz.h
include/cairo/cairo-svg.h
${X11}include/cairo/cairo-xlib-xrender.h
${X11}include/cairo/cairo-xlib.h
include/cairo/cairo.h
lib/libcairo.la
+${CARBON}lib/pkgconfig/cairo-atsui.pc
lib/pkgconfig/cairo-ft.pc
lib/pkgconfig/cairo-glitz.pc
lib/pkgconfig/cairo-pdf.pc
lib/pkgconfig/cairo-png.pc
lib/pkgconfig/cairo-ps.pc
-${QUARTZ}lib/pkgconfig/cairo-quartz.pc
+${CARBON}lib/pkgconfig/cairo-quartz.pc
lib/pkgconfig/cairo-svg.pc
${X11}lib/pkgconfig/cairo-xlib-xrender.pc
${X11}lib/pkgconfig/cairo-xlib.pc