summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-02-21 14:46:50 +0000
committerminskim <minskim@pkgsrc.org>2004-02-21 14:46:50 +0000
commitb39376a5a5c9b56f8c6e02c2b58617db5d2c3f57 (patch)
treed33c5c6df96f638a80bd71960c07f704c35766ce /graphics
parent36214e9a0984fdfa2a0c01477d20410a1653aa9c (diff)
downloadpkgsrc-b39376a5a5c9b56f8c6e02c2b58617db5d2c3f57.tar.gz
bl3ify
Diffstat (limited to 'graphics')
-rw-r--r--graphics/plotutils/Makefile6
-rw-r--r--graphics/plotutils/buildlink3.mk22
2 files changed, 25 insertions, 3 deletions
diff --git a/graphics/plotutils/Makefile b/graphics/plotutils/Makefile
index d0a5195c730..b410313ddc1 100644
--- a/graphics/plotutils/Makefile
+++ b/graphics/plotutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2003/08/09 10:53:29 seb Exp $
+# $NetBSD: Makefile,v 1.29 2004/02/21 14:46:50 minskim Exp $
#
DISTNAME= plotutils-2.4.1
@@ -12,7 +12,7 @@ COMMENT= Programs and library for plotting scientific data
CONFLICTS+= plotutils-nox11-[0-9]*
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_GCC_SHLIB= YES
USE_X11= YES
@@ -24,5 +24,5 @@ CONFIGURE_ARGS+= --enable-libplotter
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig ${WRKSRC}/libxmi/ltconfig
-.include "../../graphics/png/buildlink2.mk"
+.include "../../graphics/png/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/plotutils/buildlink3.mk b/graphics/plotutils/buildlink3.mk
new file mode 100644
index 00000000000..bb9f5b628bf
--- /dev/null
+++ b/graphics/plotutils/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/21 14:46:50 minskim Exp $
+#
+# This Makefile fragment is included by packages that use plotutils.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PLOTUTILS_BUILDLINK3_MK:= ${PLOTUTILS_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= plotutils
+.endif
+
+.if !empty(PLOTUTILS_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= plotutils
+BUILDLINK_DEPENDS.plotutils+= plotutils>=2.4.1nb2
+BUILDLINK_PKGSRCDIR.plotutils?= ../../graphics/plotutils
+
+.include "../../graphics/png/buildlink3.mk"
+
+.endif # PLOTUTILS_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}