diff options
author | perky <perky@FreeBSD.org> | 2003-09-28 02:05:12 +0800 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2003-09-28 02:05:12 +0800 |
commit | 03a5cd67b8333607c499812eab44479b37f4b382 (patch) | |
tree | 93a59b6480c4dcb3626954211d69f2a5b07d91cf /japanese/pycodec | |
parent | 1746a7bf8eabf4ff5b03ad5212d928ac4fa55ec2 (diff) | |
download | freebsd-ports-gnome-03a5cd67b8333607c499812eab44479b37f4b382.tar.gz freebsd-ports-gnome-03a5cd67b8333607c499812eab44479b37f4b382.tar.zst freebsd-ports-gnome-03a5cd67b8333607c499812eab44479b37f4b382.zip |
- Move code conversion tables of 170KB from .data to .text area.
- Bump PORTREVISION
Diffstat (limited to 'japanese/pycodec')
-rw-r--r-- | japanese/pycodec/Makefile | 6 |
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} |