summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-10-07 20:12:13 +0000
committerwiz <wiz@pkgsrc.org>2002-10-07 20:12:13 +0000
commit96e9c2ffc519e08096a9cc6078eece52604bc8ac (patch)
treee96583736c8f179b4347ecd80c18a6fac52a3bf7 /graphics
parent9628ce0fda3b944fcb2a5f9d0b080b0bde4bea65 (diff)
downloadpkgsrc-96e9c2ffc519e08096a9cc6078eece52604bc8ac.tar.gz
Add buildlink2.mk
Diffstat (limited to 'graphics')
-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