blob: 0fe8cd706d1eda98a4f9000067956b6a7686f8e2 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# $NetBSD: Makefile,v 1.28 2006/02/05 23:09:39 joerg Exp $
.include "Makefile.common"
COMMENT= API for access to scanners, digitals camera, frame grabbers etc.
DISTNAME= sane-backends-${SANE_VERSION}
PKGREVISION= 1
BUILD_USES_MSGFMT= YES
USE_PKGLOCALEDIR= YES
CONFIGURE_ARGS+= --with-gphoto2=no
CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/sane-${SANE_VERSION}
.include "../../mk/bsd.prefs.mk"
.if (${OPSYS} == "SunOS")
PLIST_SUBST+= SANE_PINT="@comment "
PLIST_SUBST+= SANE_SM3600="@comment "
.elif (${OPSYS} == "Linux") || (${OPSYS} == "DragonFly")
PLIST_SUBST+= SANE_PINT="@comment "
PLIST_SUBST+= SANE_SM3600=""
.else
PLIST_SUBST+= SANE_PINT=""
PLIST_SUBST+= SANE_SM3600=""
.endif
OWN_DIRS+= ${PKG_SYSCONFDIR}/sane.d
EGDIR= ${PREFIX}/share/examples/sane
.for f in abaton.conf agfafocus.conf apple.conf artec.conf \
artec_eplus48u.conf avision.conf bh.conf canon.conf canon630u.conf \
coolscan.conf coolscan2.conf dc210.conf dc240.conf dc25.conf dll.conf \
dmc.conf epson.conf fujitsu.conf genesys.conf gt68xx.conf hp.conf \
hp4200.conf hp5400.conf ibm.conf leo.conf lexmark.conf \
ma1509.conf matsushita.conf \
microtek.conf microtek2.conf mustek.conf mustek_usb.conf nec.conf \
net.conf pie.conf plustek.conf plustek_pp.conf ricoh.conf s9036.conf \
saned.conf sceptre.conf sharp.conf sm3840.conf snapscan.conf \
sp15c.conf st400.conf tamarack.conf teco1.conf teco2.conf teco3.conf \
test.conf u12.conf umax.conf umax1220u.conf umax_pp.conf
CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/sane.d/${f}
.endfor
.if (${OPSYS} == "Linux")
.for f in qcam.conf v4l.conf
CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/sane.d/${f}
.endfor
.endif
.if (${OPSYS} != "SunOS")
. include "../../devel/libusb/buildlink3.mk"
.endif
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|