diff options
-rw-r--r-- | textproc/mecab-ipadic/Makefile | 10 | ||||
-rw-r--r-- | textproc/mecab-jumandic/Makefile | 10 | ||||
-rw-r--r-- | textproc/mecab-naistdic/Makefile | 10 |
3 files changed, 24 insertions, 6 deletions
diff --git a/textproc/mecab-ipadic/Makefile b/textproc/mecab-ipadic/Makefile index 6ae4036521d..f045e84df14 100644 --- a/textproc/mecab-ipadic/Makefile +++ b/textproc/mecab-ipadic/Makefile @@ -1,14 +1,17 @@ -# $NetBSD: Makefile,v 1.5 2010/05/16 01:11:46 obache Exp $ +# $NetBSD: Makefile,v 1.6 2012/02/29 09:10:06 obache Exp $ # .include "../../textproc/mecab/Makefile.common" DISTNAME= mecab-ipadic-2.7.0-20070610 PKGNAME= mecab-ipadic-2.7.0.20070610 +PKGREVISION= 1 COMMENT= Japanese Morphological Dictionary for MeCab #LICENSE= # See ${WRKSRC}/COPYING +BUILD_DEPENDS+= mecab-base-[0-9]*:../../textproc/mecab-base + PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= yes @@ -17,5 +20,8 @@ CONFIGURE_ARGS+= --with-charset=${MECAB_CHARSET:Q} BUILD_DEFS+= MECAB_CHARSET -.include "../../textproc/mecab-base/buildlink3.mk" +FIND_PREFIX:= MECABDIR=mecab-base +.include "../../mk/find-prefix.mk" +CONFIGURE_ARGS+= --with-mecab-config=${MECABDIR}/bin/mecab-config + .include "../../mk/bsd.pkg.mk" diff --git a/textproc/mecab-jumandic/Makefile b/textproc/mecab-jumandic/Makefile index 9395aada304..3a224d0cc00 100644 --- a/textproc/mecab-jumandic/Makefile +++ b/textproc/mecab-jumandic/Makefile @@ -1,14 +1,17 @@ -# $NetBSD: Makefile,v 1.4 2010/05/16 00:25:26 obache Exp $ +# $NetBSD: Makefile,v 1.5 2012/02/29 09:10:06 obache Exp $ # .include "../../textproc/mecab/Makefile.common" DISTNAME= mecab-jumandic-5.1-20070304 PKGNAME= mecab-jumandic-5.1.20070304 +PKGREVISION= 1 COMMENT= Japanese Morphological Dictionary for MeCab LICENSE= modified-bsd +BUILD_DEPENDS+= mecab-base-[0-9]*:../../textproc/mecab-base + PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= yes @@ -19,5 +22,8 @@ BUILD_DEFS+= MECAB_CHARSET UNLIMIT_RESOURCES= datasize -.include "../../textproc/mecab-base/buildlink3.mk" +FIND_PREFIX:= MECABDIR=mecab-base +.include "../../mk/find-prefix.mk" +CONFIGURE_ARGS+= --with-mecab-config=${MECABDIR}/bin/mecab-config + .include "../../mk/bsd.pkg.mk" diff --git a/textproc/mecab-naistdic/Makefile b/textproc/mecab-naistdic/Makefile index d2366bdb011..f7154205c98 100644 --- a/textproc/mecab-naistdic/Makefile +++ b/textproc/mecab-naistdic/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.1.1.1 2011/03/23 15:12:30 taca Exp $ +# $NetBSD: Makefile,v 1.2 2012/02/29 09:10:06 obache Exp $ # DISTNAME= mecab-naist-jdic-0.6.3-20100801 PKGNAME= ${DISTNAME:S/naist-jdic/naistjdic/} +PKGREVISION= 1 CATEGORIES= japanese textproc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP:=naist-jdic/48487/} @@ -12,6 +13,8 @@ HOMEPAGE= http://sourceforge.jp/projects/naist-jdic/wiki/FrontPage COMMENT= Japanese Morphological Dictionary for MeCab LICENSE= modified-bsd +BUILD_DEPENDS+= mecab-base-[0-9]*:../../textproc/mecab-base + PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= yes @@ -22,5 +25,8 @@ BUILD_DEFS+= MECAB_CHARSET UNLIMIT_RESOURCES= datasize -.include "../../textproc/mecab-base/buildlink3.mk" +FIND_PREFIX:= MECABDIR=mecab-base +.include "../../mk/find-prefix.mk" +CONFIGURE_ARGS+= --with-mecab-config=${MECABDIR}/bin/mecab-config + .include "../../mk/bsd.pkg.mk" |