aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-10-16 08:38:05 +0000
committerJohn Marino <marino@FreeBSD.org>2014-10-16 08:38:05 +0000
commit7557917ac17d39f1f819a7073644443d37227356 (patch)
tree07647db1d94d2cbc5b646de3fd132808ce110fc5 /japanese
parent461822e938aaf1877379233c1cff6d89ba037516 (diff)
downloadports-7557917ac17d39f1f819a7073644443d37227356.tar.gz
ports-7557917ac17d39f1f819a7073644443d37227356.zip
Notes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/mecab/Makefile6
-rw-r--r--japanese/mecab/pkg-plist5
2 files changed, 4 insertions, 7 deletions
diff --git a/japanese/mecab/Makefile b/japanese/mecab/Makefile
index a89920ae3059..320da5506ece 100644
--- a/japanese/mecab/Makefile
+++ b/japanese/mecab/Makefile
@@ -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
diff --git a/japanese/mecab/pkg-plist b/japanese/mecab/pkg-plist
index 734252ddd6fc..a7e881113ede 100644
--- a/japanese/mecab/pkg-plist
+++ b/japanese/mecab/pkg-plist
@@ -11,7 +11,4 @@ libexec/mecab/mecab-dict-index
libexec/mecab/mecab-system-eval
libexec/mecab/mecab-test-gen
man/man1/mecab.1.gz
-@dirrm libexec/mecab
-@unexec if cmp -s %D/etc/mecabrc.dist %D/etc/mecabrc; then rm -f %D/etc/mecabrc; else true; fi
-etc/mecabrc.dist
-@exec if [ ! -f %D/etc/mecabrc ]; then cp -p %D/%F %B/mecabrc; fi
+@sample etc/mecabrc.sample