From bd23a788328a48c2a5ee7731314e7b99ffeda8ab Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 5 Sep 2016 20:14:28 +0000 Subject: lang/php/ext.mk overrides EGDIR with an absolute path, so drop definition here and adjust post-install command. --- textproc/php-mecab/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'textproc/php-mecab') diff --git a/textproc/php-mecab/Makefile b/textproc/php-mecab/Makefile index d157ba77919..94a7c287ee1 100644 --- a/textproc/php-mecab/Makefile +++ b/textproc/php-mecab/Makefile @@ -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 @@ 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} + ${INSTALL_DATA} *.php ${DESTDIR}${EGDIR} .include "../../textproc/mecab-base/buildlink3.mk" .include "../../lang/php/ext.mk" -- cgit v1.2.3