View | Details | Raw Unified | Return to bug 60808
Collapse All | Expand All

(-)fcitx/Makefile (-6 / +5 lines)
Lines 6-18 Link Here
6
#
6
#
7
7
8
PORTNAME=	fcitx
8
PORTNAME=	fcitx
9
PORTVERSION=	1.8.4
9
PORTVERSION=	1.8.5
10
CATEGORIES=	chinese
10
CATEGORIES=	chinese x11
11
MASTER_SITES=	http://www.fcitx.org/ \
11
MASTER_SITES=	http://www.fcitx.org/
12
		ftp://freebsd.sinica.edu.tw/pub/statue/fcitx/
13
EXTRACT_SUFX=	.tar.bz2
12
EXTRACT_SUFX=	.tar.bz2
14
13
15
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	dryice@liu.com.cn
16
COMMENT=	A simple and fast GBK Chinese XIM server
15
COMMENT=	A simple and fast GBK Chinese XIM server
17
16
18
LIB_DEPENDS=	iconv.3:${PORTSDIR}/converters/libiconv
17
LIB_DEPENDS=	iconv.3:${PORTSDIR}/converters/libiconv
Lines 22-28 Link Here
22
USE_REINPLACE=	yes
21
USE_REINPLACE=	yes
23
22
24
post-patch:
23
post-patch:
25
	@${REINPLACE_CMD} -e 's#usr/share#${LOCALBASE}/share#g' ${WRKSRC}/Makefile ${WRKSRC}/ime.h ${WRKSRC}/data/fcitx
24
	@${REINPLACE_CMD} -e 's#usr/share#${LOCALBASE}/share#g' ${WRKSRC}/Makefile ${WRKSRC}/ime.h
26
	@${REINPLACE_CMD} -e 's#usr/bin#${LOCALBASE}/bin#g' ${WRKSRC}/Makefile
25
	@${REINPLACE_CMD} -e 's#usr/bin#${LOCALBASE}/bin#g' ${WRKSRC}/Makefile
27
	@${REINPLACE_CMD} -e 's#zh_CN.GB2312#zh_CN.EUC#g' ${WRKSRC}/window.c
26
	@${REINPLACE_CMD} -e 's#zh_CN.GB2312#zh_CN.EUC#g' ${WRKSRC}/window.c
28
	@${REINPLACE_CMD} -e 's#zh_CN.gb2312#zh_CN.EUC#g' ${WRKSRC}/xim.c
27
	@${REINPLACE_CMD} -e 's#zh_CN.gb2312#zh_CN.EUC#g' ${WRKSRC}/xim.c
(-)fcitx/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (fcitx-1.8.4.tar.bz2) = 8b7bd99df70b57c4b8ad085ea25d88db
1
MD5 (fcitx-1.8.5.tar.bz2) = c2b7c48b906c4812f305fc9f5a605458
(-)fcitx/files/patch-Makefile (-3 / +3 lines)
Lines 1-5 Link Here
1
--- Makefile.orig	Wed Mar 26 02:29:39 2003
1
--- Makefile.orig	Thu Jan  1 21:11:24 2004
2
+++ Makefile	Wed Mar 26 02:41:59 2003
2
+++ Makefile	Thu Jan  1 21:14:40 2004
3
@@ -1,12 +1,12 @@
3
@@ -1,12 +1,12 @@
4
 CC = gcc
4
 CC = gcc
5
 
5
 
Lines 9-15 Link Here
9
-INC =  -I/usr/X11R6/include -I.
9
-INC =  -I/usr/X11R6/include -I.
10
+INC =  -I${LOCALBASE}/include -I${X11BASE}/include -I.
10
+INC =  -I${LOCALBASE}/include -I${X11BASE}/include -I.
11
 
11
 
12
 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
12
 SRC = main.c ime.c KeyList.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
13
 
13
 
14
-LIB = -L/usr/X11R6/lib -lX11
14
-LIB = -L/usr/X11R6/lib -lX11
15
+LIB = -L${LOCALBASE}/lib -L${X11BASE}/lib -lX11 -liconv
15
+LIB = -L${LOCALBASE}/lib -L${X11BASE}/lib -lX11 -liconv
(-)fcitx/pkg-plist (-4 lines)
Lines 5-12 Link Here
5
share/fcitx/pyphrase.mb
5
share/fcitx/pyphrase.mb
6
share/fcitx/sp.dat
6
share/fcitx/sp.dat
7
share/fcitx/wbx.mb
7
share/fcitx/wbx.mb
8
share/fcitx/fcitx
9
share/fcitx/fonts/fonts.dir
10
share/fcitx/fonts/gbkst16.pcf.gz
11
@dirrm share/fcitx/fonts
12
@dirrm share/fcitx
8
@dirrm share/fcitx

Return to bug 60808