aboutsummaryrefslogtreecommitdiff
path: root/japanese/py-mecab
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-03-31 10:03:24 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-03-31 10:03:24 +0000
commit540597d9b7ed34e06af32b6adffea9a51de1e98f (patch)
tree609fd127ad1c6235c3591d2a9207a54447b8cdb0 /japanese/py-mecab
parent649f98a6947da8e42f4320d0c295e793358dce58 (diff)
downloadports-540597d9b7ed34e06af32b6adffea9a51de1e98f.tar.gz
ports-540597d9b7ed34e06af32b6adffea9a51de1e98f.zip
- Update to 0.97
PR: 122232 Submitted by: "Junji NAKANISHI" <jun-g@daemonfreaks.com> (maintainer)
Notes
Notes: svn path=/head/; revision=210219
Diffstat (limited to 'japanese/py-mecab')
-rw-r--r--japanese/py-mecab/Makefile6
-rw-r--r--japanese/py-mecab/distinfo6
2 files changed, 8 insertions, 4 deletions
diff --git a/japanese/py-mecab/Makefile b/japanese/py-mecab/Makefile
index 4ac78a78327b..83c529a550d0 100644
--- a/japanese/py-mecab/Makefile
+++ b/japanese/py-mecab/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= mecab
-PORTVERSION= 0.96
+PORTVERSION= 0.97
CATEGORIES= japanese python textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -21,6 +21,10 @@ USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_EGGINFO= ${PORTNAME}_python-${PKGVERSION}-${PYTHON_VERSION:S/thon//}.egg-info
+pre-patch:
+ @${REINPLACE_CMD} -e 's|cmd1("mecab-config --version")|"${PKGVERSION}"|' \
+ ${WRKSRC}/setup.py
+
.include <bsd.port.pre.mk>
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${PYTHON_PKGNAMEPREFIX}
diff --git a/japanese/py-mecab/distinfo b/japanese/py-mecab/distinfo
index e81612593368..abf02215967d 100644
--- a/japanese/py-mecab/distinfo
+++ b/japanese/py-mecab/distinfo
@@ -1,3 +1,3 @@
-MD5 (mecab-python-0.96.tar.gz) = 5faa154aa8a95145d6a58befa42e6c40
-SHA256 (mecab-python-0.96.tar.gz) = afad397d45dd0dcebaffa8a3c8ba85e822113479f8aa61a4b84fb2d9e47fb636
-SIZE (mecab-python-0.96.tar.gz) = 51276
+MD5 (mecab-python-0.97.tar.gz) = f5b3545572d00b09c24a780dcfdf8bc8
+SHA256 (mecab-python-0.97.tar.gz) = cae83255b2842330e1a0806067b2fa272cc0443d5b2fc4f7636f11db91e82ede
+SIZE (mecab-python-0.97.tar.gz) = 53415