diff options
author | adam <adam@pkgsrc.org> | 2010-12-14 15:02:42 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2010-12-14 15:02:42 +0000 |
commit | a56668219222b87f43ec3b873ea6c05def7423de (patch) | |
tree | 855bdc443d540b7fa15c42a823a55e3759591adc /graphics/cairomm | |
parent | be18d380c11cac9e82cadd0b29b1473652d8f294 (diff) | |
download | pkgsrc-a56668219222b87f43ec3b873ea6c05def7423de.tar.gz |
Conditional PLIST depending on x11 option in cairo and building on Darwin
Diffstat (limited to 'graphics/cairomm')
-rw-r--r-- | graphics/cairomm/Makefile | 13 | ||||
-rw-r--r-- | graphics/cairomm/PLIST | 9 |
2 files changed, 18 insertions, 4 deletions
diff --git a/graphics/cairomm/Makefile b/graphics/cairomm/Makefile index 4bbb6a9420e..9dd8eae2cd8 100644 --- a/graphics/cairomm/Makefile +++ b/graphics/cairomm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2010/11/23 17:39:14 wiz Exp $ +# $NetBSD: Makefile,v 1.16 2010/12/14 15:02:42 adam Exp $ DISTNAME= cairomm-1.8.6 CATEGORIES= graphics @@ -33,7 +33,18 @@ PKGCONFIG_OVERRIDE+= data/cairomm-xlib-xrender-1.0.pc.in CONFIGURE_ARGS+= --disable-docs +PLIST_VARS+= quartz x11 + +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "Darwin" +PLIST.quartz= yes +.endif + .include "../../devel/libsigc++/buildlink3.mk" BUILDLINK_API_DEPENDS.cairo+= cairo>=1.8 .include "../../graphics/cairo/buildlink3.mk" +.if !empty(PKG_BUILD_OPTIONS.cairo:Mx11) +PLIST.x11= yes +.endif .include "../../mk/bsd.pkg.mk" diff --git a/graphics/cairomm/PLIST b/graphics/cairomm/PLIST index 840bb832da5..54dd9811d26 100644 --- a/graphics/cairomm/PLIST +++ b/graphics/cairomm/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.7 2010/11/23 17:39:14 wiz Exp $ +@comment $NetBSD: PLIST,v 1.8 2010/12/14 15:02:42 adam Exp $ include/cairomm-1.0/cairomm/cairomm.h include/cairomm-1.0/cairomm/context.h include/cairomm-1.0/cairomm/enums.h @@ -21,12 +21,15 @@ lib/cairomm-1.0/include/cairommconfig.h lib/libcairomm-1.0.la lib/pkgconfig/cairomm-1.0.pc lib/pkgconfig/cairomm-ft-1.0.pc +${PLIST.quartz}lib/pkgconfig/cairomm-quartz-1.0.pc +${PLIST.quartz}lib/pkgconfig/cairomm-quartz-font-1.0.pc +${PLIST.quartz}lib/pkgconfig/cairomm-quartz-image-1.0.pc lib/pkgconfig/cairomm-pdf-1.0.pc lib/pkgconfig/cairomm-png-1.0.pc lib/pkgconfig/cairomm-ps-1.0.pc lib/pkgconfig/cairomm-svg-1.0.pc -lib/pkgconfig/cairomm-xlib-1.0.pc -lib/pkgconfig/cairomm-xlib-xrender-1.0.pc +${PLIST.x11}lib/pkgconfig/cairomm-xlib-1.0.pc +${PLIST.x11}lib/pkgconfig/cairomm-xlib-xrender-1.0.pc share/devhelp/books/cairomm-1.0/cairomm-1.0.devhelp2 share/doc/cairomm-1.0/reference/cairomm-1.0.tag share/doc/cairomm-1.0/reference/html/annotated.html |