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 | |
1 | 3 | PortSystem 1.0 |
2 | | name aspell-dict-bg |
| 4 | |
| 5 | set langcode bg |
| 6 | name aspell-dict-${langcode} |
3 | 7 | version 4.1-0 |
4 | 8 | categories textproc |
| 9 | license GPL-2 |
5 | 10 | maintainers gmail.com:sava.chankov |
6 | 11 | description Bulgarian dictionary for aspell |
7 | 12 | homepage http://aspell.net/ |
8 | 13 | platforms darwin |
| 14 | supported_archs noarch |
9 | 15 | |
10 | 16 | long_description ${description} |
11 | 17 | |
12 | | master_sites gnu:aspell/dict/bg |
| 18 | master_sites gnu:aspell/dict/${langcode} |
13 | 19 | |
14 | | distname aspell6-bg-${version} |
15 | | checksums md5 e22f0634c48eae9c9fbdf9d569b8235c |
| 20 | distname aspell6-${langcode}-${version} |
| 21 | checksums size 138940 \ |
| 22 | rmd160 fb90f9055641936d6187522bf4a803d31e6204f1 \ |
| 23 | sha256 74570005dc2be5a244436fa2b46a5f612be84c6843f881f0cb1e4c775f658aaa |
16 | 24 | |
17 | 25 | use_bzip2 yes |
18 | 26 | |
19 | 27 | depends_build port:aspell |
20 | 28 | |
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 | | } |
| 29 | configure.pre_args {} |
| 30 | configure.args --vars \ |
| 31 | ASPELL=${prefix}/bin/aspell \ |
| 32 | WORD_LIST_COMPRESS=${prefix}/bin/word-list-compress |
| 33 | |
| 34 | pre-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 | |
| 40 | livecheck.type regex |
| 41 | livecheck.url http://ftp.gnu.org/gnu/aspell/dict/0index.html |
| 42 | livecheck.regex >aspell6-${langcode}-(.*?)\\.tar\\. |