summaryrefslogtreecommitdiff
path: root/inputmethod/unicon-im
diff options
context:
space:
mode:
authorwiz <wiz>2004-04-18 23:55:21 +0000
committerwiz <wiz>2004-04-18 23:55:21 +0000
commitdb6a8280e064b3f54aae93a514d7347de9b5ef6b (patch)
tree46bf1dea8c499a251cb104085b65c5ca571d5397 /inputmethod/unicon-im
parentcb612dd2d12d95467f160dbd09b267a54f89c81b (diff)
downloadpkgsrc-db6a8280e064b3f54aae93a514d7347de9b5ef6b.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/+$//}