diff options
author | bouyer <bouyer@pkgsrc.org> | 2004-03-20 21:18:41 +0000 |
---|---|---|
committer | bouyer <bouyer@pkgsrc.org> | 2004-03-20 21:18:41 +0000 |
commit | 54a31fddb1258d63a88bb561d55450fb31185e31 (patch) | |
tree | a4221c48448d61fa43e96df1cafdd97691821808 /graphics | |
parent | a04b534ce0afc6166a61abda41f94152aae8cfc1 (diff) | |
download | pkgsrc-54a31fddb1258d63a88bb561d55450fb31185e31.tar.gz |
Solaris fixes:
- this package uses msgfmt
- locale files are always installed in share/locale
- don't depend on libusb on solaris
- libsane-pint and libsane-sm3600 are not installed on solaris
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/sane-backends/Makefile | 14 | ||||
-rw-r--r-- | graphics/sane-backends/PLIST | 38 | ||||
-rw-r--r-- | graphics/sane-backends/buildlink2.mk | 6 |
3 files changed, 35 insertions, 23 deletions
diff --git a/graphics/sane-backends/Makefile b/graphics/sane-backends/Makefile index 72871b5ed5b..2f2022ef57d 100644 --- a/graphics/sane-backends/Makefile +++ b/graphics/sane-backends/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2003/12/10 17:15:04 jdolecek Exp $ +# $NetBSD: Makefile,v 1.16 2004/03/20 21:18:41 bouyer Exp $ .include "Makefile.common" COMMENT= API for access to scanners, digitals camera, frame grabbers etc. @@ -8,6 +8,16 @@ PKGREVISION= 1 SANE_MICRO= 12 -.include "../../devel/libusb/buildlink2.mk" +BUILD_USES_MSGFMT= YES + +.if (${OPSYS} == "SunOS") +PLIST_SUBST+= NOT_SUNOS="@comment " +.else +PLIST_SUBST+= NOT_SUNOS="" +.endif + +.if (${OPSYS} != "SunOS") +. include "../../devel/libusb/buildlink2.mk" +.endif .include "../../graphics/jpeg/buildlink2.mk" .include "../../mk/bsd.pkg.mk" diff --git a/graphics/sane-backends/PLIST b/graphics/sane-backends/PLIST index 444bb885aea..094dacb71c0 100644 --- a/graphics/sane-backends/PLIST +++ b/graphics/sane-backends/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.7 2003/06/29 10:16:44 rh Exp $ +@comment $NetBSD: PLIST,v 1.8 2004/03/20 21:18:41 bouyer Exp $ bin/gamma4scanimage bin/sane-config bin/sane-find-scanner @@ -230,11 +230,11 @@ lib/sane/libsane-pie.la lib/sane/libsane-pie.so lib/sane/libsane-pie.so.${SANE_MAJOR} lib/sane/libsane-pie.so.${SANE_MAJOR}.${SANE_MICRO} -lib/sane/libsane-pint.a -lib/sane/libsane-pint.la -lib/sane/libsane-pint.so -lib/sane/libsane-pint.so.${SANE_MAJOR} -lib/sane/libsane-pint.so.${SANE_MAJOR}.${SANE_MICRO} +${NOT_SUNOS}lib/sane/libsane-pint.a +${NOT_SUNOS}lib/sane/libsane-pint.la +${NOT_SUNOS}lib/sane/libsane-pint.so +${NOT_SUNOS}lib/sane/libsane-pint.so.${SANE_MAJOR} +${NOT_SUNOS}lib/sane/libsane-pint.so.${SANE_MAJOR}.${SANE_MICRO} lib/sane/libsane-plustek.a lib/sane/libsane-plustek.la lib/sane/libsane-plustek.so @@ -260,11 +260,11 @@ lib/sane/libsane-sharp.la lib/sane/libsane-sharp.so lib/sane/libsane-sharp.so.${SANE_MAJOR} lib/sane/libsane-sharp.so.${SANE_MAJOR}.${SANE_MICRO} -lib/sane/libsane-sm3600.a -lib/sane/libsane-sm3600.la -lib/sane/libsane-sm3600.so -lib/sane/libsane-sm3600.so.${SANE_MAJOR} -lib/sane/libsane-sm3600.so.${SANE_MAJOR}.${SANE_MICRO} +${NOT_SUNOS}lib/sane/libsane-sm3600.a +${NOT_SUNOS}lib/sane/libsane-sm3600.la +${NOT_SUNOS}lib/sane/libsane-sm3600.so +${NOT_SUNOS}lib/sane/libsane-sm3600.so.${SANE_MAJOR} +${NOT_SUNOS}lib/sane/libsane-sm3600.so.${SANE_MAJOR}.${SANE_MICRO} lib/sane/libsane-snapscan.a lib/sane/libsane-snapscan.la lib/sane/libsane-snapscan.so @@ -467,14 +467,14 @@ share/doc/sane-${SANE_VERSION}/umax/umax.BUGS share/doc/sane-${SANE_VERSION}/umax/umax.CHANGES share/doc/sane-${SANE_VERSION}/umax/umax.FAQ share/doc/sane-${SANE_VERSION}/umax/umax.TODO -${PKGLOCALEDIR}/locale/de/LC_MESSAGES/sane-backends.mo -${PKGLOCALEDIR}/locale/es/LC_MESSAGES/sane-backends.mo -${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/sane-backends.mo -${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/sane-backends.mo -${PKGLOCALEDIR}/locale/no/LC_MESSAGES/sane-backends.mo -${PKGLOCALEDIR}/locale/pt/LC_MESSAGES/sane-backends.mo -${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/sane-backends.mo -${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/sane-backends.mo +share/locale/de/LC_MESSAGES/sane-backends.mo +share/locale/es/LC_MESSAGES/sane-backends.mo +share/locale/fr/LC_MESSAGES/sane-backends.mo +share/locale/nl/LC_MESSAGES/sane-backends.mo +share/locale/no/LC_MESSAGES/sane-backends.mo +share/locale/pt/LC_MESSAGES/sane-backends.mo +share/locale/ru/LC_MESSAGES/sane-backends.mo +share/locale/sv/LC_MESSAGES/sane-backends.mo @dirrm share/doc/sane-${SANE_VERSION}/umax @dirrm share/doc/sane-${SANE_VERSION}/teco @dirrm share/doc/sane-${SANE_VERSION}/sceptre diff --git a/graphics/sane-backends/buildlink2.mk b/graphics/sane-backends/buildlink2.mk index 876390b35b2..6f5ea85598a 100644 --- a/graphics/sane-backends/buildlink2.mk +++ b/graphics/sane-backends/buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 19:22:54 jlam Exp $ +# $NetBSD: buildlink2.mk,v 1.3 2004/03/20 21:18:41 bouyer Exp $ .if !defined(SANE_BUILDLINK2_MK) SANE_BUILDLINK2_MK= # defined @@ -12,7 +12,9 @@ BUILDLINK_PREFIX.sane_DEFAULT= ${LOCALBASE} BUILDLINK_FILES.sane= include/sane/*.h BUILDLINK_FILES.sane+= lib/libsane.* -.include "../../devel/libusb/buildlink2.mk" +.if (${OPSYS} != "SunOS") +. include "../../devel/libusb/buildlink2.mk" +.endif .include "../../graphics/jpeg/buildlink2.mk" BUILDLINK_TARGETS+= sane-buildlink |