diff options
author | chinsan <chinsan@FreeBSD.org> | 2006-10-31 14:02:23 +0800 |
---|---|---|
committer | chinsan <chinsan@FreeBSD.org> | 2006-10-31 14:02:23 +0800 |
commit | ae221ea4dc80c8bcbca10b1f334a2f1165564b69 (patch) | |
tree | 4a083b4182527de16d36c23adeea26bbed6c2361 /chinese/gcin/Makefile | |
parent | be02b18ba26d4fd17cc34476996a7a2aec0ec1a9 (diff) | |
download | freebsd-ports-gnome-ae221ea4dc80c8bcbca10b1f334a2f1165564b69.tar.gz freebsd-ports-gnome-ae221ea4dc80c8bcbca10b1f334a2f1165564b69.tar.zst freebsd-ports-gnome-ae221ea4dc80c8bcbca10b1f334a2f1165564b69.zip |
- Update to 1.2.8
- Decrease the dependence
(Suggested by: vanilla via irc)
PR: ports/104570, ports/104531
Submitted by: chinsan
Approved by: delphij (mentor)
Diffstat (limited to 'chinese/gcin/Makefile')
-rw-r--r-- | chinese/gcin/Makefile | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/chinese/gcin/Makefile b/chinese/gcin/Makefile index 95657446d9da..ae04e55b91d4 100644 --- a/chinese/gcin/Makefile +++ b/chinese/gcin/Makefile @@ -6,7 +6,7 @@ # PORTNAME= gcin -PORTVERSION= 1.2.7 +PORTVERSION= 1.2.8 PORTREVISION= 3 CATEGORIES= chinese textproc gnome MASTER_SITES= http://www.csie.nctu.edu.tw/~cp76/gcin/download/:main \ @@ -20,7 +20,7 @@ COMMENT= A traditional chinese input utility in X USE_BZIP2= YES GNU_CONFIGURE= YES -USE_GNOME= gtk20 gnomecontrolcenter2 gnomehier +USE_GNOME= gtk20 USE_GMAKE= YES USE_GCC= 3.4+ INSTALLS_ICONS= YES @@ -44,24 +44,20 @@ post-extract: .endif pre-patch: - @${REINPLACE_CMD} -e 's,gcin.png,${PREFIX}/share/icons/gcin.png,' \ - ${WRKSRC}/menu/gcin-setup.desktop @${REINPLACE_CMD} -e 's/&//; s/bash/sh/; \ s/QT_IM_DIR=\/usr/QT_IM_DIR=$$prefix/; \ s/mandir=$$datadir/mandir=$$prefix/; \ - s/\/usr\/share/$$prefix\/share/; \ + s/\/usr\/share/$$prefix\/share/; 151 s,/gcin,,; \ 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,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 + ${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/;' \ - ${WRKSRC}/scripts/utf8-edit + ${WRKSRC}/scripts/utf8-edit ${WRKSRC}/scripts/gcin-user-setup + @${REINPLACE_CMD} -e 's,wget,fetch,' ${WRKSRC}/scripts/noseeing-inst @${REINPLACE_CMD} -e 's,gcin-im-client.h,im-client/gcin-im-client.h,' \ ${WRKSRC}/gtk-im/gtkimcontextgcin.c |