summaryrefslogtreecommitdiff
path: root/graphics/sane-backends/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/sane-backends/options.mk')
-rw-r--r--graphics/sane-backends/options.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/graphics/sane-backends/options.mk b/graphics/sane-backends/options.mk
index a1a474a7a30..9bc7beaab55 100644
--- a/graphics/sane-backends/options.mk
+++ b/graphics/sane-backends/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.5 2007/10/20 03:49:17 obache Exp $
+# $NetBSD: options.mk,v 1.6 2008/04/12 22:43:02 jlam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.sane-backends
PKG_SUPPORTED_OPTIONS= inet6 sane-backends-hp3900
@@ -14,16 +14,17 @@ CONFIGURE_ARGS+= --enable-ipv6
CONFIGURE_ARGS+= --disable-ipv6
.endif
+
###
### hp3900 support
###
+PLIST_VARS+= hp3900
+
.if !empty(PKG_OPTIONS:Mhp3900)
-PLIST_SUBST+= SANE_HP3900=""
+PLIST.hp3900= yes
DISTFILES+= hp3900-sane1017_src_0.5.tar.gz
SITES.hp3900-sane1017_src_0.5.tar.gz=${MASTER_SITE_SOURCEFORGE:=hp3900-series/}
post-patch:
cd ${WRKSRC} && \
${PATCH} -p1 <${WRKDIR}/hp3900-sane1017_src_0.5/hp3900-sane1017_0.5.diff
-.else
-PLIST_SUBST+= SANE_HP3900="@comment "
.endif