summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2004-04-19 13:44:18 +0000
committermarkd <markd@pkgsrc.org>2004-04-19 13:44:18 +0000
commit76bf64d6d3365b097943983d009e72c693a94a51 (patch)
treeb7a85b9435db71adf48c9a3f5c56843b9ffaa44f /graphics
parentab719c7f73f8f933ef85598a06983be0134ab61e (diff)
downloadpkgsrc-76bf64d6d3365b097943983d009e72c693a94a51.tar.gz
Add a buildlink3.mk
Diffstat (limited to 'graphics')
-rw-r--r--graphics/sane-backends/buildlink3.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/graphics/sane-backends/buildlink3.mk b/graphics/sane-backends/buildlink3.mk
new file mode 100644
index 00000000000..e0b93ff9513
--- /dev/null
+++ b/graphics/sane-backends/buildlink3.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/19 13:44:18 markd Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+SANE_BACKENDS_BUILDLINK3_MK:= ${SANE_BACKENDS_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= sane-backends
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsane-backends}
+BUILDLINK_PACKAGES+= sane-backends
+
+.if !empty(SANE_BACKENDS_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.sane-backends+= sane-backends>=1.0.3
+BUILDLINK_PKGSRCDIR.sane-backends?= ../../graphics/sane-backends
+.endif # SANE_BACKENDS_BUILDLINK3_MK
+
+.if (${OPSYS} != "SunOS")
+. include "../../devel/libusb/buildlink3.mk"
+.endif
+.include "../../graphics/jpeg/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}