summaryrefslogtreecommitdiff
path: root/devel/SDL_ttf/buildlink3.mk
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-03-06 17:47:30 +0000
committerxtraeme <xtraeme>2004-03-06 17:47:30 +0000
commite9f1cf0a5dc062ba8963d0c3b53336de11739528 (patch)
tree1efb77cbe7c76e00fa8e1c3dc0e6a84e29642c1d /devel/SDL_ttf/buildlink3.mk
parent1b045eea76c288a19e98b72b355a90f8c7603ed4 (diff)
downloadpkgsrc-e9f1cf0a5dc062ba8963d0c3b53336de11739528.tar.gz
bl3ify
Diffstat (limited to 'devel/SDL_ttf/buildlink3.mk')
-rw-r--r--devel/SDL_ttf/buildlink3.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/SDL_ttf/buildlink3.mk b/devel/SDL_ttf/buildlink3.mk
new file mode 100644
index 00000000000..acb1bfa53bd
--- /dev/null
+++ b/devel/SDL_ttf/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/06 17:47:30 xtraeme Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+SDL_TTF_BUILDLINK3_MK:= ${SDL_TTF_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= SDL_ttf
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NSDL_ttf}
+BUILDLINK_PACKAGES+= SDL_ttf
+
+.if !empty(SDL_TTF_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.SDL_ttf+= SDL_ttf>=2.0.3nb3
+BUILDLINK_PKGSRCDIR.SDL_ttf?= ../../devel/SDL_ttf
+
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+
+.endif # SDL_TTF_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}