pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/gimp24 Add the twain plug-in to PLIST if the ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bfa196588d9b
branches:  trunk
changeset: 522231:bfa196588d9b
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Wed Dec 06 06:39:37 2006 +0000

description:
Add the twain plug-in to PLIST if the TWAIN framework is available.
Bump PKGREVISION.

diffstat:

 graphics/gimp24/Makefile |  10 ++++++++--
 graphics/gimp24/PLIST    |   5 ++++-
 2 files changed, 12 insertions(+), 3 deletions(-)

diffs (59 lines):

diff -r 3d7dbc779a26 -r bfa196588d9b graphics/gimp24/Makefile
--- a/graphics/gimp24/Makefile  Wed Dec 06 05:44:24 2006 +0000
+++ b/graphics/gimp24/Makefile  Wed Dec 06 06:39:37 2006 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.32 2006/12/02 08:39:18 minskim Exp $
+# $NetBSD: Makefile,v 1.33 2006/12/06 06:39:37 minskim Exp $
 
 DISTNAME=      gimp-2.3.13
-PKGREVISION=1
+PKGREVISION=   2
 CATEGORIES=    graphics
 MASTER_SITES=  ftp://ftp.gimp.org/pub/gimp/v2.3/ \
                ftp://ftp.cs.umn.edu/pub/gimp/v2.3/ \
@@ -51,6 +51,12 @@
 # Ensure we export symbols in the linked shared object.
 LDFLAGS+=              ${EXPORT_SYMBOLS_LDFLAGS}
 
+.if exists(/System/Library/Frameworks/TWAIN.framework)
+PLIST_SUBST+=  TWAIN=""
+.else
+PLIST_SUBST+=  TWAIN="@comment "
+.endif
+
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../fonts/fontconfig/buildlink3.mk"
 .include "../../graphics/aalib/buildlink3.mk"
diff -r 3d7dbc779a26 -r bfa196588d9b graphics/gimp24/PLIST
--- a/graphics/gimp24/PLIST     Wed Dec 06 05:44:24 2006 +0000
+++ b/graphics/gimp24/PLIST     Wed Dec 06 06:39:37 2006 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.18 2006/11/30 23:41:34 adam Exp $
+@comment $NetBSD: PLIST,v 1.19 2006/12/06 06:39:37 minskim Exp $
 bin/gimp-2.3
 bin/gimp-console-2.3
 bin/gimp-remote-2.3
@@ -367,6 +367,7 @@
 lib/gimp/2.0/plug-ins/tile
 lib/gimp/2.0/plug-ins/tileit
 lib/gimp/2.0/plug-ins/tiler
+${TWAIN}lib/gimp/2.0/plug-ins/twain
 lib/gimp/2.0/plug-ins/uniteditor
 lib/gimp/2.0/plug-ins/unsharp
 lib/gimp/2.0/plug-ins/uri
@@ -987,6 +988,7 @@
 share/gimp/2.0/themes/Default/images/stock-warning-64.png
 share/gimp/2.0/themes/Small/gtkrc
 share/gimp/2.0/tips/gimp-tips.xml
+${TWAIN}share/gimp/2.0/twain/gimp-twain.png
 share/gtk-doc/html/libgimp/GimpAspectPreview.html
 share/gtk-doc/html/libgimp/GimpBrushSelectButton.html
 share/gtk-doc/html/libgimp/GimpDrawablePreview.html
@@ -1928,6 +1930,7 @@
 @dirrm share/gtk-doc/html/libgimpcolor
 @dirrm share/gtk-doc/html/libgimpbase
 @dirrm share/gtk-doc/html/libgimp
+${TWAIN}@dirrm share/gimp/2.0/twain
 @dirrm share/gimp/2.0/tips
 @dirrm share/gimp/2.0/themes/Small
 @dirrm share/gimp/2.0/themes/Default/images/preferences



Home | Main Index | Thread Index | Old Index