blob: 2202917e54c754a614fae149552bb8dfbdf74d88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# $NetBSD: options.mk,v 1.2 2006/08/05 22:41:49 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.sane-backends
PKG_SUPPORTED_OPTIONS= sane-backends-hp3900
PKG_SUGGESTED_OPTIONS= #defined
# Remove after 2006Q3
PKG_OPTIONS_LEGACY_OPTS+= hp3900:sane-backends-hp3900
.include "../../mk/bsd.options.mk"
# Package-specific option-handling
###
### hp3900 support
###
.if !empty(PKG_OPTIONS:Mhp3900)
PLIST_SUBST+= SANE_HP3900=""
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
|