Changeset 106187


Ignore:
Timestamp:
May 18, 2013, 12:32:25 PM (7 years ago)
Author:
hum@…
Message:

irstlm: update to 5.80.03; add patch-configure.in.diff to fix for automake 1.13 update.

Location:
trunk/dports/textproc/irstlm
Files:
1 added
2 edited

Legend:

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

    r98598 r106187  
    55
    66name                irstlm
    7 version             5.80.01
    8 revision            2
     7version             5.80.03
    98categories          textproc math
    109maintainers         hum openmaintainer
     
    2322
    2423master_sites        http://sourceforge.net/projects/irstlm/files/irstlm/irstlm-5.80/
    25 checksums           rmd160  93e6d412a4eee5c68075cd46233336deef2b1a1c \
    26                     sha256  3d79155828a2fa25a425c60efb12a4357d7be994c15e37105d7814a638372ee9
     24checksums           rmd160  08b9506e2dc388217e33070ebc1b06d7667d3d5c \
     25                    sha256  500c64e90cae73c2f06ed34ad078423cc100f4e16e6dd98a9e466b17367d31e7
    2726extract.suffix      .tgz
    2827
     
    3433set libexec_dir     ${prefix}/libexec/${name}
    3534
    36 # replace the value of the IRSTLM environmental variable with ${libexec_dir}.
    37 patchfiles          patch-scripts.diff
     35# patch-scripts.diff: replace the value of the IRSTLM environmental variable with ${libexec_dir}.
     36# patch-configure.in.diff: fix for automake 1.13 update; see #37549.
     37patchfiles          patch-scripts.diff \
     38                    patch-configure.in.diff
    3839
    3940post-patch {
  • trunk/dports/textproc/irstlm/files/patch-scripts.diff

    r98598 r106187  
    1 --- scripts/build-lm-qsub.sh.orig       2012-04-11 18:54:15.000000000 +0900
    2 +++ scripts/build-lm-qsub.sh    2012-10-07 00:40:14.000000000 +0900
    3 @@ -33,13 +33,12 @@
     1--- scripts/build-lm-qsub.sh.orig       2013-04-06 00:31:56.000000000 +0900
     2+++ scripts/build-lm-qsub.sh    2013-05-18 14:01:30.000000000 +0900
     3@@ -36,13 +36,12 @@
    44 fi
    55 
     
    1818 gunzip=`which gunzip 2> /dev/null`;
    1919 
    20 --- scripts/build-lm.sh.orig    2012-08-02 21:53:02.000000000 +0900
    21 +++ scripts/build-lm.sh 2012-10-07 00:40:30.000000000 +0900
    22 @@ -27,13 +27,12 @@
     20--- scripts/build-lm.sh.orig    2012-10-02 16:25:08.000000000 +0900
     21+++ scripts/build-lm.sh 2013-05-18 14:01:30.000000000 +0900
     22@@ -30,13 +30,12 @@
    2323 }
    2424 
     
    3737 gunzip=`which gunzip 2> /dev/null`;
    3838 
    39 --- scripts/lm-stat.pl.orig     2011-04-15 21:54:01.000000000 +0900
    40 +++ scripts/lm-stat.pl  2012-10-07 00:40:48.000000000 +0900
    41 @@ -39,14 +39,7 @@
     39--- scripts/lm-stat.pl.orig     2012-10-02 16:25:08.000000000 +0900
     40+++ scripts/lm-stat.pl  2013-05-18 14:01:30.000000000 +0900
     41@@ -46,14 +46,7 @@
    4242   exit(1);
    4343 }
     
    5555 open (OUT,"$clm $lm --eval $txt --debug 1|");
    5656 while (<OUT>){
    57 --- scripts/split-ngt.sh.orig   2012-04-11 18:54:15.000000000 +0900
    58 +++ scripts/split-ngt.sh        2012-10-07 00:41:22.000000000 +0900
    59 @@ -6,9 +6,9 @@
     57--- scripts/split-ngt.sh.orig   2012-10-02 16:25:08.000000000 +0900
     58+++ scripts/split-ngt.sh        2013-05-18 14:01:30.000000000 +0900
     59@@ -38,9 +38,9 @@
    6060 #containing ngram statistics (of <order> length) in Google format
    6161 #These files are a partition of the whole set of ngrams
     
    7070 unset par
    7171 while [ $# -gt 0 ]
    72 --- scripts/Makefile.am.orig    2012-08-02 21:53:02.000000000 +0900
    73 +++ scripts/Makefile.am 2012-10-07 00:52:13.000000000 +0900
    74 @@ -3,7 +3,7 @@
    75  perl_programs = build-sublm.pl goograms2ngrams.pl lm-stat.pl merge-sublm.pl ngram-split.pl sort-lm.pl split-dict.pl
    76  dist_programs = wrapper $(sh_programs) $(perl_programs)
    77  
     72--- scripts/Makefile.am.orig    2012-10-12 06:19:19.000000000 +0900
     73+++ scripts/Makefile.am 2013-05-18 20:54:50.000000000 +0900
     74@@ -1,4 +1,4 @@
    7875-wrapperbindir = @prefix@/bin
    7976+wrapperbindir = @libexecdir@/irstlm
    8077 
    81  install:
    82         for p in $(sh_programs) $(perl_programs) ; do \
     78 dist_wrapperbin_SCRIPTS = \
     79 add-start-end.sh build-lm-qsub.sh build-lm.sh rm-start-end.sh split-ngt.sh mdtsel.sh \
Note: See TracChangeset for help on using the changeset viewer.