aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-04-13 18:56:08 +0800
committeredwin <edwin@FreeBSD.org>2003-04-13 18:56:08 +0800
commit2b16215de4942b0adb21bdf0f120066f6b48adeb (patch)
tree911019b5cac8e4e697642e460ab95c7d4fc8f2f1 /chinese
parentda7176994842f0bf136b514d7a88d01a525a6ad6 (diff)
downloadfreebsd-ports-gnome-2b16215de4942b0adb21bdf0f120066f6b48adeb.tar.gz
freebsd-ports-gnome-2b16215de4942b0adb21bdf0f120066f6b48adeb.tar.zst
freebsd-ports-gnome-2b16215de4942b0adb21bdf0f120066f6b48adeb.zip
Update port: chinese/fcitx
o update to 1.8.3 o add MASTER_SITESS PR: ports/50847 Submitted by: Statue <statue@freebsd.sinica.edu.tw>
Diffstat (limited to 'chinese')
-rw-r--r--chinese/fcitx/Makefile12
-rw-r--r--chinese/fcitx/distinfo2
-rw-r--r--chinese/fcitx/files/patch-Makefile4
-rw-r--r--chinese/fcitx/pkg-plist4
4 files changed, 14 insertions, 8 deletions
diff --git a/chinese/fcitx/Makefile b/chinese/fcitx/Makefile
index c244727eedba..38262ec7e45a 100644
--- a/chinese/fcitx/Makefile
+++ b/chinese/fcitx/Makefile
@@ -6,22 +6,24 @@
#
PORTNAME= fcitx
-PORTVERSION= 1.8.2
-PORTREVISION= 1
+PORTVERSION= 1.8.3
CATEGORIES= chinese
-MASTER_SITES= http://www.linuxsir.com.cn/fcitx/
+MASTER_SITES= http://www.fcitx.org/ \
+ http://www.linuxsir.com.cn/fcitx/
+EXTRACT_SUFX= .tar.bz2
MAINTAINER= statue@freebsd.sinica.edu.tw
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#usr/local/share#g' ${WRKSRC}/Makefile ${WRKSRC}/ime.h
- @${REINPLACE_CMD} -e 's#usr/bin#usr/local/bin#g' ${WRKSRC}/Makefile
+ @${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
diff --git a/chinese/fcitx/distinfo b/chinese/fcitx/distinfo
index e479771bd421..bd7f60c2d69e 100644
--- a/chinese/fcitx/distinfo
+++ b/chinese/fcitx/distinfo
@@ -1 +1 @@
-MD5 (fcitx-1.8.2.tar.gz) = 6674c077741ffa073337d116852d0b39
+MD5 (fcitx-1.8.3.tar.bz2) = 948ba4963cb7a1ca124f5961b94ea5a0
diff --git a/chinese/fcitx/files/patch-Makefile b/chinese/fcitx/files/patch-Makefile
index f9b0ee8e460b..809ba9f7b16b 100644
--- a/chinese/fcitx/files/patch-Makefile
+++ b/chinese/fcitx/files/patch-Makefile
@@ -7,12 +7,12 @@
+CFLAGS= -O2 -fno-strength-reduce -DSIGUNUSED=32
-INC = -I/usr/X11R6/include -I.
-+INC = -I/usr/local/include -I/usr/X11R6/include -I.
++INC = -I${LOCALBASE}/include -I${X11BASE}/include -I.
SRC = main.c ime.c AddPhraseWindow.c IC.c InputWindow.c MainWindow.c MyErrorsHandlers.c punc.c py.c PYFA.c pyParser.c pyMapTable.c SetLocale.c tools.c wbx.c window.c xim.c qw.c sp.c py-2.c
-LIB = -L/usr/X11R6/lib -lX11
-+LIB = -L/usr/local/lib -L/usr/X11R6/lib -lX11 -liconv
++LIB = -L${LOCALBASE}/lib -L${X11BASE}/lib -lX11 -liconv
OBJ = $(SRC:.c=.o)
diff --git a/chinese/fcitx/pkg-plist b/chinese/fcitx/pkg-plist
index ccecd328acc9..a1ffd76ca34e 100644
--- a/chinese/fcitx/pkg-plist
+++ b/chinese/fcitx/pkg-plist
@@ -5,4 +5,8 @@ share/fcitx/pybase.mb
share/fcitx/pyphrase.mb
share/fcitx/sp.dat
share/fcitx/wbx.mb
+share/fcitx/fcitx
+share/fcitx/fonts/fonts.dir
+share/fcitx/fonts/gbkst16.pcf.gz
+@dirrm share/fcitx/fonts
@dirrm share/fcitx