pkgsrc/textproc/mecab-naistdic/Makefile
jperkin 1467aa06e7 Remove mk/find-prefix.mk usage from the textproc category.
The find-prefix infrastructure was required in a pkgviews world where
packages installed from pkgsrc could have different installation
prefixes, and this was a way for a dependency prefix to be determined.

Now that pkgviews has been removed there is no longer any need for the
overhead of this infrastructure.  Instead we use BUILDLINK_PREFIX.pkg
for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the
dependency is coming from pkgsrc.

Provides a reasonable performance win due to the reduction of `pkg_info
-qp` calls, some of which were redundant anyway as they were duplicating
the same information provided by BUILDLINK_PREFIX.pkg.
2015-11-25 12:53:42 +00:00

27 lines
711 B
Makefile

# $NetBSD: Makefile,v 1.6 2015/11/25 12:53:42 jperkin Exp $
#
DISTNAME= mecab-naist-jdic-0.6.3-20100801
PKGNAME= ${DISTNAME:S/naist-jdic/naistjdic/}
PKGREVISION= 1
CATEGORIES= japanese textproc
MASTER_SITES= ${MASTER_SITE_OSDN:=naist-jdic/48487/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://osdn.jp/projects/naist-jdic/wiki/FrontPage
COMMENT= Japanese Morphological Dictionary for MeCab
LICENSE= modified-bsd
BUILD_DEPENDS+= mecab-base-[0-9]*:../../textproc/mecab-base
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-charset=${MECAB_CHARSET:Q}
BUILD_DEFS+= MECAB_CHARSET
UNLIMIT_RESOURCES= datasize
CONFIGURE_ARGS+= --with-mecab-config=${LOCALBASE}/bin/mecab-config
.include "../../mk/bsd.pkg.mk"