diff options
author | dogcow <dogcow@pkgsrc.org> | 2007-10-28 16:43:00 +0000 |
---|---|---|
committer | dogcow <dogcow@pkgsrc.org> | 2007-10-28 16:43:00 +0000 |
commit | 72233bf6bd90d91a246fcfa427663e58664466ee (patch) | |
tree | 8b8eb9c17e151edfe0d549a94dec0d81bae3d358 /graphics/gimp | |
parent | bd9c7df56aae85a63a858d05d268be20044a0d5c (diff) | |
download | pkgsrc-72233bf6bd90d91a246fcfa427663e58664466ee.tar.gz |
options-ify svg and mng; the former pulls in a whole lot of gnome
infrastructure, the latter ain't very commonly used.
Both default to being active.
Diffstat (limited to 'graphics/gimp')
-rw-r--r-- | graphics/gimp/Makefile | 4 | ||||
-rw-r--r-- | graphics/gimp/PLIST | 6 | ||||
-rw-r--r-- | graphics/gimp/options.mk | 20 |
3 files changed, 21 insertions, 9 deletions
diff --git a/graphics/gimp/Makefile b/graphics/gimp/Makefile index 874254dc63f..1e838de270a 100644 --- a/graphics/gimp/Makefile +++ b/graphics/gimp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.162 2007/10/25 21:06:15 adam Exp $ +# $NetBSD: Makefile,v 1.163 2007/10/28 16:43:00 dogcow Exp $ DISTNAME= gimp-2.4.0 CATEGORIES= graphics @@ -64,8 +64,6 @@ PLIST_SUBST+= TWAIN="@comment " .include "../../graphics/lcms/buildlink3.mk" .include "../../graphics/libart/buildlink3.mk" .include "../../graphics/libexif/buildlink3.mk" -.include "../../graphics/librsvg/buildlink3.mk" -.include "../../graphics/mng/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" .include "../../graphics/tiff/buildlink3.mk" .include "../../graphics/libwmf/buildlink3.mk" diff --git a/graphics/gimp/PLIST b/graphics/gimp/PLIST index 54b35def0da..96635378521 100644 --- a/graphics/gimp/PLIST +++ b/graphics/gimp/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.31 2007/10/25 21:06:15 adam Exp $ +@comment $NetBSD: PLIST,v 1.32 2007/10/28 16:43:00 dogcow Exp $ bin/gimp bin/gimp-2.4 bin/gimp-console @@ -313,7 +313,7 @@ lib/gimp/2.0/plug-ins/max_rgb lib/gimp/2.0/plug-ins/maze lib/gimp/2.0/plug-ins/mblur lib/gimp/2.0/plug-ins/metadata -lib/gimp/2.0/plug-ins/mng +${MNG}lib/gimp/2.0/plug-ins/mng lib/gimp/2.0/plug-ins/mosaic lib/gimp/2.0/plug-ins/neon lib/gimp/2.0/plug-ins/newsprint @@ -367,7 +367,7 @@ lib/gimp/2.0/plug-ins/spheredesigner lib/gimp/2.0/plug-ins/spread lib/gimp/2.0/plug-ins/struc lib/gimp/2.0/plug-ins/sunras -lib/gimp/2.0/plug-ins/svg +${SVG}lib/gimp/2.0/plug-ins/svg lib/gimp/2.0/plug-ins/tga lib/gimp/2.0/plug-ins/threshold_alpha lib/gimp/2.0/plug-ins/tiff-load diff --git a/graphics/gimp/options.mk b/graphics/gimp/options.mk index d1b34b49a73..4e1b4916e0a 100644 --- a/graphics/gimp/options.mk +++ b/graphics/gimp/options.mk @@ -1,8 +1,8 @@ -# $NetBSD: options.mk,v 1.1 2007/10/25 21:06:17 adam Exp $ +# $NetBSD: options.mk,v 1.2 2007/10/28 16:43:00 dogcow Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.gimp -PKG_SUPPORTED_OPTIONS= aalib gnome -PKG_SUGGESTED_OPTIONS= aalib gnome +PKG_SUPPORTED_OPTIONS= aalib gnome mng svg +PKG_SUGGESTED_OPTIONS= aalib gnome mng svg .include "../../mk/bsd.options.mk" @@ -19,3 +19,17 @@ PLIST_SUBST+= GNOME= .else PLIST_SUBST+= GNOME="@comment " .endif + +.if !empty(PKG_OPTIONS:Mmng) +.include "../../graphics/mng/buildlink3.mk" +PLIST_SUBST+= MNG= +.else +PLIST_SUBST+= MNG="@comment " +.endif + +.if !empty(PKG_OPTIONS:Msvg) +.include "../../graphics/librsvg/buildlink3.mk" +PLIST_SUBST+= SVG= +.else +PLIST_SUBST+= SVG="@comment " +.endif |