diff options
author | obache <obache@pkgsrc.org> | 2007-05-12 13:47:03 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2007-05-12 13:47:03 +0000 |
commit | 5a7a58176e65a298b6617b8b3351584fa15beeb6 (patch) | |
tree | 515b03ada39cdea381b260f8166a5ea256df742b /textproc/mecab-base/Makefile | |
parent | 1e0baf73fe3effae98de508f95172d4f8b70f9de (diff) | |
download | pkgsrc-5a7a58176e65a298b6617b8b3351584fa15beeb6.tar.gz |
Initial import of mecab-base version 0.95.
Yet Another Part-of-Speech and Morphological Analyzer.
Diffstat (limited to 'textproc/mecab-base/Makefile')
-rw-r--r-- | textproc/mecab-base/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
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" |