aboutsummaryrefslogtreecommitdiff
path: root/graphics/sane-frontends
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-05-01 21:33:30 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-05-01 21:33:30 +0000
commita7c0eb2b71f49327ac7737199f6d6b9e58ae17b5 (patch)
tree8d239eadbf1a56182bea03b6a17904de07aa1c1d /graphics/sane-frontends
parent0a9736342a256eecccc4e65b7a78fd355e7db49c (diff)
downloadports-a7c0eb2b71f49327ac7737199f6d6b9e58ae17b5.tar.gz
ports-a7c0eb2b71f49327ac7737199f6d6b9e58ae17b5.zip
Notes
Diffstat (limited to 'graphics/sane-frontends')
-rw-r--r--graphics/sane-frontends/Makefile11
-rw-r--r--graphics/sane-frontends/distinfo2
2 files changed, 10 insertions, 3 deletions
diff --git a/graphics/sane-frontends/Makefile b/graphics/sane-frontends/Makefile
index f9f3dda3145c..028eb30c27fa 100644
--- a/graphics/sane-frontends/Makefile
+++ b/graphics/sane-frontends/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= sane-frontends
-PORTVERSION= 1.0.10
+PORTVERSION= 1.0.11
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.mostang.com/pub/sane/%SUBDIR%/ \
ftp://ftp.de.mostang.com/pub/sane/%SUBDIR%/ \
@@ -18,7 +18,6 @@ COMMENT= Tools for access to scanners, digitals camera, frame grabbers etc
LIB_DEPENDS= sane.1:${PORTSDIR}/graphics/sane-backends
-USE_GNOME= gtk12
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -33,6 +32,14 @@ CONFIGURE_ARGS+= --enable-gimp
CONFIGURE_ARGS+= --disable-gimp
.endif
+.if defined(WITH_GTK2)
+.undef WITH_GIMP
+USE_GNOME= gtk20
+.else
+USE_GNOME= gtk12
+CONFIGURE_ARGS= --disable-gtk2
+.endif
+
pre-everything::
.if !defined(WITH_GIMP)
@${ECHO_MSG} "*** Note: xscanimage can be built with a standalone"
diff --git a/graphics/sane-frontends/distinfo b/graphics/sane-frontends/distinfo
index 16ddbfac5036..a3de306505be 100644
--- a/graphics/sane-frontends/distinfo
+++ b/graphics/sane-frontends/distinfo
@@ -1 +1 @@
-MD5 (sane-frontends-1.0.10.tar.gz) = a7de89c3e67495e8a38ca63b2ff693c4
+MD5 (sane-frontends-1.0.11.tar.gz) = 59b143e12c926726db16983d288aa1a1