Lines 7-13
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= gcin |
8 |
PORTNAME= gcin |
9 |
PORTVERSION= 1.2.7 |
9 |
PORTVERSION= 1.2.7 |
10 |
PORTREVISION= 2 |
10 |
PORTREVISION= 3 |
11 |
CATEGORIES= chinese textproc gnome |
11 |
CATEGORIES= chinese textproc gnome |
12 |
MASTER_SITES= http://www.csie.nctu.edu.tw/~cp76/gcin/download/:main |
12 |
MASTER_SITES= http://www.csie.nctu.edu.tw/~cp76/gcin/download/:main |
13 |
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:main |
13 |
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:main |
Lines 18-24
Link Here
|
18 |
|
18 |
|
19 |
USE_BZIP2= YES |
19 |
USE_BZIP2= YES |
20 |
GNU_CONFIGURE= YES |
20 |
GNU_CONFIGURE= YES |
21 |
USE_GNOME= gtk20 gnomecontrolcenter2 gnomehier |
21 |
USE_GNOME= gtk20 |
22 |
USE_GMAKE= YES |
22 |
USE_GMAKE= YES |
23 |
USE_GCC= 3.4+ |
23 |
USE_GCC= 3.4+ |
24 |
INSTALLS_ICONS= YES |
24 |
INSTALLS_ICONS= YES |
Lines 42-49
Link Here
|
42 |
.endif |
42 |
.endif |
43 |
|
43 |
|
44 |
pre-patch: |
44 |
pre-patch: |
45 |
@${REINPLACE_CMD} -e 's,gcin.png,${PREFIX}/share/icons/gcin.png,' \ |
|
|
46 |
${WRKSRC}/menu/gcin-setup.desktop |
47 |
@${REINPLACE_CMD} -e 's/&//; s/bash/sh/; \ |
45 |
@${REINPLACE_CMD} -e 's/&//; s/bash/sh/; \ |
48 |
s/QT_IM_DIR=\/usr/QT_IM_DIR=$$prefix/; \ |
46 |
s/QT_IM_DIR=\/usr/QT_IM_DIR=$$prefix/; \ |
49 |
s/mandir=$$datadir/mandir=$$prefix/; \ |
47 |
s/mandir=$$datadir/mandir=$$prefix/; \ |
Lines 52-63
Link Here
|
52 |
s/gcc/$$CC/; s/gcin-$$GCIN_VERSION/gcin/' ${WRKSRC}/configure |
50 |
s/gcc/$$CC/; s/gcin-$$GCIN_VERSION/gcin/' ${WRKSRC}/configure |
53 |
@${REINPLACE_CMD} -e 's/qsort/mergesort/' ${WRKSRC}/gcin2tab.c |
51 |
@${REINPLACE_CMD} -e 's/qsort/mergesort/' ${WRKSRC}/gcin2tab.c |
54 |
@${REINPLACE_CMD} -e 's|/usr/local|/usr|g' \ |
52 |
@${REINPLACE_CMD} -e 's|/usr/local|/usr|g' \ |
55 |
${WRKSRC}/gtk-im/Makefile \ |
53 |
${WRKSRC}/gtk-im/Makefile ${WRKSRC}/menu/Makefile |
56 |
${WRKSRC}/menu/Makefile |
|
|
57 |
@${REINPLACE_CMD} -e 's/modify-XIM //; 8,10 d' ${WRKSRC}/scripts/Makefile |
54 |
@${REINPLACE_CMD} -e 's/modify-XIM //; 8,10 d' ${WRKSRC}/scripts/Makefile |
58 |
@${REINPLACE_CMD} -e 's/bash/sh/; s/&//;' ${WRKSRC}/scripts/gcin-user-setup |
|
|
59 |
@${REINPLACE_CMD} -e 's/bash/sh/; s/&//; s/opt\/gnome/usr\/X11R6/;' \ |
55 |
@${REINPLACE_CMD} -e 's/bash/sh/; s/&//; s/opt\/gnome/usr\/X11R6/;' \ |
60 |
${WRKSRC}/scripts/utf8-edit |
56 |
${WRKSRC}/scripts/utf8-edit ${WRKSRC}/scripts/gcin-user-setup |
61 |
@${REINPLACE_CMD} -e 's,gcin-im-client.h,im-client/gcin-im-client.h,' \ |
57 |
@${REINPLACE_CMD} -e 's,gcin-im-client.h,im-client/gcin-im-client.h,' \ |
62 |
${WRKSRC}/gtk-im/gtkimcontextgcin.c |
58 |
${WRKSRC}/gtk-im/gtkimcontextgcin.c |
63 |
|
59 |
|