diff options
author | wiz <wiz@pkgsrc.org> | 2007-10-28 11:07:12 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2007-10-28 11:07:12 +0000 |
commit | ef9b53cf0b4622f940b657b630887cf02d97e77e (patch) | |
tree | 8ef713381b81d416578876288ad3058c4475f678 | |
parent | e336ee8b491bf65d2e1a7cd0ef62e785afeb8102 (diff) | |
download | pkgsrc-ef9b53cf0b4622f940b657b630887cf02d97e77e.tar.gz |
Split off options handling into options.mk file.
-rw-r--r-- | graphics/sane-frontends/Makefile | 11 | ||||
-rw-r--r-- | graphics/sane-frontends/options.mk | 11 |
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 |