# $Id: Portfile,v 1.14 2006/07/16 06:41:01 yves Exp $

PortSystem 1.0
name		aspell
version		0.60.4
revision    1
categories	textproc
maintainers	mij@opendarwin.org
description	Spell checker with better logic than ispell
homepage	http://aspell.net/
platforms	darwin

long_description Aspell is a spell checker designed to eventually \
		 replace ispell.  Aspell's main feature is that it \
		 does a much better job of coming up with possible \
		 suggestions than ispell.

master_sites	gnu \
            	freebsd

checksums	md5 4f1737e726d66476b9c7388831305510 \
		sha1 07353593eb89e64c49b1fd8dd405e3ee0ed86291 \
		rmd160 e0408acd4f3304c957aeea0b17a28d0c44e11064

configure.env	LIBS="-L${prefix}/lib" CPPFLAGS="-I${prefix}/include" \
		CFLAGS="-I${prefix}/include"
configure.args	--disable-nls --enable-dict-dir="${prefix}/share/aspell" \
		--enable-compile-in-filters --infodir=${prefix}/share/info

post-destroot {
	file delete -force ${destroot}${prefix}/share/info/dir
}
post-install	{ ui_msg "\nYou must install one of the language dictionaries after installing\nthis port in order for it to work.\n" }
