1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/japanese/pycodec/Makefile
2010-05-23 21:16:16 +00:00

35 lines
877 B
Makefile

# New ports collection makefile for: ja-pycodec
# Date created: 29 April 2001
# Whom: Hye-Shik Chang <perky@python.or.kr>
#
# $FreeBSD$
#
PORTNAME= pycodec
PORTVERSION= 1.4.11
CATEGORIES= japanese python converters
MASTER_SITES= http://www.python.jp/Zope/download/JapaneseCodecs/ \
http://www.asahi-net.or.jp/~rd6t-kjym/python/JapaneseCodecs/dist/
DISTNAME= JapaneseCodecs-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python Unicode codecs for Japanese charsets
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME= JapaneseCodecs
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}
${INSTALL_DATA} ${WRKSRC}/README.en ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.ja ${DOCSDIR}
.endif
.include <bsd.port.mk>