aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/gcin
diff options
context:
space:
mode:
authorchinsan <chinsan@FreeBSD.org>2006-10-24 15:21:29 +0800
committerchinsan <chinsan@FreeBSD.org>2006-10-24 15:21:29 +0800
commite86e9c5a3f3c8b2fddf9609b72eaefb72c6b0985 (patch)
tree0a9b8babb8537be618a16c45db83ceb08ff4e712 /chinese/gcin
parent0232d5ce9f5cfbd3b0b0ef1aade623c79b5995fd (diff)
downloadfreebsd-ports-gnome-e86e9c5a3f3c8b2fddf9609b72eaefb72c6b0985.tar.gz
freebsd-ports-gnome-e86e9c5a3f3c8b2fddf9609b72eaefb72c6b0985.tar.zst
freebsd-ports-gnome-e86e9c5a3f3c8b2fddf9609b72eaefb72c6b0985.zip
- Fix pkg-plist and some issue, bump version
PR: ports/104724 Submitted by: chinsan Noticed by: kris Approved by: portmgr (erwin) delphij (mentor)
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