pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/php-mecab lang/php/ext.mk overrides EGDIR wit...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/84354bcb6e4d
branches:  trunk
changeset: 352059:84354bcb6e4d
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Sep 05 20:14:28 2016 +0000

description:
lang/php/ext.mk overrides EGDIR with an absolute path, so drop
definition here and adjust post-install command.

diffstat:

 textproc/php-mecab/Makefile |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r b3590899236b -r 84354bcb6e4d textproc/php-mecab/Makefile
--- a/textproc/php-mecab/Makefile       Mon Sep 05 16:09:11 2016 +0000
+++ b/textproc/php-mecab/Makefile       Mon Sep 05 20:14:28 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2015/12/13 17:20:21 taca Exp $
+# $NetBSD: Makefile,v 1.11 2016/09/05 20:14:28 joerg Exp $
 #
 
 PECL_DISTNAME= ${MODNAME}-${PECL_VERSION}
@@ -14,13 +14,12 @@
 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}
+       ${INSTALL_DATA} *.php ${DESTDIR}${EGDIR}
 
 .include "../../textproc/mecab-base/buildlink3.mk"
 .include "../../lang/php/ext.mk"



Home | Main Index | Thread Index | Old Index