diff options
author | marino <marino@FreeBSD.org> | 2014-10-16 16:38:05 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2014-10-16 16:38:05 +0800 |
commit | 4390fa06c1fddb9dd6720987ebeeb8730fce892e (patch) | |
tree | 07647db1d94d2cbc5b646de3fd132808ce110fc5 /japanese | |
parent | 06a8deee5696b34ce3ab2e7c4e9ee9248d8a55bf (diff) | |
download | freebsd-ports-gnome-4390fa06c1fddb9dd6720987ebeeb8730fce892e.tar.gz freebsd-ports-gnome-4390fa06c1fddb9dd6720987ebeeb8730fce892e.tar.zst freebsd-ports-gnome-4390fa06c1fddb9dd6720987ebeeb8730fce892e.zip |
japanese/mecab: Remove @dirrm and use @sample
PR: 194368
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/mecab/Makefile | 6 | ||||
-rw-r--r-- | japanese/mecab/pkg-plist | 5 |
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 |