aboutsummaryrefslogtreecommitdiff
path: root/japanese/pycodec
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2003-09-27 18:05:12 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2003-09-27 18:05:12 +0000
commitc4db1064ba5c1e9f86caa32a2488bc414e02e6c8 (patch)
tree2e807778f375d3de013ce28e92c9b91bf89051ec /japanese/pycodec
parent40c6038b449485d0f9a3edefa67b168ae041dd54 (diff)
downloadports-c4db1064ba5c1e9f86caa32a2488bc414e02e6c8.tar.gz
ports-c4db1064ba5c1e9f86caa32a2488bc414e02e6c8.zip
Notes
Diffstat (limited to 'japanese/pycodec')
-rw-r--r--japanese/pycodec/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/japanese/pycodec/Makefile b/japanese/pycodec/Makefile
index 3ed55f5a42cb..f6dc1d2c4fc7 100644
--- a/japanese/pycodec/Makefile
+++ b/japanese/pycodec/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pycodec
PORTVERSION= 1.4.9
+PORTREVISION= 1
CATEGORIES= japanese python converters
MASTER_SITES= http://www.python.jp/Zope/download/JapaneseCodecs/ \
http://www.asahi-net.or.jp/~rd6t-kjym/python/JapaneseCodecs/dist/
@@ -17,8 +18,13 @@ COMMENT= Python Unicode codecs for Japanese charsets
USE_PYTHON= yes
USE_PYDISTUTILS=yes
+USE_REINPLACE= yes
DOCSDIR= ${PREFIX}/share/doc/ja-pycodec
+post-patch:
+ ${REINPLACE_CMD} -e 's,^static,static const,g' \
+ ${WRKSRC}/src/_japanese_codecs.h
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}