diff options
author | obache <obache> | 2007-05-12 13:47:03 +0000 |
---|---|---|
committer | obache <obache> | 2007-05-12 13:47:03 +0000 |
commit | 6225c64598b7a507cf8715f6edd41fe52182d748 (patch) | |
tree | 515b03ada39cdea381b260f8166a5ea256df742b /textproc | |
parent | 5f2a260cbf8daf8fe217d7197d68c51bd2becc04 (diff) | |
download | pkgsrc-6225c64598b7a507cf8715f6edd41fe52182d748.tar.gz |
Initial import of mecab-base version 0.95.
Yet Another Part-of-Speech and Morphological Analyzer.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/mecab-base/DESCR | 1 | ||||
-rw-r--r-- | textproc/mecab-base/Makefile | 40 | ||||
-rw-r--r-- | textproc/mecab-base/PLIST | 13 | ||||
-rw-r--r-- | textproc/mecab-base/buildlink3.mk | 23 | ||||
-rw-r--r-- | textproc/mecab-base/distinfo | 5 |
5 files changed, 82 insertions, 0 deletions
diff --git a/textproc/mecab-base/DESCR b/textproc/mecab-base/DESCR new file mode 100644 index 00000000000..3ea9f4b52bf --- /dev/null +++ b/textproc/mecab-base/DESCR @@ -0,0 +1 @@ +Yet Another Part-of-Speech and Morphological Analyzer diff --git a/textproc/mecab-base/Makefile b/textproc/mecab-base/Makefile new file mode 100644 index 00000000000..76701723abf --- /dev/null +++ b/textproc/mecab-base/Makefile @@ -0,0 +1,40 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/05/12 13:47:03 obache Exp $ +# + +.include "../../textproc/mecab/Makefile.common" + +DISTNAME= mecab-${MECAB_VERSION} +PKGNAME= mecab-base-${MECAB_VERSION} + +COMMENT= Yet Another Part-of-Speech and Morphological Analyzer + +GNU_CONFIGURE= yes +USE_LANGUAGES= c c++ +USE_LIBTOOL= yes +OWN_DIRS= ${PREFIX:Q}/lib/mecab/dic + +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "SunOS" +USE_TOOLS+= gmake +.endif + +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} + +TEST_TARGET= check + +EGDIR= ${PREFIX}/share/examples/mecab +CONF_FILES= ${EGDIR:Q}/mecabrc ${PKG_SYSCONFDIR:Q}/mecabrc + +SUBST_CLASSES+= confdir +SUBST_STAGE.confdir= pre-configure +SUBST_FILES.confdir= Makefile.in +SUBST_SED.confdir= -e "s,\$$(sysconfdir),${EGDIR}," + +SUBST_CLASSES+= rpaths +SUBST_STAGE.rpaths= pre-configure +SUBST_FILES.rpaths= mecab-config.in +SUBST_SED.rpaths= -e '/echo[ ]*-L/s|-L\([ ]*[^ ]*\)|${COMPILER_RPATH_FLAG}\1 -L\1|g' + +.include "../../mk/pthread.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/mecab-base/PLIST b/textproc/mecab-base/PLIST new file mode 100644 index 00000000000..6e0478ac12f --- /dev/null +++ b/textproc/mecab-base/PLIST @@ -0,0 +1,13 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/05/12 13:47:03 obache Exp $ +bin/mecab +bin/mecab-config +include/mecab.h +lib/libmecab.la +libexec/mecab/mecab-cost-train +libexec/mecab/mecab-dict-gen +libexec/mecab/mecab-dict-index +libexec/mecab/mecab-system-eval +libexec/mecab/mecab-test-gen +man/man1/mecab.1 +share/examples/mecab/mecabrc +@dirrm libexec/mecab diff --git a/textproc/mecab-base/buildlink3.mk b/textproc/mecab-base/buildlink3.mk new file mode 100644 index 00000000000..1f195a86996 --- /dev/null +++ b/textproc/mecab-base/buildlink3.mk @@ -0,0 +1,23 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2007/05/12 13:47:03 obache Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +MECAB_BASE_BUILDLINK3_MK:= ${MECAB_BASE_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= mecab-base +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmecab-base} +BUILDLINK_PACKAGES+= mecab-base +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}mecab-base + +.if ${MECAB_BASE_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.mecab-base+= mecab-base>=0.90 +BUILDLINK_PKGSRCDIR.mecab-base?= ../../textproc/mecab-base +BUILDLINK_FILES.mecab-base+= include/mecab.h +BUILDLINK_FILES.mecab-base+= lib/libmecab.* +.endif # MECAB_BASE_BUILDLINK3_MK + +.include "../../mk/pthread.buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/textproc/mecab-base/distinfo b/textproc/mecab-base/distinfo new file mode 100644 index 00000000000..d14f9335773 --- /dev/null +++ b/textproc/mecab-base/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2007/05/12 13:47:03 obache Exp $ + +SHA1 (mecab-0.95.tar.gz) = 676af69b652393e3fdbb58ddf99b9aae13a87c4a +RMD160 (mecab-0.95.tar.gz) = bd8393ddae802fc98a999dd68f25564e8317f5c0 +Size (mecab-0.95.tar.gz) = 1385805 bytes |