Ignore:
Timestamp:
Mar 30, 2007, 5:51:11 AM (13 years ago)
Author:
takanori@…
Message:

Version bump to 2.4.0.

Location:
trunk/dports/textproc/chasen
Files:
1 deleted
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/chasen/Portfile

    r22311 r23374  
    33PortSystem        1.0
    44name              chasen
    5 version           2.3.3
    6 revision          3
     5version           2.4.0
    76set ipa           ipadic-2.7.0
    87categories        textproc japanese
     
    1716                  encoded as EUC-JP by default.
    1817platforms         darwin
    19 homepage          http://chasen.naist.jp/hiki/ChaSen/
    20 master_sites      http://chasen.naist.jp/stable/chasen/:chasen \
     18homepage          http://chasen-legacy.sourceforge.jp/
     19set sfjpid_chasen 24693
     20set sfjpid_ipadic 24435
     21master_sites      http://keihanna.dl.sourceforge.jp/chasen-legacy/${sfjpid_chasen}/:chasen \
     22                  http://osdn.dl.sourceforge.jp/chasen-legacy/${sfjpid_chasen}/:chasen \
     23                  http://keihanna.dl.sourceforge.jp/ipadic/${sfjpid_ipadic}/:ipadic \
     24                  http://osdn.dl.sourceforge.jp/ipadic/${sfjpid_ipadic}/:ipadic \
    2125                  http://chasen.naist.jp/stable/ipadic/:ipadic
    22 distfiles         ${name}-${version}.tar.gz:chasen \
    23                   chasen-2.3.3.20030821.patch:chasen \
    24                   chasen-2.3.3.20030822.patch:chasen
    25 extract.only      ${name}-${version}.tar.gz
    26 patchfiles        configure.diff dartsdic.cpp.patch
    27 
    28 checksums         ${name}-${version}.tar.gz md5 629e90d9490bac95606c38c2d344cc5f \
    29                                             sha1 711f5717ee284d26aa5616292f7aaffaef11d03a \
    30                                             rmd160 2f2416f82fb0341023314a4672e442fed86207a9 \
    31                   chasen-2.3.3.20030821.patch md5 44b14a50c8269f982fc0d59cb580ecc5 \
    32                                               sha1 c608e5e613bc8a9758436681846047099610bf4a \
    33                                               rmd160 a7e581132abc3ae89eb109b25b917d704ca006bf \
    34                   chasen-2.3.3.20030822.patch md5 22466f08c3916b415d222508fdcc9bbe \
    35                                               sha1 0728884dcdf6983a3e32774111e7996a43008722 \
    36                                               rmd160 30c2ff84ad8b68271fcd7656d9972e7392a806f5 \
     26distfiles         ${distname}.tar.gz:chasen
     27patchfiles        patch-configure.diff
     28checksums         ${name}-${version}.tar.gz md5 1cd014ed31c211c5de3993541a618747 \
     29                                            sha1 19ba6a350189c4a678bcf66b5a24282e954609c0 \
     30                                            rmd160 927dd61298ad3d605e39c09bd0d65ac439ab2d22 \
    3731                  ${ipa}.tar.gz md5 f36d315cae25b086a889b7090c674977 \
    3832                                sha1 52784d8abb3361eafec83ab543be63cf087f9eb2 \
     
    4539
    4640post-extract    {
    47                 system "cd ${worksrcpath} && patch -p0 < ${distpath}/chasen-2.3.3.20030821.patch"
    48                 system "cd ${worksrcpath} && patch -p0 < ${distpath}/chasen-2.3.3.20030822.patch"
     41                foreach f {tests/test-chasen.sh tests/test-dic.sh} {
     42                        file attributes ${worksrcpath}/${f} -permissions 0755
     43                }
    4944}
    5045
     
    6459        # Japanese dictionaries for ChaSen
    6560        distfiles-append ${ipa}.tar.gz:ipadic
    66         extract.only-append ${ipa}.tar.gz
    6761        post-destroot {
    6862                foreach {enc c} {UTF-8 w EUC-JP e Shift_JIS s} {
     
    7973                system "ln -sf chasenrc-EUC-JP ${destroot}${prefix}/etc/chasenrc"
    8074
    81                 xinstall -m 755 -d ${destroot}${prefix}/share/doc/ipadic/doc
     75                xinstall -m 755 -d ${destroot}${prefix}/share/doc/chasen-ipadic/doc
    8276
    83                 xinstall -m 644 -W ${workpath}/${ipa} AUTHORS COPYING ChangeLog INSTALL INSTALL-ja NEWS README ${destroot}${prefix}/share/doc/ipadic
    84                 xinstall -m 644 ${workpath}/${ipa}/doc/ipadic-ja.pdf ${destroot}${prefix}/share/doc/ipadic/doc
     77                xinstall -m 644 -W ${workpath}/${ipa} AUTHORS COPYING ChangeLog INSTALL INSTALL-ja NEWS README ${destroot}${prefix}/share/doc/chasen-ipadic
     78                xinstall -m 644 ${workpath}/${ipa}/doc/ipadic-ja.pdf ${destroot}${prefix}/share/doc/chasen-ipadic/doc
    8579        }
    8680
     
    9488
    9589livecheck.check regex
    96 livecheck.url   http://chasen.naist.jp/hiki/ChaSen/?%C3%E3%E4%A5%A4%CE%C7%DB%C9%DB
    97 livecheck.regex ${name}-(\[0-9.a-z\]+)\\.tar
     90livecheck.url   http://chasen-legacy.sourceforge.jp/
     91livecheck.regex ${name}-(\[0-9.a-z\-\]+)
  • trunk/dports/textproc/chasen/files/patch-configure.diff

    r23058 r23374  
    1 --- configure~  2003-08-15 13:00:58.000000000 +0900
    2 +++ configure   2006-02-20 07:52:29.000000000 +0900
    3 @@ -8497,8 +8497,8 @@
    4  fi;
     1--- configure.orig      2007-03-22 17:23:24.000000000 +0900
     2+++ configure   2007-03-24 12:14:40.000000000 +0900
     3@@ -22318,8 +22318,8 @@
    54 
    65 
    7 -echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
    8 -echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
    9 +echo "$as_me:$LINENO: checking for libiconv in -liconv" >&5
    10 +echo $ECHO_N "checking for libiconv in -liconv... $ECHO_C" >&6
     6 
     7-{ echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
     8-echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6; }
     9+{ echo "$as_me:$LINENO: checking for libiconv in -liconv" >&5
     10+echo $ECHO_N "checking for libiconv in -liconv... $ECHO_C" >&6; }
    1111 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
    1212   echo $ECHO_N "(cached) $ECHO_C" >&6
    1313 else
    14 @@ -8514,7 +8514,7 @@
     14@@ -22338,11 +22338,11 @@
     15 #ifdef __cplusplus
     16 extern "C"
    1517 #endif
    16  /* We use char because int might match the return type of a gcc2
    17     builtin and then its argument prototype would still apply.  */
    1818-char iconv ();
    1919+char libiconv ();
    20  #ifdef F77_DUMMY_MAIN
    21  #  ifdef __cplusplus
    22       extern "C"
    23 @@ -8524,7 +8524,7 @@
    2420 int
    2521 main ()
    2622 {
    27 -iconv ();
    28 +libiconv ();
     23-return iconv ();
     24+return libiconv ();
    2925   ;
    3026   return 0;
Note: See TracChangeset for help on using the changeset viewer.