summaryrefslogtreecommitdiff
path: root/graphics/sane-backends
diff options
context:
space:
mode:
authorreed <reed>2005-05-15 03:13:10 +0000
committerreed <reed>2005-05-15 03:13:10 +0000
commitacd2126e08f1091f7e17f61d4d8eacc23a856994 (patch)
tree36aebca608096ff7e149c6b0713fa37be67a12c1 /graphics/sane-backends
parent2e980de496cef8280c567f0b6797507c7bbed5c3 (diff)
downloadpkgsrc-acd2126e08f1091f7e17f61d4d8eacc23a856994.tar.gz
Change the PLIST_SUBST called "NOT_SUNOS" into two different
definitions for libsane-pint and libsane-sm3600. Because under Linux, libsane-pint is also not installed (like on Solaris) but libsane-sm3600 is installed (like NetBSD). Also add PLIST.Linux to add libsane-qcam, libsane-v4l la files and config files. (The man pages were already installed.) Sorry, I did not test on Solaris, but did test on NetBSD 1.6.2_STABLE and Linux. TODO: make this package honor PKG_SYSCONFDIR instead of hard-coded ${PREFIX}/etc and use CONF_FILES too.
Diffstat (limited to 'graphics/sane-backends')
-rw-r--r--graphics/sane-backends/Makefile11
-rw-r--r--graphics/sane-backends/PLIST6
-rw-r--r--graphics/sane-backends/PLIST.Linux5
3 files changed, 16 insertions, 6 deletions
diff --git a/graphics/sane-backends/Makefile b/graphics/sane-backends/Makefile
index 3979b7f9012..428158e8c81 100644
--- a/graphics/sane-backends/Makefile
+++ b/graphics/sane-backends/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2004/11/08 10:28:15 adam Exp $
+# $NetBSD: Makefile,v 1.22 2005/05/15 03:13:10 reed Exp $
.include "Makefile.common"
COMMENT= API for access to scanners, digitals camera, frame grabbers etc.
@@ -11,9 +11,14 @@ USE_PKGLOCALEDIR= YES
CONFIGURE_ARGS+= --with-gphoto2=no
.if (${OPSYS} == "SunOS")
-PLIST_SUBST+= NOT_SUNOS="@comment "
+PLIST_SUBST+= SANE_PINT="@comment "
+PLIST_SUBST+= SANE_SM3600="@comment "
+.elif (${OPSYS} == "Linux")
+PLIST_SUBST+= SANE_PINT="@comment "
+PLIST_SUBST+= SANE_SM3600=""
.else
-PLIST_SUBST+= NOT_SUNOS=""
+PLIST_SUBST+= SANE_PINT=""
+PLIST_SUBST+= SANE_SM3600=""
.endif
.if (${OPSYS} != "SunOS")
diff --git a/graphics/sane-backends/PLIST b/graphics/sane-backends/PLIST
index d4b3686725b..7acdc4bc25a 100644
--- a/graphics/sane-backends/PLIST
+++ b/graphics/sane-backends/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2004/11/08 10:28:15 adam Exp $
+@comment $NetBSD: PLIST,v 1.13 2005/05/15 03:13:10 reed Exp $
bin/gamma4scanimage
bin/sane-config
bin/sane-find-scanner
@@ -91,14 +91,14 @@ lib/sane/libsane-nec.la
lib/sane/libsane-net.la
lib/sane/libsane-niash.la
lib/sane/libsane-pie.la
-${NOT_SUNOS}lib/sane/libsane-pint.la
+${SANE_PINT}lib/sane/libsane-pint.la
lib/sane/libsane-plustek.la
lib/sane/libsane-plustek_pp.la
lib/sane/libsane-ricoh.la
lib/sane/libsane-s9036.la
lib/sane/libsane-sceptre.la
lib/sane/libsane-sharp.la
-${NOT_SUNOS}lib/sane/libsane-sm3600.la
+${SANE_SM3600}lib/sane/libsane-sm3600.la
lib/sane/libsane-snapscan.la
lib/sane/libsane-sp15c.la
lib/sane/libsane-st400.la
diff --git a/graphics/sane-backends/PLIST.Linux b/graphics/sane-backends/PLIST.Linux
new file mode 100644
index 00000000000..7b18357f2c2
--- /dev/null
+++ b/graphics/sane-backends/PLIST.Linux
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST.Linux,v 1.1 2005/05/15 03:13:10 reed Exp $
+etc/sane.d/qcam.conf
+etc/sane.d/v4l.conf
+lib/sane/libsane-qcam.la
+lib/sane/libsane-v4l.la