pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/php-mecab Solve build problem after enabling ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0061d3974a22
branches:  trunk
changeset: 355263:0061d3974a22
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Nov 27 14:55:30 2016 +0000

description:
Solve build problem after enabling use of ${PREFIX}/etc/php.d and incomplete
fix of previous commit.

Bump PKGREVISION due to PLIST change.

diffstat:

 textproc/php-mecab/Makefile     |  8 +++++---
 textproc/php-mecab/PLIST.extras |  3 ++-
 2 files changed, 7 insertions(+), 4 deletions(-)

diffs (49 lines):

diff -r 213b2e784dbd -r 0061d3974a22 textproc/php-mecab/Makefile
--- a/textproc/php-mecab/Makefile       Sun Nov 27 14:26:29 2016 +0000
+++ b/textproc/php-mecab/Makefile       Sun Nov 27 14:55:30 2016 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.11 2016/09/05 20:14:28 joerg Exp $
+# $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
@@ -14,12 +15,13 @@
 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 -r 213b2e784dbd -r 0061d3974a22 textproc/php-mecab/PLIST.extras
--- a/textproc/php-mecab/PLIST.extras   Sun Nov 27 14:26:29 2016 +0000
+++ b/textproc/php-mecab/PLIST.extras   Sun Nov 27 14:55:30 2016 +0000
@@ -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.3 2016/11/27 14:55:30 taca 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-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



Home | Main Index | Thread Index | Old Index