a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 22970 2007-03-20 22:55:33Z eridius@macports.org $
PortSystem 1.0
name enchant
version 1.3.0
categories textproc devel
maintainers anant@kix.in
description Spellchecker wrapping library
homepage http://www.abisource.com/enchant/
platforms darwin
long_description On the surface, Enchant appears to be a generic spell checking library.\
You can request dictionaries from it, ask if a word is correctly spelled,\
get corrections for a misspelled word, etc. but all it really does is to \
provide a uniform wrapper over several popular spell checking libraries \
including aspell, ispell and AppleSpell.
master_sites http://www.abisource.com/downloads/${name}/${version}/
checksums md5 f7edafae875616b83e7a17a7e5c2d585 \
sha1 140ffd2798d94e5f77cc28a37086c75b830f07d8 \
rmd160 c2025152d0e6ff4441abeb9606e01cfe99e84bad
depends_lib port:glib2
depends_build bin:glibtoolize:libtool \
port:pkgconfig
pre-configure {
cd ${worksrcpath}
system "aclocal -Iac-helpers/"
system "automake --add-missing"
system "glibtoolize --force --copy"
system "cp /usr/share/automake-1.6/config.guess ."
system "cp /usr/share/automake-1.6/config.sub ."
system "autoconf"
}