From c4db1064ba5c1e9f86caa32a2488bc414e02e6c8 Mon Sep 17 00:00:00 2001 From: Hye-Shik Chang Date: Sat, 27 Sep 2003 18:05:12 +0000 Subject: - Move code conversion tables of 170KB from .data to .text area. - Bump PORTREVISION --- japanese/pycodec/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'japanese/pycodec') 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} -- cgit v1.2.3