summaryrefslogtreecommitdiffstats
path: root/chinese/gcin/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-14 03:03:53 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-14 03:03:53 +0800
commita0f7880821bc5baf255b5db751be89bf19552146 (patch)
tree75a43f41bbfa4fdd8c1c2c609df9272cd5b72e35 /chinese/gcin/Makefile
parentbb80e4d47c2241c14337350a9158f801b18006d3 (diff)
downloadmarcuscom-ports-a0f7880821bc5baf255b5db751be89bf19552146.tar
marcuscom-ports-a0f7880821bc5baf255b5db751be89bf19552146.tar.gz
marcuscom-ports-a0f7880821bc5baf255b5db751be89bf19552146.tar.bz2
marcuscom-ports-a0f7880821bc5baf255b5db751be89bf19552146.tar.lz
marcuscom-ports-a0f7880821bc5baf255b5db751be89bf19552146.tar.xz
marcuscom-ports-a0f7880821bc5baf255b5db751be89bf19552146.tar.zst
marcuscom-ports-a0f7880821bc5baf255b5db751be89bf19552146.zip
Fix installation and plist.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7783 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'chinese/gcin/Makefile')
-rw-r--r--chinese/gcin/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/chinese/gcin/Makefile b/chinese/gcin/Makefile
index 0c2dcb14d..1ed2f6d78 100644
--- a/chinese/gcin/Makefile
+++ b/chinese/gcin/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gcin
PORTVERSION= 1.2.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= chinese textproc gnome
MASTER_SITES= http://www.csie.nctu.edu.tw/~cp76/gcin/download/:main
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:main
@@ -18,7 +18,7 @@ COMMENT= A traditional chinese input utility in X
USE_BZIP2= YES
GNU_CONFIGURE= YES
-USE_GNOME= gtk20 gnomecontrolcenter2
+USE_GNOME= gtk20 gnomecontrolcenter2 gnomehier
USE_GMAKE= YES
USE_GCC= 3.4+
INSTALLS_ICONS= YES
@@ -48,9 +48,12 @@ pre-patch:
s/QT_IM_DIR=\/usr/QT_IM_DIR=$$prefix/; \
s/mandir=$$datadir/mandir=$$prefix/; \
s/\/usr\/share/$$prefix\/share/; \
- 109,110 s/control-center-2\.0/gnome\/control-center-2\.0/; \
+ 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/qsort/mergesort/' ${WRKSRC}/gcin2tab.c
+ @${REINPLACE_CMD} -e 's|/usr/local|/usr|g' \
+ ${WRKSRC}/gtk-im/Makefile \
+ ${WRKSRC}/menu/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/;' \