30b459ebc5
ports to be reset to ports@FreeBSD.org. We're sorry to see you go and want to thank you for your help in the past. PR: ports/59515 Submitted by: statue@freebsd.sinica.edu.tw
35 lines
1 KiB
Makefile
35 lines
1 KiB
Makefile
# New ports collection makefile for: zh-fcitx
|
|
# Date created: 26 March 2003
|
|
# Whom: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= fcitx
|
|
PORTVERSION= 1.8.4
|
|
CATEGORIES= chinese
|
|
MASTER_SITES= http://www.fcitx.org/ \
|
|
ftp://freebsd.sinica.edu.tw/pub/statue/fcitx/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A simple and fast GBK Chinese XIM server
|
|
|
|
LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
|
|
|
|
USE_BZIP2= yes
|
|
USE_XLIB= yes
|
|
USE_REINPLACE= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's#usr/share#${LOCALBASE}/share#g' ${WRKSRC}/Makefile ${WRKSRC}/ime.h ${WRKSRC}/data/fcitx
|
|
@${REINPLACE_CMD} -e 's#usr/bin#${LOCALBASE}/bin#g' ${WRKSRC}/Makefile
|
|
@${REINPLACE_CMD} -e 's#zh_CN.GB2312#zh_CN.EUC#g' ${WRKSRC}/window.c
|
|
@${REINPLACE_CMD} -e 's#zh_CN.gb2312#zh_CN.EUC#g' ${WRKSRC}/xim.c
|
|
@${REINPLACE_CMD} -e 's#zh_CN.GBK#zh_CN.EUC#g' ${WRKSRC}/tools.c
|
|
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' ${WRKSRC}/IMdkit/lib/IMConn.c
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|