svn commit: r370980 - head/japanese/mecab
John Marino
marino at FreeBSD.org
Thu Oct 16 08:38:06 UTC 2014
Author: marino
Date: Thu Oct 16 08:38:05 2014
New Revision: 370980
URL: https://svnweb.freebsd.org/changeset/ports/370980
QAT: https://qat.redports.org/buildarchive/r370980/
Log:
japanese/mecab: Remove @dirrm and use @sample
PR: 194368
Modified:
head/japanese/mecab/Makefile
head/japanese/mecab/pkg-plist
Modified: head/japanese/mecab/Makefile
==============================================================================
--- head/japanese/mecab/Makefile Thu Oct 16 08:38:05 2014 (r370979)
+++ head/japanese/mecab/Makefile Thu Oct 16 08:38:05 2014 (r370980)
@@ -3,7 +3,7 @@
PORTNAME= mecab
PORTVERSION= 0.996
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= japanese textproc
MASTER_SITES= GOOGLE_CODE
@@ -31,10 +31,10 @@ OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e 's/-O3/${CFLAGS}/' ${WRKSRC}/${CONFIGURE_SCRIPT}.in
- ${REINPLACE_CMD} -e 's/conf_DATA = mecabrc/conf_DATA = mecabrc.dist/' ${WRKSRC}/Makefile.am
+ ${REINPLACE_CMD} -e 's/conf_DATA = mecabrc/conf_DATA = mecabrc.sample/' ${WRKSRC}/Makefile.am
post-configure:
- ${CP} ${WRKSRC}/mecabrc ${WRKSRC}/mecabrc.dist
+ ${CP} ${WRKSRC}/mecabrc ${WRKSRC}/mecabrc.sample
pre-install:
${CHMOD} a+x ${WRKSRC}/install-sh
Modified: head/japanese/mecab/pkg-plist
==============================================================================
--- head/japanese/mecab/pkg-plist Thu Oct 16 08:38:05 2014 (r370979)
+++ head/japanese/mecab/pkg-plist Thu Oct 16 08:38:05 2014 (r370980)
@@ -11,7 +11,4 @@ libexec/mecab/mecab-dict-index
libexec/mecab/mecab-system-eval
libexec/mecab/mecab-test-gen
man/man1/mecab.1.gz
- at dirrm libexec/mecab
- at unexec if cmp -s %D/etc/mecabrc.dist %D/etc/mecabrc; then rm -f %D/etc/mecabrc; else true; fi
-etc/mecabrc.dist
- at exec if [ ! -f %D/etc/mecabrc ]; then cp -p %D/%F %B/mecabrc; fi
+ at sample etc/mecabrc.sample
More information about the svn-ports-all
mailing list