diff options
author | snj <snj@pkgsrc.org> | 2004-05-04 23:46:36 +0000 |
---|---|---|
committer | snj <snj@pkgsrc.org> | 2004-05-04 23:46:36 +0000 |
commit | 008b92cc8bc38723b8616c47e4bf40fcd9d300b1 (patch) | |
tree | af7d58df93e4acd5924a37c4ef089e410ab8257d /textproc/kakasi | |
parent | 2346a3ae26982b77d7fef6ea6a796ace9560e3b3 (diff) | |
download | pkgsrc-008b92cc8bc38723b8616c47e4bf40fcd9d300b1.tar.gz |
Convert to buildlink3.
Diffstat (limited to 'textproc/kakasi')
-rw-r--r-- | textproc/kakasi/Makefile | 4 | ||||
-rw-r--r-- | textproc/kakasi/buildlink2.mk | 20 | ||||
-rw-r--r-- | textproc/kakasi/buildlink3.mk | 18 |
3 files changed, 20 insertions, 22 deletions
diff --git a/textproc/kakasi/Makefile b/textproc/kakasi/Makefile index 576f2e1463c..6e4a0588ef8 100644 --- a/textproc/kakasi/Makefile +++ b/textproc/kakasi/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2004/02/14 17:21:53 jlam Exp $ +# $NetBSD: Makefile,v 1.7 2004/05/04 23:46:36 snj Exp $ # FreeBSD Id: Makefile,v 1.14 1998/04/05 04:46:33 max Exp $ DISTNAME= kakasi-2.3.4 @@ -10,7 +10,7 @@ MAINTAINER= tech-pkg-ja@jp.NetBSD.org HOMEPAGE= http://kakasi.namazu.org/ COMMENT= Kanji-Kana Simple Inverter, language filter for Japanese -USE_BUILDLINK2= YES +USE_BUILDLINK3= YES GNU_CONFIGURE= YES USE_GNU_TOOLS+= make USE_LIBTOOL= YES diff --git a/textproc/kakasi/buildlink2.mk b/textproc/kakasi/buildlink2.mk deleted file mode 100644 index 7daea228a7e..00000000000 --- a/textproc/kakasi/buildlink2.mk +++ /dev/null @@ -1,20 +0,0 @@ -# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:40:06 jlam Exp $ - -.if !defined(KAKASI_BUILDLINK2_MK) -KAKASI_BUILDLINK2_MK= # defined - -BUILDLINK_PACKAGES+= kakasi -BUILDLINK_DEPENDS.kakasi?= kakasi>=2.3.0 -BUILDLINK_PKGSRCDIR.kakasi?= ../../textproc/kakasi - -EVAL_PREFIX+= BUILDLINK_PREFIX.kakasi=kakasi -BUILDLINK_PREFIX.kakasi_DEFAULT= ${LOCALBASE} - -BUILDLINK_FILES.kakasi= include/libkakasi.h -BUILDLINK_FILES.kakasi+= lib/libkakasi.* - -BUILDLINK_TARGETS+= kakasi-buildlink - -kakasi-buildlink: _BUILDLINK_USE - -.endif # KAKASI_BUILDLINK2_MK diff --git a/textproc/kakasi/buildlink3.mk b/textproc/kakasi/buildlink3.mk new file mode 100644 index 00000000000..f212b813181 --- /dev/null +++ b/textproc/kakasi/buildlink3.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/05/04 23:46:36 snj Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +KAKASI_BUILDLINK3_MK:= ${KAKASI_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= kakasi +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nkakasi} +BUILDLINK_PACKAGES+= kakasi + +.if !empty(KAKASI_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.kakasi+= kakasi>=2.3.0 +BUILDLINK_PKGSRCDIR.kakasi?= ../../textproc/kakasi +.endif # KAKASI_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |