a302e3460f
2015-12-05: php-mecab 0.6.0 =========================== * Add support for PHP 7. * Add `MeCab` namespace classes and constants. * Non-namespace classes are not supported on PHP 7. * Non-namespace constants are not supported on PHP 7. * Procedural APIs (`mecab_*` functions) are not supported on PHP 7. * Non-namespace classes are deprecated on PHP 5. * PHP versions earlier than 5.3 are no longer supported. * MeCab versions earlier than 0.99 are no longer supported. * Removed features: * `$filter` callback argument of `mecab_split()` function. * The persistent resource.
27 lines
722 B
Makefile
27 lines
722 B
Makefile
# $NetBSD: Makefile,v 1.10 2015/12/13 17:20:21 taca Exp $
|
|
#
|
|
|
|
PECL_DISTNAME= ${MODNAME}-${PECL_VERSION}
|
|
MODNAME= mecab
|
|
PECL_VERSION= 0.6.0
|
|
PECL_LEGACY_VERSION_SCHEME= yes
|
|
CATEGORIES= textproc japanese
|
|
MASTER_SITES= http://pecl.opendogs.org/get/
|
|
#EXTRACT_SUFX= .tar.gz
|
|
|
|
MAINTAINER= taca@NetBSD.org
|
|
HOMEPAGE= https://github.com/rsky/php-mecab
|
|
COMMENT= PHP extension for MeCab Morphological Analyzer
|
|
LICENSE= mit
|
|
|
|
EGDIR= share/examples/php/mecab
|
|
INSTALLATION_DIRS+= ${EGDIR}
|
|
PLIST_SRC+= ${.CURDIR}/PLIST.extras
|
|
|
|
post-install:
|
|
cd ${WRKSRC}/examples && \
|
|
${INSTALL_DATA} *.php ${DESTDIR}${PREFIX}/${EGDIR}
|
|
|
|
.include "../../textproc/mecab-base/buildlink3.mk"
|
|
.include "../../lang/php/ext.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|