1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/chinese/pycodec/Makefile
2002-07-01 17:35:17 +00:00

29 lines
664 B
Makefile

# New ports collection makefile for: zh-pycodec
# Date created: 24 June 2001
# Whom: Hye-Shik Chang <perky@python.or.kr>
#
# $FreeBSD$
#
PORTNAME= pycodec
PORTVERSION= 1.2.0
CATEGORIES= chinese python converters
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= perky
DISTNAME= ChineseCodecs${PORTVERSION}
MAINTAINER= perky@FreeBSD.org
BUILD_DEPENDS= ${PYDISTUTILS}
USE_PYTHON= yes
NO_BUILD= yes
PLIST_SUB+= PYTHON_CODECDIR=${PYCODEC_DIR:S,^${LOCALBASE}/,,g}
PYCODEC_DIR= ${PYTHON_LIBDIR}/encodings
PYDIST_SETUP= cd ${WRKSRC}/Python && ${PYTHON_CMD} setup.py
do-install:
${PYDIST_SETUP} install --install-lib="${PYCODEC_DIR}"
.include <bsd.port.mk>