File:  [cvs.NetBSD.org] / pkgsrc / graphics / sane-backends / options.mk
Revision 1.4: download - view: text, annotated - select for diffs
Thu Feb 22 19:26:36 2007 UTC (17 years, 9 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, HEAD
Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.

# $NetBSD: options.mk,v 1.4 2007/02/22 19:26:36 wiz Exp $

PKG_OPTIONS_VAR=		PKG_OPTIONS.sane-backends
PKG_SUPPORTED_OPTIONS=		sane-backends-hp3900
PKG_SUGGESTED_OPTIONS=		#defined

.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

CVSweb <webmaster@jp.NetBSD.org>