summaryrefslogtreecommitdiff
path: root/devel/SDL_ttf
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-03-06 17:47:30 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-03-06 17:47:30 +0000
commit36d57a990e55d9ae2687a4d96e547df6a849e67e (patch)
tree1efb77cbe7c76e00fa8e1c3dc0e6a84e29642c1d /devel/SDL_ttf
parentab134da95e0973c393f694909bafb87f19aa2b49 (diff)
downloadpkgsrc-36d57a990e55d9ae2687a4d96e547df6a849e67e.tar.gz
bl3ify
Diffstat (limited to 'devel/SDL_ttf')
-rw-r--r--devel/SDL_ttf/Makefile9
-rw-r--r--devel/SDL_ttf/buildlink3.mk22
2 files changed, 26 insertions, 5 deletions
diff --git a/devel/SDL_ttf/Makefile b/devel/SDL_ttf/Makefile
index 584c2b35519..882cd1a2267 100644
--- a/devel/SDL_ttf/Makefile
+++ b/devel/SDL_ttf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2003/07/26 21:41:11 jmmv Exp $
+# $NetBSD: Makefile,v 1.14 2004/03/06 17:47:30 xtraeme Exp $
#
DISTNAME= SDL_ttf-2.0.3
@@ -10,13 +10,12 @@ MAINTAINER= zuntum@NetBSD.org
HOMEPAGE= http://www.libsdl.org/projects/SDL_ttf/
COMMENT= Use TrueType fonts in your SDL applications
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_X11= YES
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
-LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
-.include "../../devel/SDL/buildlink2.mk"
-.include "../../graphics/freetype2/buildlink2.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
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/+$//}