summaryrefslogtreecommitdiff
path: root/graphics/plotutils
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-01-25 12:06:27 +0000
committerjlam <jlam@pkgsrc.org>2003-01-25 12:06:27 +0000
commit0770db0d9c847e52d5fac4eefe0170e370cb284e (patch)
tree4378f2751d41c464293baefa39e2432ec16be41b /graphics/plotutils
parentb4590dbf7537955aa6867df43265fe42bacade27 (diff)
downloadpkgsrc-0770db0d9c847e52d5fac4eefe0170e370cb284e.tar.gz
Add a buildlink2.mk file for use by other package Makefiles.
Diffstat (limited to 'graphics/plotutils')
-rw-r--r--graphics/plotutils/buildlink2.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/graphics/plotutils/buildlink2.mk b/graphics/plotutils/buildlink2.mk
new file mode 100644
index 00000000000..a9dad08f3ae
--- /dev/null
+++ b/graphics/plotutils/buildlink2.mk
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink2.mk,v 1.1 2003/01/25 12:06:27 jlam Exp $
+
+.if !defined(PLOTUTILS_BUILDLINK2_MK)
+PLOTUTILS_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= plotutils
+BUILDLINK_DEPENDS.plotutils?= plotutils>=2.4.1nb1
+BUILDLINK_PKGSRCDIR.plotutils?= ../../graphics/plotutils
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.plotutils=plotutils
+BUILDLINK_PREFIX.plotutils_DEFAULT= ${X11PREFIX}
+BUILDLINK_FILES.plotutils+= include/plot.h
+BUILDLINK_FILES.plotutils+= include/plotcompat.h
+BUILDLINK_FILES.plotutils+= include/plotter.h
+BUILDLINK_FILES.plotutils+= lib/libplot.*
+BUILDLINK_FILES.plotutils+= lib/libplotter.*
+
+.include "../../graphics/png/buildlink2.mk"
+
+BUILDLINK_TARGETS+= plotutils-buildlink
+
+plotutils-buildlink: _BUILDLINK_USE
+
+.endif # PLOTUTILS_BUILDLINK2_MK