summaryrefslogtreecommitdiff
path: root/graphics/libexif
diff options
context:
space:
mode:
authormartti <martti@pkgsrc.org>2002-02-12 15:09:49 +0000
committermartti <martti@pkgsrc.org>2002-02-12 15:09:49 +0000
commit88f51bef2e082783be0e382831038ac737df0779 (patch)
tree9974200ad6c8ee06b91b76c899cf4ce8fa231521 /graphics/libexif
parentdd72eda632c205332e7d81eddfd587a98c509777 (diff)
downloadpkgsrc-88f51bef2e082783be0e382831038ac737df0779.tar.gz
Added buildlink.mk
Diffstat (limited to 'graphics/libexif')
-rw-r--r--graphics/libexif/buildlink.mk30
1 files changed, 30 insertions, 0 deletions
diff --git a/graphics/libexif/buildlink.mk b/graphics/libexif/buildlink.mk
new file mode 100644
index 00000000000..147cf762d73
--- /dev/null
+++ b/graphics/libexif/buildlink.mk
@@ -0,0 +1,30 @@
+# $NetBSD: buildlink.mk,v 1.1 2002/02/12 15:09:49 martti Exp $
+#
+# This Makefile fragment is included by packages that use libexif.
+#
+# To use this Makefile fragment, simply:
+#
+# (1) Optionally define BUILDLINK_DEPENDS.libexif to the dependency pattern
+# for the version of libexif desired.
+# (2) Include this Makefile fragment in the package Makefile.
+
+.if !defined(LIBEXIF_BUILDLINK_MK)
+LIBEXIF_BUILDLINK_MK= # defined
+
+.include "../../mk/bsd.buildlink.mk"
+
+BUILDLINK_DEPENDS.libexif?= libexif-0.4
+DEPENDS+= ${BUILDLINK_DEPENDS.libexif}:../../graphics/libexif
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.libexif=libexif
+BUILDLINK_PREFIX.libexif= ${LOCALBASE}
+BUILDLINK_FILES.libexif= include/libexif/*.h
+BUILDLINK_FILES.libexif+= lib/libexif.*
+
+BUILDLINK_TARGETS.libexif= libexif-buildlink
+BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.libexif}
+
+pre-configure: ${BUILDLINK_TARGETS.libexif}
+libexif-buildlink: _BUILDLINK_USE
+
+.endif # LIBEXIF_BUILDLINK_MK