summaryrefslogtreecommitdiff
path: root/graphics/babl/buildlink3.mk
diff options
context:
space:
mode:
authorbjs <bjs>2008-08-19 17:51:14 +0000
committerbjs <bjs>2008-08-19 17:51:14 +0000
commit6f81d8c5b0824b9097b6dd718d86fa903c99eea0 (patch)
treefcd5f4bf2d6cd6148d393ecc9830aadc8985cb88 /graphics/babl/buildlink3.mk
parentb4aff34efe563f46936d94f3e41d572a5a62fe08 (diff)
downloadpkgsrc-6f81d8c5b0824b9097b6dd718d86fa903c99eea0.tar.gz
Import babl-0.0.22 (used in the development version of the GIMP).
-- babl is a dynamic, any to any, pixel format translation library. It allows converting between different methods of storing pixels known as pixel formats that have with different bitdepths and other data representations, color models and component permutations. A vocabulary to formulate new pixel formats from existing primitives is provided as well as the framework to add new color models and data types.
Diffstat (limited to 'graphics/babl/buildlink3.mk')
-rw-r--r--graphics/babl/buildlink3.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/graphics/babl/buildlink3.mk b/graphics/babl/buildlink3.mk
new file mode 100644
index 00000000000..b0d416ebe97
--- /dev/null
+++ b/graphics/babl/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/08/19 17:51:14 bjs Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+BABL_BUILDLINK3_MK:= ${BABL_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= babl
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nbabl}
+BUILDLINK_PACKAGES+= babl
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}babl
+
+.if ${BABL_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.babl+= babl>=0.0.22
+BUILDLINK_PKGSRCDIR.babl?= ../../graphics/babl
+.endif # BABL_BUILDLINK3_MK
+
+.include "../../mk/dlopen.buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}