summaryrefslogtreecommitdiffstats
path: root/chinese/pycodec/Makefile
blob: 254cf1e58cad69a64069ca221a20e2163b92d195 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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=	http://www3.kr.freebsd.org/~perky/distfiles/ \
		http://fallin.lv/distfiles/ \
		#ftp://python-codecs.sourceforge.net/pub/python-codecs/
DISTNAME=	ChineseCodecs${PORTVERSION}

MAINTAINER=	perky@fallin.lv

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>
OpenPOWER on IntegriCloud