c47c20d756
fix of previous commit. Bump PKGREVISION due to PLIST change.
28 lines
758 B
Makefile
28 lines
758 B
Makefile
# $NetBSD: Makefile,v 1.12 2016/11/27 14:55:30 taca Exp $
|
|
#
|
|
|
|
PECL_DISTNAME= ${MODNAME}-${PECL_VERSION}
|
|
MODNAME= mecab
|
|
PECL_VERSION= 0.6.0
|
|
PECL_LEGACY_VERSION_SCHEME= yes
|
|
PKGREVISION= 1
|
|
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
|
|
|
|
INSTALLATION_DIRS+= ${EGDIR}/mecab
|
|
PLIST_SRC+= ${.CURDIR}/PLIST.extras
|
|
|
|
post-install:
|
|
cd ${WRKSRC}/examples && \
|
|
${INSTALL_DATA} *.php ${DESTDIR}${EGDIR}/mecab
|
|
${INSTALL_DATA} ${WRKSRC}/*.ini ${DESTDIR}${EGDIR}
|
|
|
|
.include "../../textproc/mecab-base/buildlink3.mk"
|
|
.include "../../lang/php/ext.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|