summaryrefslogtreecommitdiff
path: root/graphics/libungif/buildlink2.mk
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libungif/buildlink2.mk')
-rw-r--r--graphics/libungif/buildlink2.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/libungif/buildlink2.mk b/graphics/libungif/buildlink2.mk
new file mode 100644
index 00000000000..26c7331c43d
--- /dev/null
+++ b/graphics/libungif/buildlink2.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:39:16 jlam Exp $
+
+.if !defined(LIBUNGIF_BUILDLINK2_MK)
+LIBUNGIF_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= libungif
+BUILDLINK_DEPENDS.libungif?= libungif>=4.1.0
+BUILDLINK_PKGSRCDIR.libungif?= ../../graphics/libungif
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.libungif=libungif
+BUILDLINK_PREFIX.libungif_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.libungif= include/gif_lib.h
+BUILDLINK_FILES.libungif+= lib/libgif.*
+BUILDLINK_FILES.libungif+= lib/libungif.*
+
+BUILDLINK_TARGETS+= libungif-buildlink
+
+libungif-buildlink: _BUILDLINK_USE
+
+.endif # LIBUNGIF_BUILDLINK2_MK