From 3ef0645ba86ed82f82d1cd91655a0b0701b2e555 Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 18 Apr 2004 23:37:45 +0000 Subject: Convert to bl3. --- inputmethod/libtabe/Makefile | 6 +++--- inputmethod/libtabe/buildlink3.mk | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 inputmethod/libtabe/buildlink3.mk (limited to 'inputmethod') diff --git a/inputmethod/libtabe/Makefile b/inputmethod/libtabe/Makefile index 41b8383c1ae..28804993bb8 100644 --- a/inputmethod/libtabe/Makefile +++ b/inputmethod/libtabe/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2004/02/14 17:21:43 jlam Exp $ +# $NetBSD: Makefile,v 1.9 2004/04/18 23:37:45 wiz Exp $ # DISTNAME= libtabe-0.2.5 @@ -10,7 +10,7 @@ HOMEPAGE= http://libtabe.sourceforge.net/ COMMENT= Library for Chinese language processing WRKSRC= ${WRKDIR}/libtabe -USE_BUILDLINK2= # defined +USE_BUILDLINK3= # defined USE_X11= # defined USE_LIBTOOL= # defined @@ -26,5 +26,5 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/tsi-src/README \ ${PREFIX}/share/doc/tabe/README.tsi -.include "../../databases/db3/buildlink2.mk" +.include "../../databases/db3/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/inputmethod/libtabe/buildlink3.mk b/inputmethod/libtabe/buildlink3.mk new file mode 100644 index 00000000000..2b4db77f3c6 --- /dev/null +++ b/inputmethod/libtabe/buildlink3.mk @@ -0,0 +1,20 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/04/18 23:37:45 wiz Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBTABE_BUILDLINK3_MK:= ${LIBTABE_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= libtabe +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibtabe} +BUILDLINK_PACKAGES+= libtabe + +.if !empty(LIBTABE_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.libtabe+= libtabe>=0.2.5 +BUILDLINK_PKGSRCDIR.libtabe?= ../../inputmethod/libtabe +.endif # LIBTABE_BUILDLINK3_MK + +.include "../../databases/db3/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} -- cgit v1.2.3