summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbsiegert <bsiegert>2016-12-04 15:21:07 +0000
committerbsiegert <bsiegert>2016-12-04 15:21:07 +0000
commit706610fa4dafb82848076b7ace2d7bd2eab6cfac (patch)
tree1a43144ff7083505eebf47a9ddefed1cc9b88f66
parent26e7948cccc416d73027f0087aeb2d5766e5d9ed (diff)
downloadpkgsrc-706610fa4dafb82848076b7ace2d7bd2eab6cfac.tar.gz
Pullup ticket #5165 - requested by taca
textproc/php-mecab: build fix Revisions pulled up: - textproc/php-mecab/Makefile 1.12 - textproc/php-mecab/PLIST.extras 1.3 --- Module Name: pkgsrc Committed By: taca Date: Sun Nov 27 14:55:30 UTC 2016 Modified Files: pkgsrc/textproc/php-mecab: Makefile PLIST.extras Log Message: Solve build problem after enabling use of ${PREFIX}/etc/php.d and incomplete fix of previous commit. Bump PKGREVISION due to PLIST change.
-rw-r--r--textproc/php-mecab/Makefile8
-rw-r--r--textproc/php-mecab/PLIST.extras3
2 files changed, 7 insertions, 4 deletions
diff --git a/textproc/php-mecab/Makefile b/textproc/php-mecab/Makefile
index 94a7c287ee1..48dabf09c46 100644
--- a/textproc/php-mecab/Makefile
+++ b/textproc/php-mecab/Makefile
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.11 2016/09/05 20:14:28 joerg Exp $
+# $NetBSD: Makefile,v 1.11.2.1 2016/12/04 15:21:07 bsiegert 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
@@ -14,12 +15,13 @@ HOMEPAGE= https://github.com/rsky/php-mecab
COMMENT= PHP extension for MeCab Morphological Analyzer
LICENSE= mit
-INSTALLATION_DIRS+= ${EGDIR}
+INSTALLATION_DIRS+= ${EGDIR}/mecab
PLIST_SRC+= ${.CURDIR}/PLIST.extras
post-install:
cd ${WRKSRC}/examples && \
- ${INSTALL_DATA} *.php ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} *.php ${DESTDIR}${EGDIR}/mecab
+ ${INSTALL_DATA} ${WRKSRC}/*.ini ${DESTDIR}${EGDIR}
.include "../../textproc/mecab-base/buildlink3.mk"
.include "../../lang/php/ext.mk"
diff --git a/textproc/php-mecab/PLIST.extras b/textproc/php-mecab/PLIST.extras
index af7d435ba55..295e11f0cf7 100644
--- a/textproc/php-mecab/PLIST.extras
+++ b/textproc/php-mecab/PLIST.extras
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.extras,v 1.2 2015/12/13 17:20:21 taca Exp $
+@comment $NetBSD: PLIST.extras,v 1.2.8.1 2016/12/04 15:21:07 bsiegert Exp $
share/examples/php/mecab/allmorphs-func.php
share/examples/php/mecab/allmorphs-ns.php
share/examples/php/mecab/allmorphs-oo.php
@@ -16,6 +16,7 @@ share/examples/php/mecab/format-ns.php
share/examples/php/mecab/format-ns2.php
share/examples/php/mecab/format-oo.php
share/examples/php/mecab/format-oo2.php
+share/examples/php/mecab.ini
share/examples/php/mecab/nbest-func.php
share/examples/php/mecab/nbest-ns.php
share/examples/php/mecab/nbest-oo.php