summaryrefslogtreecommitdiff
path: root/inputmethod/unicon-im
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/unicon-im
parent7bf835d49fb314d0e392a35729d25ff7a7252ffe (diff)
downloadpkgsrc-7763ad388f9a869590d3bfa18ba8914bbb08efc2.tar.gz
Convert to bl3.
Diffstat (limited to 'inputmethod/unicon-im')
-rw-r--r--inputmethod/unicon-im/Makefile6
-rw-r--r--inputmethod/unicon-im/buildlink3.mk20
2 files changed, 23 insertions, 3 deletions
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/+$//}