summaryrefslogtreecommitdiff
path: root/inputmethod
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-04-18 23:55:21 +0000
committerwiz <wiz@pkgsrc.org>2004-04-18 23:55:21 +0000
commit7763ad388f9a869590d3bfa18ba8914bbb08efc2 (patch)
tree46bf1dea8c499a251cb104085b65c5ca571d5397 /inputmethod
parent7bf835d49fb314d0e392a35729d25ff7a7252ffe (diff)
downloadpkgsrc-7763ad388f9a869590d3bfa18ba8914bbb08efc2.tar.gz
Convert to bl3.
Diffstat (limited to 'inputmethod')
-rw-r--r--inputmethod/Chinput/Makefile6
-rw-r--r--inputmethod/unicon-im/Makefile6
-rw-r--r--inputmethod/unicon-im/buildlink3.mk20
3 files changed, 26 insertions, 6 deletions
diff --git a/inputmethod/Chinput/Makefile b/inputmethod/Chinput/Makefile
index d2c358c2bbc..79fcac996e4 100644
--- a/inputmethod/Chinput/Makefile
+++ b/inputmethod/Chinput/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2003/07/17 21:43:31 grant Exp $
+# $NetBSD: Makefile,v 1.6 2004/04/18 23:57:04 wiz Exp $
DISTNAME= Chinput-3.0
PKGREVISION= 1
@@ -9,7 +9,7 @@ MAINTAINER= rxg@NetBSD.org
HOMEPAGE= http://www.opencjk.org/~yumj/project-chinput.html
COMMENT= Chinese input server
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
USE_X11BASE= yes
ALL_TARGET= chinput
@@ -32,5 +32,5 @@ post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/Chinput
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/Chinput
-.include "../../inputmethod/unicon-im/buildlink2.mk"
+.include "../../inputmethod/unicon-im/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/inputmethod/unicon-im/Makefile b/inputmethod/unicon-im/Makefile
index 20af93705a3..0eb192b00b7 100644
--- a/inputmethod/unicon-im/Makefile
+++ b/inputmethod/unicon-im/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2003/07/21 16:52:29 martti Exp $
+# $NetBSD: Makefile,v 1.10 2004/04/18 23:55:21 wiz Exp $
DISTNAME= unicon-1.2
PKGNAME= unicon-im-1.2
@@ -10,10 +10,10 @@ MAINTAINER= rxg@NetBSD.org
HOMEPAGE= http://www.opencjk.org/~yumj/project-chinput.html
COMMENT= Libraries and modules of Unicon
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_X11= YES
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
-.include "../../devel/pth/buildlink2.mk"
+.include "../../devel/pth/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/inputmethod/unicon-im/buildlink3.mk b/inputmethod/unicon-im/buildlink3.mk
new file mode 100644
index 00000000000..f4f58010372
--- /dev/null
+++ b/inputmethod/unicon-im/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/18 23:55:21 wiz Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+UNICON_IM_BUILDLINK3_MK:= ${UNICON_IM_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= unicon-im
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nunicon-im}
+BUILDLINK_PACKAGES+= unicon-im
+
+.if !empty(UNICON_IM_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.unicon-im+= unicon-im>=1.2nb2
+BUILDLINK_PKGSRCDIR.unicon-im?= ../../inputmethod/unicon-im
+.endif # UNICON_IM_BUILDLINK3_MK
+
+.include "../../devel/pth/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}