diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-08-20 23:19:51 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-08-20 23:19:51 +0000 |
commit | f2c0f51fd892cd49c2a937d059f7737abc60f34a (patch) | |
tree | 903ca7bdabce711d95bcd158e5b9bfdca2553cb9 /graphics/sane-frontends | |
parent | c0634f68133a79b16fc0b54ec2f0b4417b89f1af (diff) |
Notes
Diffstat (limited to 'graphics/sane-frontends')
-rw-r--r-- | graphics/sane-frontends/Makefile | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/graphics/sane-frontends/Makefile b/graphics/sane-frontends/Makefile index 112ba9463924..0aa7ce9deda7 100644 --- a/graphics/sane-frontends/Makefile +++ b/graphics/sane-frontends/Makefile @@ -26,6 +26,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ MAN1= scanadf.1 xcam.1 xscanimage.1 +OPTIONS= GTK1 "GTK1 support (Default is GTK2)" off \ + GIMP "also build xscanimage as a GIMP plug-in" off + +.include <bsd.port.pre.mk> + .if defined(WITH_GTK1) USE_GNOME+= gtk12 CONFIGURE_ARGS+= --disable-gtk2 @@ -45,15 +50,7 @@ CONFIGURE_ARGS+= --disable-gimp .endif .endif -pre-everything:: -.if !defined(WITH_GIMP) - @${ECHO_MSG} "*** Note: xscanimage can be built with a standalone" - @${ECHO_MSG} "*** X scanner interface as well as a GIMP plug-in." - @${ECHO_MSG} "*** If you wish to do this, hit Ctrl-C now and use" - @${ECHO_MSG} "*** \"WITH_GIMP=yes\"" -.endif - post-install: @${SED} 's:/usr/local:${PREFIX}:' ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |