summaryrefslogtreecommitdiff
path: root/graphics/sane-backends/buildlink2.mk
blob: 9f73fc62fba0913301d4c0d215fdf4d425b56f60 (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: buildlink2.mk,v 1.4 2004/03/29 05:05:40 jlam Exp $

.if !defined(SANE_BUILDLINK2_MK)
SANE_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=		sane
BUILDLINK_PKGBASE.sane?=	sane-backends
BUILDLINK_DEPENDS.sane?=	sane-backends>=1.0.3
BUILDLINK_PKGSRCDIR.sane?=	../../graphics/sane-backends

EVAL_PREFIX+=			BUILDLINK_PREFIX.sane=sane-backends
BUILDLINK_PREFIX.sane_DEFAULT=	${LOCALBASE}
BUILDLINK_FILES.sane=		include/sane/*.h
BUILDLINK_FILES.sane+=		lib/libsane.*

.if (${OPSYS} != "SunOS")
. include "../../devel/libusb/buildlink2.mk"
.endif
.include "../../graphics/jpeg/buildlink2.mk"

BUILDLINK_TARGETS+=	sane-buildlink

sane-buildlink: _BUILDLINK_USE

.endif	# SANE_BUILDLINK2_MK