diff options
author | rh <rh@pkgsrc.org> | 2005-10-02 08:09:43 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2005-10-02 08:09:43 +0000 |
commit | 735a98c216d0b8c676584095a73046d6fafd5215 (patch) | |
tree | 25f9b52ddba2958c0df0e60cd8ee4c3fc779a87d /graphics | |
parent | 0dc2ef9a6ed942c25664f987d8151ce4f5b33166 (diff) | |
download | pkgsrc-735a98c216d0b8c676584095a73046d6fafd5215.tar.gz |
Enable the quartz backend on Darwin if Quartz.framework exists.
Bump PKGREVISION.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/cairo/Makefile | 12 | ||||
-rw-r--r-- | graphics/cairo/PLIST | 3 |
2 files changed, 13 insertions, 2 deletions
diff --git a/graphics/cairo/Makefile b/graphics/cairo/Makefile index a47f603d9f8..8d1c86280f6 100644 --- a/graphics/cairo/Makefile +++ b/graphics/cairo/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.23 2005/09/30 13:51:24 adam Exp $ +# $NetBSD: Makefile,v 1.24 2005/10/02 08:09:43 rh Exp $ DISTNAME= cairo-1.0.0 +PKGREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://cairographics.org/releases/ @@ -20,6 +21,15 @@ CONFIGURE_ARGS+= --enable-pdf CONFIGURE_ARGS+= --enable-ps CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "Darwin" && exists(/System/Library/Frameworks/Quartz.framework) +CONFIGURE_ARGS+= --enable-quartz +PLIST_SUBST+= QUARTZ= +.else +PLIST_SUBST+= QUARTZ="@comment " +.endif + BUILDLINK_DEPENDS.freetype2+= freetype2>=2.1.5 BUILDLINK_DEPENDS.Xft2+= Xft2>=2.1.2 BUILDLINK_DEPENDS.Xrender+= Xrender>=0.8 diff --git a/graphics/cairo/PLIST b/graphics/cairo/PLIST index c0986ba108f..6dfbf92f757 100644 --- a/graphics/cairo/PLIST +++ b/graphics/cairo/PLIST @@ -1,9 +1,10 @@ -@comment $NetBSD: PLIST,v 1.7 2005/09/30 13:51:24 adam Exp $ +@comment $NetBSD: PLIST,v 1.8 2005/10/02 08:09:43 rh Exp $ 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 include/cairo/cairo-xlib-xrender.h include/cairo/cairo-xlib.h include/cairo/cairo.h |