diff options
author | snj <snj@pkgsrc.org> | 2004-04-18 05:31:35 +0000 |
---|---|---|
committer | snj <snj@pkgsrc.org> | 2004-04-18 05:31:35 +0000 |
commit | 1429277a672b75534cf961d0652e6d5db3a06ecb (patch) | |
tree | a10ecb9896ccefb40699311f0538edda4c7608b7 /graphics | |
parent | 3a429ad12611b071f465a61fae31978c9956767e (diff) | |
download | pkgsrc-1429277a672b75534cf961d0652e6d5db3a06ecb.tar.gz |
Convert to buildlink3.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/clanlib/Makefile | 16 | ||||
-rw-r--r-- | graphics/clanlib/buildlink3.mk | 24 |
2 files changed, 32 insertions, 8 deletions
diff --git a/graphics/clanlib/Makefile b/graphics/clanlib/Makefile index 88077b56821..afee40d36b2 100644 --- a/graphics/clanlib/Makefile +++ b/graphics/clanlib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.35 2004/01/24 15:46:43 grant Exp $ +# $NetBSD: Makefile,v 1.36 2004/04/18 05:33:14 snj Exp $ DISTNAME= ClanLib-0.4.4 PKGREVISION= 5 @@ -9,7 +9,7 @@ MAINTAINER= root@garbled.net HOMEPAGE= http://www.clanlib.org/ COMMENT= The ClanLib Game SDK -USE_BUILDLINK2= yes +USE_BUILDLINK3= yes USE_X11BASE= yes USE_GNU_TOOLS+= make GNU_CONFIGURE= yes @@ -39,12 +39,12 @@ MAKE_ENV+= X11BASE="${X11BASE}" post-patch: ${CHMOD} +x ${WRKSRC}/configure -.include "../../graphics/hermes/buildlink2.mk" -.include "../../graphics/png/buildlink2.mk" -.include "../../graphics/MesaLib/buildlink2.mk" -.include "../../graphics/glu/buildlink2.mk" -.include "../../mk/pthread.buildlink2.mk" -.include "../../mk/ossaudio.buildlink2.mk" +.include "../../graphics/hermes/buildlink3.mk" +.include "../../graphics/png/buildlink3.mk" +.include "../../graphics/MesaLib/buildlink3.mk" +.include "../../graphics/glu/buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" +.include "../../mk/ossaudio.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/graphics/clanlib/buildlink3.mk b/graphics/clanlib/buildlink3.mk new file mode 100644 index 00000000000..be6c67cb230 --- /dev/null +++ b/graphics/clanlib/buildlink3.mk @@ -0,0 +1,24 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/04/18 05:33:14 snj Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +CLANLIB_BUILDLINK3_MK:= ${CLANLIB_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= ClanLib +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NClanLib} +BUILDLINK_PACKAGES+= ClanLib + +.if !empty(CLANLIB_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.ClanLib+= ClanLib>=0.4.4nb4 +BUILDLINK_PKGSRCDIR.ClanLib?= ../../graphics/clanlib +.endif # CLANLIB_BUILDLINK3_MK + +.include "../../mk/pthread.buildlink3.mk" +.include "../../graphics/hermes/buildlink3.mk" +.include "../../graphics/png/buildlink3.mk" +.include "../../graphics/MesaLib/buildlink3.mk" +.include "../../graphics/glu/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |