summaryrefslogtreecommitdiff
path: root/graphics/sane-backends/Makefile
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2005-05-15 03:13:10 +0000
committerreed <reed@pkgsrc.org>2005-05-15 03:13:10 +0000
commit0b98d63ba5f4d97b7b0a2adb723c43244526fdfb (patch)
tree36aebca608096ff7e149c6b0713fa37be67a12c1 /graphics/sane-backends/Makefile
parent3a348790105a1284599180f99c1c53693743766e (diff)
downloadpkgsrc-0b98d63ba5f4d97b7b0a2adb723c43244526fdfb.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/Makefile')
-rw-r--r--graphics/sane-backends/Makefile11
1 files changed, 8 insertions, 3 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")