summaryrefslogtreecommitdiff
path: root/devel/SDL_ttf
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
parent1b045eea76c288a19e98b72b355a90f8c7603ed4 (diff)
downloadpkgsrc-e9f1cf0a5dc062ba8963d0c3b53336de11739528.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/+$//}