1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/chinese/py-cconv/Makefile
Sunpoet Po-Chuan Hsieh fbdf4bfea0 - Add py-cconv 0.5.0
This port is the Python wrapper of cconv (chinese/cconv).

cconv (pronunciation: see-conv) is an iconv-based Simplified-Traditional Chinese
conversion tool. It is NOT only a transcoding program, but also a TRANSLATE tool
between Simplified Chinese and Traditional Chinese.

We stand on the shoulders of giants. cconv source code is based on iconv, an
excellent program which converts text from one encoding to another.

Features:
- iconv-like usage.
- language-level Simplified-Traditional Chinese conversion.
- idioms can be translated.

WWW: http://code.google.com/p/cconv/
2011-05-09 07:40:22 +00:00

27 lines
596 B
Makefile

# New ports collection makefile for: py-cconv
# Date created: 2011-04-28
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= cconv
PORTVERSION= 0.5.0
CATEGORIES= chinese converters python
MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-python-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python wrapper for chinese/cconv
LIB_DEPENDS= cconv.0:${PORTSDIR}/chinese/cconv
CFLAGS+= -I${LOCALBASE}/include
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PLIST_FILES= %%PYTHON_SITELIBDIR%%/${PORTNAME}.so
.include <bsd.port.mk>