Ticket #11437: Portfile

File Portfile, 1.3 KB (added by anant@…, 18 years ago)

Portfile for textproc/enchant

Line 
1# $Id: Portfile 21107 2007-01-02 20:24:50Z mij@macports.org $
2
3PortSystem  1.0
4name            enchant
5version         1.3.0
6categories      textproc devel
7maintainers     anant@kix.in
8description     Spellchecker wrapping library
9homepage    http://www.abisource.com/enchant/   
10platforms       darwin
11
12long_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                   
18master_sites    http://www.abisource.com/downloads/${name}/${version}/
19
20checksums       md5 f7edafae875616b83e7a17a7e5c2d585 \
21                sha1 140ffd2798d94e5f77cc28a37086c75b830f07d8 \
22                rmd160 c2025152d0e6ff4441abeb9606e01cfe99e84bad
23
24depends_lib     port:glib2
25depends_build   bin:glibtoolize:libtool \
26                port:pkgconfig
27
28pre-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}