openbsd-ports/chinese/cconv/Makefile
2013-03-21 08:45:11 +00:00

33 lines
584 B
Makefile

# $OpenBSD: Makefile,v 1.4 2013/03/21 08:45:13 ajacoutot Exp $
COMMENT= simplified-traditional chinese translate tool
DISTNAME= cconv-0.6.2
REVISION= 0
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
WANTLIB= c
MASTER_SITES= http://cconv.googlecode.com/files/
MODULES= converters/libiconv
CONFIGURE_STYLE=gnu
FAKE_FLAGS= includedir=${PREFIX}/include/cconv/
post-patch:
@perl -i -pe 's:UTF-TW:UTF8-TW:g' ${WRKSRC}/main.c
.include <bsd.port.mk>