diff options
author | snj <snj@pkgsrc.org> | 2004-04-12 02:20:13 +0000 |
---|---|---|
committer | snj <snj@pkgsrc.org> | 2004-04-12 02:20:13 +0000 |
commit | be49dc36644f74dd57407953dbcebafa11604f4d (patch) | |
tree | a250d8e60d3326daedb20fded679efb55cf184b8 /graphics/GUIlib | |
parent | ba999f508e7557c389fbb104d13da845e512731d (diff) | |
download | pkgsrc-be49dc36644f74dd57407953dbcebafa11604f4d.tar.gz |
Convert to buildlink3.
Diffstat (limited to 'graphics/GUIlib')
-rw-r--r-- | graphics/GUIlib/Makefile | 6 | ||||
-rw-r--r-- | graphics/GUIlib/buildlink2.mk | 22 | ||||
-rw-r--r-- | graphics/GUIlib/buildlink3.mk | 20 |
3 files changed, 23 insertions, 25 deletions
diff --git a/graphics/GUIlib/Makefile b/graphics/GUIlib/Makefile index 686b93ac50e..af92d2fb2a2 100644 --- a/graphics/GUIlib/Makefile +++ b/graphics/GUIlib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2003/07/26 21:41:22 jmmv Exp $ +# $NetBSD: Makefile,v 1.7 2004/04/12 02:20:13 snj Exp $ # DISTNAME= GUIlib-1.1.0 @@ -10,11 +10,11 @@ MAINTAINER= zuntum@NetBSD.org HOMEPAGE= http://www.libsdl.org/projects/GUIlib/ COMMENT= Very simple GUI framework library -USE_BUILDLINK2= YES +USE_BUILDLINK3= YES GNU_CONFIGURE= YES USE_LIBTOOL= YES LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig -.include "../../devel/SDL/buildlink2.mk" +.include "../../devel/SDL/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/graphics/GUIlib/buildlink2.mk b/graphics/GUIlib/buildlink2.mk deleted file mode 100644 index bb74e16f984..00000000000 --- a/graphics/GUIlib/buildlink2.mk +++ /dev/null @@ -1,22 +0,0 @@ -# $NetBSD: buildlink2.mk,v 1.4 2003/07/26 21:41:22 jmmv Exp $ - -.if !defined(GUILIB_BUILDLINK2_MK) -GUILIB_BUILDLINK2_MK= # defined - -BUILDLINK_PACKAGES+= GUIlib -BUILDLINK_DEPENDS.GUIlib?= GUIlib>=1.1.0nb2 -BUILDLINK_PKGSRCDIR.GUIlib?= ../../graphics/GUIlib - -EVAL_PREFIX+= BUILDLINK_PREFIX.GUIlib=GUIlib -BUILDLINK_PREFIX.GUIlib_DEFAULT=${LOCALBASE} -BUILDLINK_FILES.GUIlib= include/GUI/*.h -BUILDLINK_FILES.GUIlib+= lib/libGUI-* -BUILDLINK_FILES.GUIlib+= lib/libGUI.* - -.include "../../devel/SDL/buildlink2.mk" - -BUILDLINK_TARGETS+= GUIlib-buildlink - -GUIlib-buildlink: _BUILDLINK_USE - -.endif # GUILIB_BUILDLINK2_MK diff --git a/graphics/GUIlib/buildlink3.mk b/graphics/GUIlib/buildlink3.mk new file mode 100644 index 00000000000..75a715617b4 --- /dev/null +++ b/graphics/GUIlib/buildlink3.mk @@ -0,0 +1,20 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/04/12 02:20:13 snj Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +GUILIB_BUILDLINK3_MK:= ${GUILIB_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= GUIlib +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NGUIlib} +BUILDLINK_PACKAGES+= GUIlib + +.if !empty(GUILIB_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.GUIlib+= GUIlib>=1.1.0nb2 +BUILDLINK_PKGSRCDIR.GUIlib?= ../../graphics/GUIlib +.endif # GUILIB_BUILDLINK3_MK + +.include "../../devel/SDL/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |