1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/chinese/fcitx/Makefile
Li-Wen Hsu 09b4cd960b - Update to 3.6.2
- Pass maintainership to submitter

PR:		ports/139692
Submitted by:	"Denise H. G." <darcsis@gmail.com>
2009-10-18 06:41:22 +00:00

40 lines
951 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.6.2
CATEGORIES= chinese x11
MASTER_SITES= http://www.fcitx.org/download/ \
ftp://mirrors.redv.com/pub/fcitx/ \
${MASTER_SITE_LOCAL} \
http://dryice.name/computer/FreeBSD/distfiles/
MASTER_SITE_SUBDIR= dryice
MAINTAINER= darcsis@gmail.com
COMMENT= A simple and fast GBK Chinese XIM server
LIB_DEPENDS= Xft.2:${PORTSDIR}/x11-fonts/libXft
USE_BZIP2= yes
USE_XORG= xpm x11 xtst
USE_ICONV= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/fcitx-${PORTVERSION}
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
pre-install:
@${CHMOD} 0755 ${WRKSRC}/install-sh
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>