openbsd-ports/chinese/py-zhCodecs/Makefile

42 lines
956 B
Makefile
Raw Normal View History

2002-12-29 14:32:37 -05:00
# $OpenBSD: Makefile,v 1.4 2002/12/29 19:32:37 fgsch Exp $
COMMENT= "Python Unicode codecs for Chinese charsets"
VERSION= 1.2.0
DISTNAME= ChineseCodecs${VERSION}
PKGNAME= py-zhCodecs-${VERSION}
CATEGORIES= chinese devel
2002-01-31 12:40:44 -05:00
HOMEPAGE= http://www.sf.net/projects/python-codecs/
MAINTAINER= Shell Hung <shell@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://ftp.shellhung.org/pub/OpenBSD/packages/chinese/ \
ftp://ftp2.python.or.kr/pub/FreeBSD/ports/distfiles/
PYTHON_VER= 2.1
2002-02-15 14:53:42 -05:00
BUILD_DEPENDS+= :python-${PYTHON_VER}*:lang/python/${PYTHON_VER}
RUN_DEPENDS= ${BUILD_DEPENDS}
NO_REGRESS= Yes
PY_CMD= cd ${WRKSRC}/Python; python${PYTHON_VER} ./setup.py
SUBST_VARS= PYTHON_VER
post-extract:
@${CHMOD} 711 ${WRKSRC}/Python/chinesetw
do-build:
${PY_CMD} build --build-base=${WRKSRC}
do-install:
${PY_CMD} install -O1 --prefix=${PREFIX}
.include <bsd.port.mk>