summaryrefslogtreecommitdiff
path: root/graphics/jpeg
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-03 23:06:43 +0000
committerjlam <jlam@pkgsrc.org>2004-01-03 23:06:43 +0000
commit978d1b1f63e52f44789818d9ee110342d88579a3 (patch)
tree7815453a8a5d5cc91288c15c8c52893726b1e2bc /graphics/jpeg
parent3018d0705370c673d17797f0844b1c9941458717 (diff)
downloadpkgsrc-978d1b1f63e52f44789818d9ee110342d88579a3.tar.gz
Initial sprinkling of work-in-progress buildlink3.mk files for using the
buildlink3 framework.
Diffstat (limited to 'graphics/jpeg')
-rw-r--r--graphics/jpeg/buildlink3.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/graphics/jpeg/buildlink3.mk b/graphics/jpeg/buildlink3.mk
new file mode 100644
index 00000000000..16649eb7959
--- /dev/null
+++ b/graphics/jpeg/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:44 jlam Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+JPEG_BUILDLINK3_MK:= ${JPEG_BUILDLINK3_MK}+
+
+.if !empty(JPEG_BUILDLINK3_MK:M\+)
+BUILDLINK_DEPENDS.jpeg?= jpeg>=6b
+BUILDLINK_PKGSRCDIR.jpeg?= ../../graphics/jpeg
+.endif # JPEG_BUILDLINK3_MK
+
+.if !empty(BUILDLINK_DEPTH:M\+)
+BUILDLINK_DEPENDS+= jpeg
+.endif
+
+.if !empty(JPEG_BUILDLINK3_MK:M\+)
+BUILDLINK_PACKAGES+= jpeg
+.endif # JPEG_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//}