• R/O
  • HTTP
  • SSH
  • HTTPS

MacPorts: Commit

My MacPorts


Commit MetaInfo

Revision600075b1ca7eaf5dd39a6aac992d151b338d5926 (tree)
Time2009-03-25 20:14:32
AuthorKazuki Sakamoto <sakamoto@splh...>
CommiterKazuki Sakamoto

Log Message

cmigemo 1.3c_7

Change Summary

Incremental Difference

--- a/PortIndex
+++ b/PortIndex
@@ -1,5 +1,5 @@
11 iTerm 553
2-portdir aqua/iTerm description {Enhanced terminal emulator program for Mac OS X} platforms macosx name iTerm version 0.9.6 categories {aqua shells} homepage http://iterm.sourceforge.net revision 20090324 epoch 0 maintainers waqar@macports.org long_description {iTerm is a full featured terminal emulation program written for OS X using Cocoa. We are aiming at providing users with best command line experience under OS X. The letter i represents a native Apple look and feel of the program interface, and an emphasis on complete international support.}
2+portdir aqua/iTerm description {Enhanced terminal emulator program for Mac OS X} platforms macosx name iTerm version 0.9.6 categories {aqua shells} homepage http://iterm.sourceforge.net revision 20090325 epoch 0 maintainers waqar@macports.org long_description {iTerm is a full featured terminal emulation program written for OS X using Cocoa. We are aiming at providing users with best command line experience under OS X. The letter i represents a native Apple look and feel of the program interface, and an emphasis on complete international support.}
33 ctags 888
44 variants universal variant_desc {universal {Build for multiple architectures}} portdir devel/ctags description {Reimplementation of ctags(1)} homepage http://hp.vector.co.jp/authors/VA025040/ctags/ epoch 0 platforms {darwin freebsd} name ctags maintainers nomaintainer long_description {Exuberant Ctags generates an index (or tag) file of source language objects in source files that allows these items to be quickly and easily located by a text editor or other utility. Alternatively, it can generate a cross reference file which lists, in human-readable form, information about the various objects found in a set of source code files. Supported languages include: Assembler, AWK, ASP, BETA, Bourne/Korn/Zsh Shell, C, C++, COBOL, Eiffel, Fortran, Java, Lisp, Lua, Make, Pascal, Perl, PHP, Python, REXX, Ruby, S-Lang, Scheme, Tcl, Vim and Yacc.} version 5.7j1 categories devel revision 0
55 fmdiff 751
@@ -8,3 +8,5 @@ vim 1280
88 variants {athena gtk1 gtk2 motif tiny small big huge xim perl python ruby tcl cscope nls puredarwin gdb my universal} depends_build {bin:gnutar:gnutar bin:grep:grep} variant_desc {athena {Build GUI version using Athena widgets} gtk1 {Build GUI version using GTK 1.x widgets} gtk2 {Build GUI version using GTK 2.x widgets} motif {Build GUI version with Motif widgets} tiny {Build tiny feature set} small {Build small feature set} big {Build big feature set} huge {Build huge feature set} xim {Build with support for X Input Method} perl {Enable Perl scripting} python {Enable Python scripting} ruby {Enable Ruby scripting} tcl {Enable Tcl scripting} cscope {Enable source code browsing with cscope} nls {National Language Support} puredarwin {Platform variant, do not select manually} gdb {Enable GDB integration} universal {Build for multiple architectures}} portdir editors/vim description {Vi {"workalike"} with many additional features} homepage http://www.vim.org/ epoch 0 platforms {darwin freebsd} name vim depends_lib {port:ncurses port:libiconv port:ctags} maintainers raimue long_description {Vim is an advanced text editor that seeks to provide the power of the de-facto Unix editor 'Vi', with a more complete feature set.} categories editors version 7.2.132 revision 0
99 zsh-devel 1112
1010 variants {darwin_8 mp_completion pcre doc examples cjk universal} variant_desc {darwin_8 {Platform variant, do not select manually} mp_completion {Install port(1) completion file} pcre {Add regular expressions support in builtin functions through PCRE} doc {Install extra documentation} examples {Install configuration examples} cjk {Add East Asian Ambiguous characters support} universal {Build for multiple architectures}} portdir shells/zsh-devel description {Zsh is a UNIX command interpreter (shell)} homepage http://www.zsh.org/ epoch 0 platforms darwin name zsh-devel depends_lib {port:libiconv port:ncursesw} maintainers {nox openmaintainer} long_description {Zsh is a UNIX command interpreter (shell) which of the standard shells most resembles the Korn shell (ksh), although it is not completely compatible. It includes enhancements of many types, notably in the command-line editor, options for customising its behaviour, filename globbing, features to make C-shell (csh) users feel more at home and extra features drawn from tcsh (another `custom' shell).} version 4.3.9 categories shells revision 1
11+cmigemo 503
12+variants {utf8 universal} variant_desc {universal {Build for multiple architectures}} portdir textproc/cmigemo description {C/Migemo is a Japanese incremental search tool.} homepage http://www.kaoriya.net/ epoch 0 name cmigemo depends_lib {bin:iconv:libiconv bin:nkf:nkf} maintainers nomaintainer long_description {C/Migemo is a set of a library and an application to search Japanese words incrementally, or a C version of Migemo originally written in Ruby.} version 1.3c categories textproc revision 7
--- a/Readme.txt
+++ b/Readme.txt
@@ -1,5 +1,6 @@
1+ cmigemo @1.3c_7+utf8 (active)
12 ctags @5.7j1_0 (active)
23 fmdiff @7819_0 (active)
3- iTerm @0.9.6_20090324 (active)
4+ iTerm @0.9.6_20090325 (active)
45 vim @7.2.132_0+cscope+gdb+huge+my+ruby (active)
56 zsh-devel @4.3.9_1+cjk+mp_completion+pcre (active)
--- /dev/null
+++ b/textproc/cmigemo/Portfile
@@ -0,0 +1,108 @@
1+# $Id: $
2+
3+PortSystem 1.0
4+name cmigemo
5+version 1.3c
6+revision 7
7+categories textproc
8+depends_lib bin:iconv:libiconv bin:nkf:nkf
9+maintainers nomaintainer
10+description C/Migemo is a Japanese incremental search tool.
11+long_description \
12+ C/Migemo is a set of a library and an application to search \
13+ Japanese words incrementally, or a C version of Migemo originally \
14+ written in Ruby.
15+patchfiles patch-config.mk.in.diff \
16+ patch-config_default.mk.diff patch-dict.mk.diff \
17+ patch-Make_osx.mk.diff \
18+ patch-romaji.c patch-mnode.c
19+extract.suffix tar.bz2
20+use_bzip2 yes
21+set dicver 20041227
22+distfiles ${distname}${extract.suffix}:src \
23+ SKK-JISYO-${dicver}.L.gz:dic
24+homepage http://www.kaoriya.net/
25+master_sites http://www.kaoriya.net/dist/var:src \
26+ http://www.lapangan.net/pc/tarball:dic
27+checksums ${distname}${extract.suffix} md5 \
28+ 0b9d2feff4cfdc673cc1947fe54191ed \
29+ SKK-JISYO-${dicver}.L.gz md5 \
30+ 0016d039378e85e1489c7e8f9a5969c7
31+extract.only ${distname}${extract.suffix}
32+post-extract {file copy ${distpath}/SKK-JISYO-${dicver}.L.gz \
33+ ${worksrcpath}/dict/SKK-JISYO.L.gz}
34+build.env CC=cc
35+build.target osx osx-dict
36+
37+set dics {han2zen.dat hira2kata.dat migemo-dict roma2hira.dat zen2han.dat}
38+set tools {skk2migemo.pl optimize-dict.pl}
39+
40+post-patch {
41+ reinplace "s|/usr/local|${prefix}|" \
42+ ${worksrcpath}/compile/config.mk.in \
43+ ${worksrcpath}/compile/config_default.mk \
44+ ${worksrcpath}/tools/migemo.vim
45+ foreach TOOL ${tools} {
46+ reinplace "s|/usr/bin/|/usr/bin/env |" ${worksrcpath}/tools/${TOOL}
47+ }
48+}
49+
50+destroot {
51+ # bin
52+ xinstall -d -m 755 ${destroot}${prefix}/bin
53+ xinstall -m 755 ${worksrcpath}/build/cmigemo \
54+ ${destroot}${prefix}/bin
55+ # include
56+ xinstall -d -m 755 ${destroot}${prefix}/include
57+ xinstall -m 644 ${worksrcpath}/src/migemo.h \
58+ ${destroot}${prefix}/include
59+ # doc
60+ xinstall -d -m 755 ${destroot}${prefix}/share/doc/migemo
61+ xinstall -m 644 ${worksrcpath}/doc/README_j.txt \
62+ ${destroot}${prefix}/share/doc/migemo
63+ # dict
64+ xinstall -d -m 755 ${destroot}${prefix}/share/migemo/euc-jp
65+ xinstall -d -m 755 ${destroot}${prefix}/share/migemo/cp932
66+ foreach DIC ${dics} {
67+ xinstall -m 644 ${worksrcpath}/dict/${DIC} \
68+ ${destroot}${prefix}/share/migemo/cp932
69+ xinstall -m 644 ${worksrcpath}/dict/euc-jp.d/${DIC} \
70+ ${destroot}${prefix}/share/migemo/euc-jp
71+ }
72+ # tools
73+ xinstall -d -m 755 ${destroot}${prefix}/share/migemo/tools
74+ xinstall -m 644 ${worksrcpath}/tools/migemo.vim \
75+ ${destroot}${prefix}/share/migemo/tools
76+ foreach TOOL ${tools} {
77+ xinstall -m 644 ${worksrcpath}/tools/${TOOL} \
78+ ${destroot}${prefix}/share/migemo/tools
79+ }
80+ # lib
81+ xinstall -d -m 755 ${destroot}${prefix}/lib
82+ xinstall -m 755 ${worksrcpath}/libmigemo.1.1.0.dylib \
83+ ${destroot}${prefix}/lib
84+ foreach dylib {libmigemo.1 libmigemo} {
85+ system "ln -s ./libmigemo.1.1.0.dylib ${destroot}${prefix}/lib/${dylib}.dylib"
86+ }
87+}
88+
89+variant utf8 {
90+ post-build {
91+ system "mkdir dict/utf-8.d"
92+ foreach DIC ${dics} {
93+ system "nkf -w < dict/${DIC} > dict/utf-8.d/${DIC}"
94+ }
95+ }
96+
97+ post-destroot {
98+ xinstall -d -m 755 ${destroot}${prefix}/share/migemo/utf-8
99+ foreach DIC ${dics} {
100+ xinstall -m 644 ${worksrcpath}/dict/utf-8.d/${DIC} \
101+ ${destroot}${prefix}/share/migemo/utf-8
102+ }
103+ }
104+}
105+
106+variant universal {
107+ patchfiles-append patch-universal
108+}
--- /dev/null
+++ b/textproc/cmigemo/files/patch-Make_osx.mk.diff
@@ -0,0 +1,19 @@
1+*** compile/Make_osx.mak.orig Mon Jan 24 01:36:15 2005
2+--- compile/Make_osx.mak Mon Jan 24 01:43:22 2005
3+***************
4+*** 26,32 ****
5+ #
6+ $(libmigemo_LIB): $(libmigemo_DSO)
7+ $(libmigemo_DSO): $(libmigemo_OBJ)
8+! $(CC) -dynamiclib -install_name $@ -o $(libmigemo_LIB) $(libmigemo_OBJ)
9+ $(RM) $@ $(libmigemo)
10+ ln -s $(libmigemo_LIB) $@
11+ ln -s $(libmigemo_LIB) $(libmigemo)
12+--- 26,32 ----
13+ #
14+ $(libmigemo_LIB): $(libmigemo_DSO)
15+ $(libmigemo_DSO): $(libmigemo_OBJ)
16+! $(CC) -dynamiclib -install_name $(prefix)/lib/$@ -o $(libmigemo_LIB) $(libmigemo_OBJ)
17+ $(RM) $@ $(libmigemo)
18+ ln -s $(libmigemo_LIB) $@
19+ ln -s $(libmigemo_LIB) $(libmigemo)
--- /dev/null
+++ b/textproc/cmigemo/files/patch-config.mk.in.diff
@@ -0,0 +1,23 @@
1+*** compile/config.mk.in.orig Mon Jan 24 01:36:55 2005
2+--- compile/config.mk.in Mon Jan 24 01:41:02 2005
3+***************
4+*** 33,41 ****
5+ PERL = perl
6+ BUNZIP2 = bzip2 -d
7+ GUNZIP = gzip -d
8+! FILTER_CP932 = ${PROGRAM_ENCODEFILTER} -s
9+! FILTER_EUCJP = ${PROGRAM_ENCODEFILTER} -e
10+! FILTER_UTF8 = iconv -t utf-8 -f cp932
11+ INSTALL = ${PROGRAM_INSTALL} -c
12+ INSTALL_PROGRAM = $(INSTALL) -m 755
13+ INSTALL_DATA = $(INSTALL) -m 644
14+--- 33,41 ----
15+ PERL = perl
16+ BUNZIP2 = bzip2 -d
17+ GUNZIP = gzip -d
18+! FILTER_CP932 = nkf -s
19+! FILTER_EUCJP = nkf -e
20+! FILTER_UTF8 = nkf -w
21+ INSTALL = ${PROGRAM_INSTALL} -c
22+ INSTALL_PROGRAM = $(INSTALL) -m 755
23+ INSTALL_DATA = $(INSTALL) -m 644
--- /dev/null
+++ b/textproc/cmigemo/files/patch-config_default.mk.diff
@@ -0,0 +1,25 @@
1+*** compile/config_default.mk.orig Mon Jan 24 01:41:56 2005
2+--- compile/config_default.mk Mon Jan 24 01:42:44 2005
3+***************
4+*** 35,45 ****
5+ PERL = perl
6+ BUNZIP2 = bzip2 -d
7+ GUNZIP = gzip -d
8+! FILTER_CP932 = qkc -q -u -s
9+! FILTER_EUCJP = qkc -q -u -e
10+! FILTER_UTF8 = iconv -t utf-8 -f cp932
11+! #FILTER_CP932 = nkf -s
12+! #FILTER_EUCJP = nkf -e
13+ INSTALL = /usr/bin/install -c
14+ #INSTALL = /usr/ucb/install -c
15+ INSTALL_PROGRAM = $(INSTALL) -m 755
16+--- 35,43 ----
17+ PERL = perl
18+ BUNZIP2 = bzip2 -d
19+ GUNZIP = gzip -d
20+! FILTER_CP932 = nkf -s
21+! FILTER_EUCJP = nkf -e
22+! FILTER_UTF8 = nkf -w
23+ INSTALL = /usr/bin/install -c
24+ #INSTALL = /usr/ucb/install -c
25+ INSTALL_PROGRAM = $(INSTALL) -m 755
--- /dev/null
+++ b/textproc/cmigemo/files/patch-dict.mk.diff
@@ -0,0 +1,19 @@
1+*** dict/dict.mak.orig Sat Jun 19 01:28:52 2004
2+--- dict/dict.mak Tue Dec 28 00:45:59 2004
3+***************
4+*** 22,28 ****
5+ $(PERL) ../tools/optimize-dict.pl < dict.tmp > $@
6+ -$(RM) dict.tmp
7+ $(SKKDIC_FILE):
8+! $(HTTP) $(SKKDIC_BASEURL)/$@.gz
9+ $(GUNZIP) $@.gz
10+
11+ ##############################################################################
12+--- 22,28 ----
13+ $(PERL) ../tools/optimize-dict.pl < dict.tmp > $@
14+ -$(RM) dict.tmp
15+ $(SKKDIC_FILE):
16+! # $(HTTP) $(SKKDIC_BASEURL)/$@.gz
17+ $(GUNZIP) $@.gz
18+
19+ ##############################################################################
--- /dev/null
+++ b/textproc/cmigemo/files/patch-mnode.c
@@ -0,0 +1,16 @@
1+--- src/mnode.c.orig
2++++ src/mnode.c
3+@@ -33,6 +33,13 @@
4+ # define INLINE
5+ #endif
6+
7++#if defined(__APPLE__)
8++static int _isspace(int c) {
9++ return c >= 0x80 ? 0 : isspace(c);
10++}
11++# define isspace(c) _isspace(c)
12++#endif // __APPLE__
13++
14+ int n_mnode_new = 0;
15+ int n_mnode_delete = 0;
16+
--- /dev/null
+++ b/textproc/cmigemo/files/patch-romaji.c
@@ -0,0 +1,16 @@
1+--- src/romaji.c.orig
2++++ src/romaji.c
3+@@ -31,6 +31,13 @@
4+ #define ROMAJI_FIXKEY_XTU "xtu"
5+ #define ROMAJI_FIXKEY_NONXTU "aiueon"
6+
7++#if defined(__APPLE__)
8++static int _isspace(int c) {
9++ return c >= 0x80 ? 0 : isspace(c);
10++}
11++# define isspace(c) _isspace(c)
12++#endif // __APPLE__
13++
14+ /*
15+ * romanode interfaces
16+ */
--- /dev/null
+++ b/textproc/cmigemo/files/patch-universal
@@ -0,0 +1,22 @@
1+--- compile/Make_osx.mak.orig
2++++ compile/Make_osx.mak
3+@@ -12,8 +12,8 @@
4+ libmigemo_DSO = libmigemo.1.dylib
5+ libmigemo = libmigemo.dylib
6+ EXEEXT =
7+-CFLAGS_MIGEMO = -fPIC
8+-LDFLAGS_MIGEMO =
9++CFLAGS_MIGEMO = -fPIC -arch i386 -arch ppc
10++LDFLAGS_MIGEMO = -arch i386 -arch ppc
11+
12+ include config.mk
13+ include compile/unix.mak
14+@@ -26,7 +26,7 @@
15+ #
16+ $(libmigemo_LIB): $(libmigemo_DSO)
17+ $(libmigemo_DSO): $(libmigemo_OBJ)
18+- $(CC) -dynamiclib -install_name $(prefix)/lib/$@ -o $(libmigemo_LIB) $(libmigemo_OBJ)
19++ $(CC) -arch i386 -arch ppc -dynamiclib -install_name $(prefix)/lib/$@ -o $(libmigemo_LIB) $(libmigemo_OBJ)
20+ $(RM) $@ $(libmigemo)
21+ ln -s $(libmigemo_LIB) $@
22+ ln -s $(libmigemo_LIB) $(libmigemo)
Show on old repository browser