Index: head/graphics/sane-frontends/Makefile =================================================================== --- head/graphics/sane-frontends/Makefile (revision 491822) +++ head/graphics/sane-frontends/Makefile (revision 491823) @@ -1,46 +1,35 @@ # Created by: gary@hotlava.com # $FreeBSD$ PORTNAME= sane-frontends PORTVERSION= 1.0.14 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= graphics MASTER_SITES= http://alioth.debian.org/frs/download.php/1140/ \ ftp://ftp2.sane-project.org/pub/sane/ MAINTAINER= ports@FreeBSD.org COMMENT= Tools for access to scanners, digitals camera, frame grabbers etc LICENSE= GPLv2+ LIB_DEPENDS= libsane.so:graphics/sane-backends -USES= gmake pkgconfig +USES= gmake gnome pkgconfig +USE_GNOME= gtk20 + GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib SUB_FILES= pkg-message -OPTIONS_DEFINE= GTK1 GIMP -GTK1_DESC= GTK1 support (Default is GTK2) +OPTIONS_DEFINE= GIMP + GIMP_DESC= also build xscanimage as a GIMP plug-in -.include - -.if ${PORT_OPTIONS:MGTK1} -USE_GNOME+= gtk12 -CONFIGURE_ARGS+= --disable-gtk2 -CONFIGURE_ARGS+= --disable-gimp -.else -USE_GNOME+= gtk20 -.if ${PORT_OPTIONS:MGIMP} -LIB_DEPENDS+= libgimp-2.0.so:graphics/gimp-app -CONFIGURE_ARGS+= --enable-gimp -.else -CONFIGURE_ARGS+= --disable-gimp -.endif -.endif +GIMP_CONFIGURE_ENABLE= gimp +GIMP_LIB_DEPENDS= libgimp-2.0.so:graphics/gimp-app .include Index: head/graphics/sane-frontends/files/pkg-message.in =================================================================== --- head/graphics/sane-frontends/files/pkg-message.in (revision 491822) +++ head/graphics/sane-frontends/files/pkg-message.in (revision 491823) @@ -1,12 +1,11 @@ Congratulations, SANE-FRONTENDS is now installed. If you built it with WITH_GIMP set to yes, you can use xscanimage as a GIMP plug-in. To do this, type: ln -sf %%PREFIX%%/bin/xscanimage ~/.gimp-2.0/plug-ins/xscanimage (gimp-2.x) -ln -sf %%PREFIX%%/bin/xscanimage ~/.gimp-1.2/plug-ins/xscanimage (gimp-1.x) Then run the GIMP, and a new "xscanimage" menu item should appear in the "File->Acquire" menu. Use this to access your scanner. Have fun!