diff options
Diffstat (limited to 'chinese/gcin')
-rw-r--r-- | chinese/gcin/Makefile | 4 | ||||
-rw-r--r-- | chinese/gcin/pkg-plist | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/chinese/gcin/Makefile b/chinese/gcin/Makefile index 3a6689edc275..95657446d9da 100644 --- a/chinese/gcin/Makefile +++ b/chinese/gcin/Makefile @@ -7,7 +7,7 @@ PORTNAME= gcin PORTVERSION= 1.2.7 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= chinese textproc gnome MASTER_SITES= http://www.csie.nctu.edu.tw/~cp76/gcin/download/:main \ LOCAL/chinsan:main \ @@ -52,10 +52,12 @@ pre-patch: s/\/usr\/share/$$prefix\/share/; \ 123,124 s/control-center-2\.0/gnome\/control-center-2\.0/g; \ s/gcc/$$CC/; s/gcin-$$GCIN_VERSION/gcin/' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's,\/usr\/share,$$(prefix)\/share,' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's/qsort/mergesort/' ${WRKSRC}/gcin2tab.c @${REINPLACE_CMD} -e 's|/usr/local|/usr|g' \ ${WRKSRC}/gtk-im/Makefile \ ${WRKSRC}/menu/Makefile + @${REINPLACE_CMD} -e '28,29 d' ${WRKSRC}/im-client/Makefile @${REINPLACE_CMD} -e 's/modify-XIM //; 8,10 d' ${WRKSRC}/scripts/Makefile @${REINPLACE_CMD} -e 's/bash/sh/; s/&//;' ${WRKSRC}/scripts/gcin-user-setup @${REINPLACE_CMD} -e 's/bash/sh/; s/&//; s/opt\/gnome/usr\/X11R6/;' \ diff --git a/chinese/gcin/pkg-plist b/chinese/gcin/pkg-plist index 048f1367b678..35f354e7ce63 100644 --- a/chinese/gcin/pkg-plist +++ b/chinese/gcin/pkg-plist @@ -66,5 +66,7 @@ share/icons/gcin/pin-float16.png @dirrmtry %%DATADIR%%/table @dirrmtry %%DATADIR%%/script @dirrmtry %%DATADIR%% +@dirrmtry lib/gtk-2.0/immodules +@dirrmtry lib/gtk-2.0 @exec gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules @unexec gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules |