aboutsummaryrefslogtreecommitdiff
path: root/chinese/gcin
diff options
context:
space:
mode:
authorChin-San Huang <chinsan@FreeBSD.org>2006-10-24 07:21:29 +0000
committerChin-San Huang <chinsan@FreeBSD.org>2006-10-24 07:21:29 +0000
commit09506dd431bf1f0472e52d22b2584ed665b963f2 (patch)
treeb3b8e75f6ca715d8082b7a481a6f3c7678151c8f /chinese/gcin
parent4e9d0c3a71748580336cdefbe416dce3410e9eb4 (diff)
downloadports-09506dd431bf1f0472e52d22b2584ed665b963f2.tar.gz
ports-09506dd431bf1f0472e52d22b2584ed665b963f2.zip
Notes
Diffstat (limited to 'chinese/gcin')
-rw-r--r--chinese/gcin/Makefile4
-rw-r--r--chinese/gcin/pkg-plist2
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