diff options
author | Chin-San Huang <chinsan@FreeBSD.org> | 2006-10-31 06:02:23 +0000 |
---|---|---|
committer | Chin-San Huang <chinsan@FreeBSD.org> | 2006-10-31 06:02:23 +0000 |
commit | 16b05f0b1132bfb49b42f03eef96bc0ce1fb049a (patch) | |
tree | 2887cd90cf458a22f20720b0e6298055ca430555 /chinese/gcin-devel/Makefile | |
parent | 04f9aa9879e6d8659adbc2695a4747024561fa5c (diff) |
Notes
Diffstat (limited to 'chinese/gcin-devel/Makefile')
-rw-r--r-- | chinese/gcin-devel/Makefile | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/chinese/gcin-devel/Makefile b/chinese/gcin-devel/Makefile index 95657446d9da..ae04e55b91d4 100644 --- a/chinese/gcin-devel/Makefile +++ b/chinese/gcin-devel/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 |