Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= gcin |
8 |
PORTNAME= gcin |
9 |
PORTVERSION= 1.3.2 |
9 |
PORTVERSION= 1.3.3 |
10 |
CATEGORIES= chinese textproc gnome |
10 |
CATEGORIES= chinese textproc gnome |
11 |
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 \ |
12 |
http://ftp.twaren.net/local-distfiles/gcin/:main \ |
Lines 42-56
Link Here
|
42 |
> noseeing.cin |
42 |
> noseeing.cin |
43 |
@${REINPLACE_CMD} -e 's,cj.gtab,cj.gtab noseeing.gtab,' \ |
43 |
@${REINPLACE_CMD} -e 's,cj.gtab,cj.gtab noseeing.gtab,' \ |
44 |
${WRKSRC}/data/Makefile |
44 |
${WRKSRC}/data/Makefile |
|
|
45 |
@${REINPLACE_CMD} -e '/CJK/ d' ${WRKSRC}/data/noseeing.cin |
45 |
.endif |
46 |
.endif |
46 |
|
47 |
|
47 |
pre-patch: |
48 |
pre-patch: |
48 |
${MV} ${WRKSRC}/icons/3/pingin.png ${WRKSRC}/icons/3/pinyin.png |
|
|
49 |
@${REINPLACE_CMD} -e 's,&,,; 1 s,bash,sh,; \ |
49 |
@${REINPLACE_CMD} -e 's,&,,; 1 s,bash,sh,; \ |
50 |
s,QT_IM_DIR=/usr,QT_IM_DIR=$$prefix,; \ |
50 |
s,QT_IM_DIR=/usr,QT_IM_DIR=$$prefix,; \ |
51 |
s,mandir=$$datadir,mandir=$$prefix,; \ |
51 |
s,mandir=$$datadir,mandir=$$prefix,; \ |
52 |
s,/usr/share,$$prefix/share,; 164 s,/gcin,,; \ |
52 |
s,/usr/share,$$prefix/share,; s,libdir)\/gcin,libdir),; \ |
53 |
133,134 s,control-center-2\.0,gnome\/control-center-2\.0,g; \ |
53 |
140 s,control-center-2\.0,gnome\/control-center-2\.0,g; \ |
54 |
s,gcc,$$CC,; s,gcin-$$GCIN_VERSION,gcin,' ${WRKSRC}/configure |
54 |
s,gcc,$$CC,; s,gcin-$$GCIN_VERSION,gcin,' ${WRKSRC}/configure |
55 |
@${REINPLACE_CMD} -e 's,\/usr\/share,$$(prefix)\/share,' ${WRKSRC}/Makefile |
55 |
@${REINPLACE_CMD} -e 's,\/usr\/share,$$(prefix)\/share,' ${WRKSRC}/Makefile |
56 |
@${REINPLACE_CMD} -e 's,/usr/local,/usr,g' \ |
56 |
@${REINPLACE_CMD} -e 's,/usr/local,/usr,g' \ |
Lines 66-75
Link Here
|
66 |
@${REINPLACE_CMD} -e 's,gcin-im-client.h,im-client/gcin-im-client.h,' \ |
66 |
@${REINPLACE_CMD} -e 's,gcin-im-client.h,im-client/gcin-im-client.h,' \ |
67 |
${WRKSRC}/gtk-im/gtkimcontextgcin.c |
67 |
${WRKSRC}/gtk-im/gtkimcontextgcin.c |
68 |
@${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},' \ |
68 |
@${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},' \ |
69 |
${WRKSRC}/IMdkit/lib/Makefile \ |
69 |
${WRKSRC}/IMdkit/lib/Makefile ${WRKSRC}/Makefile \ |
70 |
${WRKSRC}/IMdkit/Xi18n_sample/Makefile ${WRKSRC}/Makefile \ |
|
|
71 |
${WRKSRC}/qt-im/Makefile ${WRKSRC}/scripts/modify-XIM \ |
70 |
${WRKSRC}/qt-im/Makefile ${WRKSRC}/scripts/modify-XIM \ |
72 |
${WRKSRC}/scripts/utf8-edit |
71 |
${WRKSRC}/scripts/utf8-edit |
|
|
72 |
@${REINPLACE_CMD} -e '/make/ d' ${WRKSRC}/IMdkit/lib/Makefile |
73 |
|
73 |
|
74 |
.if defined(WITH_BOSHIAMY) |
74 |
.if defined(WITH_BOSHIAMY) |
75 |
post-patch: |
75 |
post-patch: |