1 | # $Id: Portfile 21107 2007-01-02 20:24:50Z mij@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name enchant |
---|
5 | version 1.3.0 |
---|
6 | categories textproc devel |
---|
7 | maintainers anant@kix.in |
---|
8 | description Spellchecker wrapping library |
---|
9 | homepage http://www.abisource.com/enchant/ |
---|
10 | platforms darwin |
---|
11 | |
---|
12 | long_description On the surface, Enchant appears to be a generic spell checking library.\ |
---|
13 | You can request dictionaries from it, ask if a word is correctly spelled,\ |
---|
14 | get corrections for a misspelled word, etc. but all it really does is to \ |
---|
15 | provide a uniform wrapper over several popular spell checking libraries \ |
---|
16 | including aspell, ispell and AppleSpell. |
---|
17 | |
---|
18 | master_sites http://www.abisource.com/downloads/${name}/${version}/ |
---|
19 | |
---|
20 | checksums md5 f7edafae875616b83e7a17a7e5c2d585 \ |
---|
21 | sha1 140ffd2798d94e5f77cc28a37086c75b830f07d8 \ |
---|
22 | rmd160 c2025152d0e6ff4441abeb9606e01cfe99e84bad |
---|
23 | |
---|
24 | depends_lib port:glib2 |
---|
25 | depends_build bin:glibtoolize:libtool \ |
---|
26 | port:pkgconfig |
---|
27 | |
---|
28 | pre-configure { |
---|
29 | cd ${worksrcpath} |
---|
30 | system "aclocal -Iac-helpers/" |
---|
31 | system "automake --add-missing" |
---|
32 | system "glibtoolize --force --copy" |
---|
33 | system "cp /usr/share/automake-1.6/config.guess ." |
---|
34 | system "cp /usr/share/automake-1.6/config.sub ." |
---|
35 | system "autoconf" |
---|
36 | } |
---|