summaryrefslogtreecommitdiff
path: root/textproc/php-mecab
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2016-09-05 20:14:28 +0000
committerjoerg <joerg@pkgsrc.org>2016-09-05 20:14:28 +0000
commitbd23a788328a48c2a5ee7731314e7b99ffeda8ab (patch)
treeea9d66f6f35191e6035b4b297049d47596786fb0 /textproc/php-mecab
parente1e5d5d58b93b996ea0da5c79401694bae952c8e (diff)
downloadpkgsrc-bd23a788328a48c2a5ee7731314e7b99ffeda8ab.tar.gz
lang/php/ext.mk overrides EGDIR with an absolute path, so drop
definition here and adjust post-install command.
Diffstat (limited to 'textproc/php-mecab')
-rw-r--r--textproc/php-mecab/Makefile5
1 files changed, 2 insertions, 3 deletions
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"