diff options
author | minskim <minskim@pkgsrc.org> | 2004-02-21 14:46:50 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2004-02-21 14:46:50 +0000 |
commit | 844dfc5d02ac11ce49f525132e072da34b624f36 (patch) | |
tree | d33c5c6df96f638a80bd71960c07f704c35766ce | |
parent | acec62100a537ba3494b3238b6230342cab9c5e6 (diff) | |
download | pkgsrc-844dfc5d02ac11ce49f525132e072da34b624f36.tar.gz |
bl3ify
-rw-r--r-- | graphics/plotutils/Makefile | 6 | ||||
-rw-r--r-- | graphics/plotutils/buildlink3.mk | 22 |
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/+$//} |