summaryrefslogtreecommitdiff
path: root/textproc/mecab-naistdic
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2012-02-29 09:10:06 +0000
committerobache <obache@pkgsrc.org>2012-02-29 09:10:06 +0000
commitd8ec0881afa99ecf1af902ef594fa2efab634207 (patch)
tree8928c513477aadcd5b0a54318bc387009d9bb9fe /textproc/mecab-naistdic
parent60834e9d7b66f9ba8b1f2096fa81c9e5ffde48be (diff)
downloadpkgsrc-d8ec0881afa99ecf1af902ef594fa2efab634207.tar.gz
No need to buildlink with mecab-base, just BUILD_DEPENDS is sufficient.
Bump PKGREVISION.
Diffstat (limited to 'textproc/mecab-naistdic')
-rw-r--r--textproc/mecab-naistdic/Makefile10
1 files changed, 8 insertions, 2 deletions
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"