summaryrefslogtreecommitdiff
path: root/chinese/fcitx
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-04-13 10:56:08 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-04-13 10:56:08 +0000
commit94d05327349df5c77b116cedf071a9243d8c6d21 (patch)
tree0b27cbcb07733c5b213d459551a0f806bf2050b9 /chinese/fcitx
parentUpdate port: [Maintainer Update]: misc/lr (diff)
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>
Notes
Notes: svn path=/head/; revision=78867
Diffstat (limited to 'chinese/fcitx')
-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