diff options
author | snj <snj@pkgsrc.org> | 2004-04-25 04:40:48 +0000 |
---|---|---|
committer | snj <snj@pkgsrc.org> | 2004-04-25 04:40:48 +0000 |
commit | 934317dbc8989647e5cff1ab97c95c01c9eb030d (patch) | |
tree | 218cc477b41bd69187a75285d28ec46a28a4c95b /graphics/gdchart | |
parent | 81086d45efd5e586d66ca78cc131b42171f4c604 (diff) | |
download | pkgsrc-934317dbc8989647e5cff1ab97c95c01c9eb030d.tar.gz |
Convert to buildlink3.
Diffstat (limited to 'graphics/gdchart')
-rw-r--r-- | graphics/gdchart/Makefile | 6 | ||||
-rw-r--r-- | graphics/gdchart/buildlink3.mk | 20 |
2 files changed, 23 insertions, 3 deletions
diff --git a/graphics/gdchart/Makefile b/graphics/gdchart/Makefile index 68a81042f40..2aaa14ec481 100644 --- a/graphics/gdchart/Makefile +++ b/graphics/gdchart/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2003/07/17 21:40:42 grant Exp $ +# $NetBSD: Makefile,v 1.12 2004/04/25 04:40:48 snj Exp $ # DISTNAME= gdchart0.11.4dev @@ -14,7 +14,7 @@ COMMENT= Easy to use, fast C API for creating charts and graphs MAKEFILE= makefile -USE_BUILDLINK2= YES +USE_BUILDLINK3= YES USE_LIBTOOL= YES TEST_TARGET= gdc_samp1 gdc_samp2 gdc_pie_samp ft_samp @@ -42,5 +42,5 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/gdc_pie_samp.c \ ${PREFIX}/share/examples/gdchart -.include "../../graphics/gd/buildlink2.mk" +.include "../../graphics/gd/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/graphics/gdchart/buildlink3.mk b/graphics/gdchart/buildlink3.mk new file mode 100644 index 00000000000..e4163713cfa --- /dev/null +++ b/graphics/gdchart/buildlink3.mk @@ -0,0 +1,20 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/04/25 04:40:48 snj Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +GDCHART_BUILDLINK3_MK:= ${GDCHART_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= gdchart +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngdchart} +BUILDLINK_PACKAGES+= gdchart + +.if !empty(GDCHART_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.gdchart+= gdchart>=0.11.4nb1 +BUILDLINK_PKGSRCDIR.gdchart?= ../../graphics/gdchart +.endif # GDCHART_BUILDLINK3_MK + +.include "../../graphics/gd/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |