From 01a82f9c2bf8f8483bc337b4d57e177df225c8d2 Mon Sep 17 00:00:00 2001 From: obache Date: Sat, 12 May 2007 13:48:24 +0000 Subject: Initial import of mecab version 0.95. Yet Another Part-of-Speech and Morphological Analyzer. --- textproc/mecab/DESCR | 1 + textproc/mecab/Makefile | 19 +++++++++++++++++++ textproc/mecab/Makefile.common | 10 ++++++++++ textproc/mecab/PLIST | 2 ++ textproc/mecab/buildlink3.mk | 21 +++++++++++++++++++++ 5 files changed, 53 insertions(+) create mode 100644 textproc/mecab/DESCR create mode 100644 textproc/mecab/Makefile create mode 100644 textproc/mecab/Makefile.common create mode 100644 textproc/mecab/PLIST create mode 100644 textproc/mecab/buildlink3.mk (limited to 'textproc/mecab') diff --git a/textproc/mecab/DESCR b/textproc/mecab/DESCR new file mode 100644 index 00000000000..3ea9f4b52bf --- /dev/null +++ b/textproc/mecab/DESCR @@ -0,0 +1 @@ +Yet Another Part-of-Speech and Morphological Analyzer diff --git a/textproc/mecab/Makefile b/textproc/mecab/Makefile new file mode 100644 index 00000000000..93ec23dcae8 --- /dev/null +++ b/textproc/mecab/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/05/12 13:48:24 obache Exp $ + +.include "Makefile.common" + +DISTNAME= mecab-${MECAB_VERSION} +DISTFILES= #empty + +COMMENT= Yet Another Part-of-Speech and Morphological Analyzer + +DEPENDS+= {mecab-ipadic>=2.7.0,mecab-jumandic>=5.1}:../../textproc/mecab-ipadic + +NO_CHECKSUM= yes +NO_CONFIGURE= yes +NO_BUILD= yes + +do-install: #empty + +.include "../../textproc/mecab-base/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/mecab/Makefile.common b/textproc/mecab/Makefile.common new file mode 100644 index 00000000000..a073abce3e6 --- /dev/null +++ b/textproc/mecab/Makefile.common @@ -0,0 +1,10 @@ +# $NetBSD: Makefile.common,v 1.1.1.1 2007/05/12 13:48:24 obache Exp $ +# + +MECAB_VERSION= 0.95 + +CATEGORIES= japanese textproc +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mecab/} + +MAINTAINER= obache@NetBSD.org +HOMEPAGE= http://mecab.sourceforge.net/ diff --git a/textproc/mecab/PLIST b/textproc/mecab/PLIST new file mode 100644 index 00000000000..8df898b8e67 --- /dev/null +++ b/textproc/mecab/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/05/12 13:48:24 obache Exp $ +@comment this plist intentionally left empty diff --git a/textproc/mecab/buildlink3.mk b/textproc/mecab/buildlink3.mk new file mode 100644 index 00000000000..fda3b775696 --- /dev/null +++ b/textproc/mecab/buildlink3.mk @@ -0,0 +1,21 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2007/05/12 13:48:24 obache Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +MECAB_BUILDLINK3_MK:= ${MECAB_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= mecab +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmecab} +BUILDLINK_PACKAGES+= mecab +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}mecab + +.if ${MECAB_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.mecab+= mecab>=0.90 +BUILDLINK_PKGSRCDIR.mecab?= ../../textproc/mecab +.endif # MECAB_BUILDLINK3_MK + +.include "../../textproc/mecab-base/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} -- cgit v1.2.3