summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/gdchart/buildlink2.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/graphics/gdchart/buildlink2.mk b/graphics/gdchart/buildlink2.mk
new file mode 100644
index 00000000000..f70f77e42c8
--- /dev/null
+++ b/graphics/gdchart/buildlink2.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink2.mk,v 1.1 2002/10/07 20:12:13 wiz Exp $
+#
+
+.if !defined(GDCHART_BUILDLINK2_MK)
+GDCHART_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= gdchart
+BUILDLINK_DEPENDS.gdchart?= gdchart>=0.10.1nb1
+BUILDLINK_PKGSRCDIR.gdchart?= ../../graphics/gdchart
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.gdchart=gdchart
+BUILDLINK_PREFIX.gdchart_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.gdchart+= include/gdchart.h
+BUILDLINK_FILES.gdchart+= include/gdc.h
+BUILDLINK_FILES.gdchart+= include/gdcpie.h
+BUILDLINK_FILES.gdchart+= include/gifencode.h
+BUILDLINK_FILES.gdchart+= lib/libgdchart.*
+
+BUILDLINK_TARGETS+= gdchart-buildlink
+
+gdchart-buildlink: _BUILDLINK_USE
+
+.endif # GDCHART_BUILDLINK2_MK