| @@ -1,35 +1,36 @@ | | | @@ -1,35 +1,36 @@ |
1 | # $NetBSD: Makefile,v 1.52 2011/07/31 20:05:58 gls Exp $ | | 1 | # $NetBSD: Makefile,v 1.53 2011/08/30 01:30:01 gdt Exp $ |
2 | | | 2 | |
3 | PKG_DESTDIR_SUPPORT= user-destdir | | 3 | PKG_DESTDIR_SUPPORT= user-destdir |
4 | PKGREVISION= 1 | | 4 | PKGREVISION= 1 |
5 | | | 5 | |
6 | .include "Makefile.common" | | 6 | .include "Makefile.common" |
7 | COMMENT= API for access to scanners, digital cameras, frame grabbers etc. | | 7 | COMMENT= API for access to scanners, digital cameras, frame grabbers etc. |
8 | | | 8 | |
9 | DISTNAME= sane-backends-${SANE_VERSION} | | 9 | DISTNAME= sane-backends-${SANE_VERSION} |
10 | DISTFILES= ${DISTNAME}${EXTRACT_SUFX} | | 10 | DISTFILES= ${DISTNAME}${EXTRACT_SUFX} |
11 | | | 11 | |
12 | # lib/Makefile.in builds .o files and then .a, but rules for shlibs, | | 12 | # lib/Makefile.in builds .o files and then .a, but rules for shlibs, |
13 | # while apparently independent, cause libtool to create .o again, | | 13 | # while apparently independent, cause libtool to create .o again, |
14 | # making it possible for the ar step of the .a build to fail to find | | 14 | # making it possible for the ar step of the .a build to fail to find |
15 | # the .o | | 15 | # the .o |
16 | MAKE_JOBS_SAFE= NO | | 16 | MAKE_JOBS_SAFE= NO |
17 | | | 17 | |
18 | USE_TOOLS+= msgfmt msgmerge | | 18 | USE_TOOLS+= msgfmt msgmerge |
19 | USE_PKGLOCALEDIR= YES | | 19 | USE_PKGLOCALEDIR= YES |
20 | | | 20 | |
21 | CONFIGURE_ARGS+= --with-gphoto2=no | | 21 | CONFIGURE_ARGS+= --with-gphoto2=no |
22 | CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/sane-${SANE_VERSION} | | 22 | CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/sane-${SANE_VERSION} |
| | | 23 | CONFIGURE_ARGS+= --without-snmp |
23 | | | 24 | |
24 | .include "../../mk/bsd.prefs.mk" | | 25 | .include "../../mk/bsd.prefs.mk" |
25 | | | 26 | |
26 | PLIST_VARS+= mustek pint sm3600 | | 27 | PLIST_VARS+= mustek pint sm3600 |
27 | | | 28 | |
28 | .if (${OPSYS} == "SunOS") | | 29 | .if (${OPSYS} == "SunOS") |
29 | # nothing | | 30 | # nothing |
30 | .elif (${OPSYS} == "Linux") || (${OPSYS} == "DragonFly") | | 31 | .elif (${OPSYS} == "Linux") || (${OPSYS} == "DragonFly") |
31 | PLIST.sm3600= yes | | 32 | PLIST.sm3600= yes |
32 | .elif (${OPSYS} == "Darwin") | | 33 | .elif (${OPSYS} == "Darwin") |
33 | PLIST.mustek= yes | | 34 | PLIST.mustek= yes |
34 | PLIST.sm3600= yes | | 35 | PLIST.sm3600= yes |
35 | .else | | 36 | .else |