From 978d1b1f63e52f44789818d9ee110342d88579a3 Mon Sep 17 00:00:00 2001 From: jlam Date: Sat, 3 Jan 2004 23:06:43 +0000 Subject: Initial sprinkling of work-in-progress buildlink3.mk files for using the buildlink3 framework. --- graphics/gd/buildlink3.mk | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 graphics/gd/buildlink3.mk (limited to 'graphics/gd') diff --git a/graphics/gd/buildlink3.mk b/graphics/gd/buildlink3.mk new file mode 100644 index 00000000000..865d959f18a --- /dev/null +++ b/graphics/gd/buildlink3.mk @@ -0,0 +1,25 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:44 jlam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +GD_BUILDLINK3_MK:= ${GD_BUILDLINK3_MK}+ + +.if !empty(GD_BUILDLINK3_MK:M\+) +BUILDLINK_DEPENDS.gd?= gd>=2.0.15 +BUILDLINK_PKGSRCDIR.gd?= ../../graphics/gd +.endif # GD_BUILDLINK3_MK + +.if !empty(BUILDLINK_DEPTH:M\+) +BUILDLINK_DEPENDS+= gd +.endif + +.if !empty(GD_BUILDLINK3_MK:M\+) +BUILDLINK_PACKAGES+= gd + +. include "../../devel/zlib/buildlink3.mk" +. include "../../graphics/freetype2/buildlink3.mk" +. include "../../graphics/jpeg/buildlink3.mk" +. include "../../graphics/png/buildlink3.mk" +. include "../../graphics/xpm/buildlink3.mk" +.endif # GD_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//} -- cgit v1.2.3