summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorminskim <minskim>2004-02-21 14:46:50 +0000
committerminskim <minskim>2004-02-21 14:46:50 +0000
commita148c26a46b8f1fed1a751008f995dc91e10d410 (patch)
treed33c5c6df96f638a80bd71960c07f704c35766ce /graphics
parent8c888d53387887b0f0e3b80b41cbd88a01d1a645 (diff)
downloadpkgsrc-a148c26a46b8f1fed1a751008f995dc91e10d410.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/+$//}