openbsd-ports/chinese/cconv/Makefile
kevlo e9fa5a80a7 Import cconv-0.6.2
cconv(pronunciation: see-conv.) is iconv based simplified-traditional 
chinese conversion tool. It is NOT only transcoding program, but also 
TRANSLATE tools between the Simplified Chinese and Traditional Chinese.

ok rpointel@
2011-05-12 09:58:51 +00:00

34 lines
618 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2011/05/12 09:58:51 kevlo Exp $
COMMENT= simplified-traditional chinese translate tool
DISTNAME= cconv-0.6.2
CATEGORIES= chinese converters
SHARED_LIBS= cconv 0.0
HOMEPAGE= http://code.google.com/p/cconv/
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
MASTER_SITES= http://cconv.googlecode.com/files/
MODULES= converters/libiconv
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
post-patch:
@perl -i -pe 's:UTF-TW:UTF8-TW:g' ${WRKSRC}/main.c
.include <bsd.port.mk>