Lines 6-15
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= gcin |
8 |
PORTNAME= gcin |
9 |
PORTVERSION= 1.3.1 |
9 |
PORTVERSION= 1.3.2 |
10 |
PORTREVISION= 1 |
|
|
11 |
CATEGORIES= chinese textproc gnome |
10 |
CATEGORIES= chinese textproc gnome |
12 |
MASTER_SITES= http://cle.linux.org.tw/gcin/download/:main \ |
11 |
MASTER_SITES= http://cle.linux.org.tw/gcin/download/:main \ |
|
|
12 |
http://ftp.twaren.net/local-distfiles/gcin/:main \ |
13 |
http://yilan.twbbs.org/chinsan/gcin/:main \ |
13 |
http://yilan.twbbs.org/chinsan/gcin/:main \ |
14 |
LOCAL/chinsan:main |
14 |
LOCAL/chinsan:main |
15 |
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:main |
15 |
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:main |
Lines 44-64
Link Here
|
44 |
.endif |
44 |
.endif |
45 |
|
45 |
|
46 |
pre-patch: |
46 |
pre-patch: |
|
|
47 |
${MV} ${WRKSRC}/icons/3/pingin.png ${WRKSRC}/icons/3/pinyin.png |
47 |
@${REINPLACE_CMD} -e 's,&,,; 1 s,bash,sh,; \ |
48 |
@${REINPLACE_CMD} -e 's,&,,; 1 s,bash,sh,; \ |
48 |
s,QT_IM_DIR=/usr,QT_IM_DIR=$$prefix,; \ |
49 |
s,QT_IM_DIR=/usr,QT_IM_DIR=$$prefix,; \ |
49 |
s,mandir=$$datadir,mandir=$$prefix,; \ |
50 |
s,mandir=$$datadir,mandir=$$prefix,; \ |
50 |
s,/usr/share,$$prefix/share,; 161 s,/gcin,,; \ |
51 |
s,/usr/share,$$prefix/share,; 164 s,/gcin,,; \ |
51 |
133,134 s,control-center-2\.0,gnome\/control-center-2\.0,g; \ |
52 |
133,134 s,control-center-2\.0,gnome\/control-center-2\.0,g; \ |
52 |
s,gcc,$$CC,; s,gcin-$$GCIN_VERSION,gcin,' ${WRKSRC}/configure |
53 |
s,gcc,$$CC,; s,gcin-$$GCIN_VERSION,gcin,' ${WRKSRC}/configure |
53 |
@${REINPLACE_CMD} -e 's,\/usr\/share,$$(prefix)\/share,' ${WRKSRC}/Makefile |
54 |
@${REINPLACE_CMD} -e 's,\/usr\/share,$$(prefix)\/share,' ${WRKSRC}/Makefile |
54 |
@${REINPLACE_CMD} -e 's,/usr/local,/usr,g' \ |
55 |
@${REINPLACE_CMD} -e 's,/usr/local,/usr,g' \ |
55 |
${WRKSRC}/gtk-im/Makefile ${WRKSRC}/menu/Makefile |
56 |
${WRKSRC}/gtk-im/Makefile ${WRKSRC}/menu/Makefile |
56 |
@${REINPLACE_CMD} -e 's,/usr/lib,${LOCALBASE}/lib,g; \ |
57 |
@${REINPLACE_CMD} -e 's,/usr/lib,${LOCALBASE}/lib,g; \ |
57 |
s,/usr/include,${X11BASE}/include,g; s,Xft2/X11/Xft,X11/Xft,' \ |
58 |
s,/usr/include,${X11BASE}/include,g; s,Xft2/X11/Xft,X11/Xft,' \ |
58 |
${WRKSRC}/qt-im/Makefile |
59 |
${WRKSRC}/qt-im/Makefile |
59 |
@${REINPLACE_CMD} -e 's,modify-XIM ,,; 8,10 d' ${WRKSRC}/scripts/Makefile |
60 |
@${REINPLACE_CMD} -e 's,modify-XIM ,,; 8,10 d' ${WRKSRC}/scripts/Makefile |
60 |
@${REINPLACE_CMD} -e 's,bash,sh,; s/&//; s,/opt/gnome,${X11BASE},;' \ |
61 |
@${REINPLACE_CMD} -e 's,bash,sh,; s/&//; s,/opt/gnome,${X11BASE},;' \ |
61 |
${WRKSRC}/scripts/utf8-edit ${WRKSRC}/scripts/gcin-user-setup |
62 |
${WRKSRC}/scripts/utf8-edit ${WRKSRC}/scripts/gcin-user-setup \ |
|
|
63 |
${WRKSRC}/scripts/gtab.append_prepare |
62 |
@${REINPLACE_CMD} -e 's,wget,fetch,' ${WRKSRC}/scripts/noseeing-inst |
64 |
@${REINPLACE_CMD} -e 's,wget,fetch,' ${WRKSRC}/scripts/noseeing-inst |
63 |
@${REINPLACE_CMD} -e 's,gcin-im-client.h,im-client/gcin-im-client.h,' \ |
65 |
@${REINPLACE_CMD} -e 's,gcin-im-client.h,im-client/gcin-im-client.h,' \ |
64 |
${WRKSRC}/gtk-im/gtkimcontextgcin.c |
66 |
${WRKSRC}/gtk-im/gtkimcontextgcin.c |
Lines 67-74
Link Here
|
67 |
${WRKSRC}/IMdkit/Xi18n_sample/Makefile ${WRKSRC}/Makefile \ |
69 |
${WRKSRC}/IMdkit/Xi18n_sample/Makefile ${WRKSRC}/Makefile \ |
68 |
${WRKSRC}/qt-im/Makefile ${WRKSRC}/scripts/modify-XIM \ |
70 |
${WRKSRC}/qt-im/Makefile ${WRKSRC}/scripts/modify-XIM \ |
69 |
${WRKSRC}/scripts/utf8-edit |
71 |
${WRKSRC}/scripts/utf8-edit |
70 |
@${REINPLACE_CMD} -e 's,BIG_ENDIAN\(.*\)1,BIG_ENDIAN\1\0,' \ |
|
|
71 |
${WRKSRC}/gtab.h |
72 |
|
72 |
|
73 |
.if defined(WITH_BOSHIAMY) |
73 |
.if defined(WITH_BOSHIAMY) |
74 |
post-patch: |
74 |
post-patch: |