summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorwiz <wiz>2002-10-07 20:12:13 +0000
committerwiz <wiz>2002-10-07 20:12:13 +0000
commit3d83b8d707225867be16027b6e4d0ea7d2a901f1 (patch)
treee96583736c8f179b4347ecd80c18a6fac52a3bf7 /graphics
parent82e5882b79142c937fc945133e4edd6abe92d7ad (diff)
downloadpkgsrc-3d83b8d707225867be16027b6e4d0ea7d2a901f1.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