summaryrefslogtreecommitdiff
path: root/graphics/sane-frontends
diff options
context:
space:
mode:
authorwiz <wiz>2007-10-28 11:07:12 +0000
committerwiz <wiz>2007-10-28 11:07:12 +0000
commit3ae0e0d089106f1a662795f7e96d549de1ccd3ce (patch)
tree8ef713381b81d416578876288ad3058c4475f678 /graphics/sane-frontends
parent20e14e23c4746dc42240ab866b0598a28cedd44d (diff)
downloadpkgsrc-3ae0e0d089106f1a662795f7e96d549de1ccd3ce.tar.gz
Split off options handling into options.mk file.
Diffstat (limited to 'graphics/sane-frontends')
-rw-r--r--graphics/sane-frontends/Makefile11
-rw-r--r--graphics/sane-frontends/options.mk11
2 files changed, 13 insertions, 9 deletions
diff --git a/graphics/sane-frontends/Makefile b/graphics/sane-frontends/Makefile
index bcc7e37a750..42dcc62938b 100644
--- a/graphics/sane-frontends/Makefile
+++ b/graphics/sane-frontends/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2007/10/28 10:58:21 wiz Exp $
+# $NetBSD: Makefile,v 1.38 2007/10/28 11:07:12 wiz Exp $
.include "../../graphics/sane-backends/Makefile.common"
@@ -11,16 +11,9 @@ COMMENT= Frontends for access to scanners, digitals camera, frame grabbers etc
BUILDLINK_API_DEPENDS.sane+= sane-backends>=${SANE_VERSION}
USE_TOOLS+= pkg-config
-USE_X11BASE= YES
-PKG_OPTIONS_VAR= PKG_OPTIONS.sane-frontends
-PKG_SUPPORTED_OPTIONS= gimp
-PKG_SUGGESTED_OPTIONS= gimp
-.include "../../mk/bsd.options.mk"
+.include "options.mk"
-.if !empty(PKG_OPTIONS:Mgimp)
-.include "../../graphics/gimp/buildlink3.mk"
-.endif
.include "../../x11/gtk2/buildlink3.mk"
.include "../../graphics/sane-backends/buildlink3.mk"
diff --git a/graphics/sane-frontends/options.mk b/graphics/sane-frontends/options.mk
new file mode 100644
index 00000000000..0c4c936183b
--- /dev/null
+++ b/graphics/sane-frontends/options.mk
@@ -0,0 +1,11 @@
+# $NetBSD: options.mk,v 1.1 2007/10/28 11:07:12 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.sane-frontends
+PKG_SUPPORTED_OPTIONS= gimp
+PKG_SUGGESTED_OPTIONS= gimp
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mgimp)
+.include "../../graphics/gimp/buildlink3.mk"
+.endif