Ticket #56440: aspell-dict-bg-2.patch

File aspell-dict-bg-2.patch, 2.2 KB (added by aque (Allan Que), 6 years ago)

functional changes

  • textproc/aspell-dict-bg/Portfile

    diff --git a/textproc/aspell-dict-bg/Portfile b/textproc/aspell-dict-bg/Portfile
    index ab923fda40..f85f1ffb3f 100644
    a b  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
     2
    13PortSystem          1.0
    2 name                aspell-dict-bg
     4
     5set langcode        bg
     6name                aspell-dict-${langcode}
    37version             4.1-0
    48categories          textproc
     9license             GPL-2
    510maintainers         gmail.com:sava.chankov
    611description         Bulgarian dictionary for aspell
    712homepage            http://aspell.net/
    813platforms           darwin
     14supported_archs     noarch
    915
    1016long_description    ${description}
    1117
    12 master_sites        gnu:aspell/dict/bg
     18master_sites        gnu:aspell/dict/${langcode}
    1319
    14 distname            aspell6-bg-${version}
    15 checksums           md5 e22f0634c48eae9c9fbdf9d569b8235c
     20distname            aspell6-${langcode}-${version}
     21checksums           size    138940 \
     22                    rmd160  fb90f9055641936d6187522bf4a803d31e6204f1 \
     23                    sha256  74570005dc2be5a244436fa2b46a5f612be84c6843f881f0cb1e4c775f658aaa
    1624
    1725use_bzip2           yes
    1826
    1927depends_build       port:aspell
    2028
    21 configure           { system "cd ${worksrcpath} && \
    22                         ./configure  --vars ASPELL=${prefix}/bin/aspell \
    23                         WORD_LIST_COMPRESS=${prefix}/bin/word-list-compress"
    24                     }
    25 pre-destroot        { system "cd ${worksrcpath} && \
    26                         iconv  -f CP1251 -t UTF-8 bulgarian.kbd > bulgarian.kbd.tmp && \
    27                         mv bulgarian.kbd.tmp bulgarian.kbd"
    28                     }
     29configure.pre_args  {}
     30configure.args      --vars \
     31                    ASPELL=${prefix}/bin/aspell \
     32                    WORD_LIST_COMPRESS=${prefix}/bin/word-list-compress
     33
     34pre-destroot {
     35    system -W ${worksrcpath} \
     36        "iconv -f CP1251 -t UTF-8 bulgarian.kbd > bulgarian.kbd.tmp"
     37    move -force ${worksrcpath}/bulgarian.kbd.tmp ${worksrcpath}/bulgarian.kbd
     38}
     39
     40livecheck.type      regex
     41livecheck.url       http://ftp.gnu.org/gnu/aspell/dict/0index.html
     42livecheck.regex     >aspell6-${langcode}-(.*?)\\.tar\\.