mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
f23c877d57
Approved by: portmgr blanket
24 lines
539 B
Makefile
24 lines
539 B
Makefile
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cconv
|
|
PORTVERSION= 0.6.2
|
|
PORTREVISION= 3
|
|
CATEGORIES= chinese converters
|
|
MASTER_SITES= GOOGLE_CODE
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Simplified-Traditional Chinese conversion tool
|
|
|
|
LICENSE= GPLv2
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
USES= iconv libtool
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|unicode.h||; s|libcconv_la_LDFLAGS|cconv_LDFLAGS|' ${WRKSRC}/Makefile.in
|
|
@${REINPLACE_CMD} -e 's|UTF-TW|UTF8-TW|g' ${WRKSRC}/main.c
|
|
|
|
.include <bsd.port.mk>
|