freebsd-ports/chinese/fcitx/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

35 lines
830 B
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= 3.4.2
PORTREVISION= 1
CATEGORIES= chinese x11
MASTER_SITES= http://www.fcitx.org/download/ \
${MASTER_SITE_LOCAL} \
http://dryice.name/computer/FreeBSD/distfiles/
MASTER_SITE_SUBDIR= dryice
MAINTAINER= dryice@FreeBSD.org
COMMENT= A simple and fast GBK Chinese XIM server
LIB_DEPENDS= Xft.2:${PORTSDIR}/x11-fonts/libXft
USE_BZIP2= yes
USE_XLIB= yes
USE_ICONV= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
post-patch:
@${REINPLACE_CMD} -e 's#zh_CN.GB2312#zh_CN.eucCN#g' ${WRKSRC}/src/xim.c
@${REINPLACE_CMD} -e 's#zh_CN.gb2312#zh_CN.eucCN#g' ${WRKSRC}/src/ui.c ${WRKSRC}/src/tools.c
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>