# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 # $Id: Portfile 38579 2008-07-25 10:46:30Z ryandesign@macports.org $ PortSystem 1.0 name aspell version 0.60.6 revision 1 categories textproc maintainers openmaintainer jochen description Spell checker with better logic than ispell homepage http://aspell.net/ platforms darwin use_parallel_build yes 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 bc80f0198773d5c05086522be67334eb \ sha1 335bcb560e00f59d89ec9e4c4114c325fb0e65f4 \ rmd160 315638cc7cc4ce9d3dc09c7e15faf637855d504e depends_build port:texinfo patchfiles patch-mk-static-filter.pl.diff configure.env LIBS="-L${prefix}/lib" configure.cflags-append "-I${prefix}/include" configure.args --enable-dict-dir="${prefix}/share/aspell" \ --infodir="${prefix}/share/info" \ --enable-compile-in-filters test.run yes test.target check post-destroot { file delete -force ${destroot}${prefix}/share/info/dir system "${prefix}/bin/install-info ${destroot}${prefix}/share/info/aspell.info ${prefix}/share/info/dir" system "${prefix}/bin/install-info ${destroot}${prefix}/share/info/aspell-dev.info ${prefix}/share/info/dir" } post-install { ui_msg "******************************************************************" ui_msg "You must install (at least) one of the language dictionaries after" ui_msg "installing this port in order for it to work." ui_msg "******************************************************************" } variant nls description "Include natural language support; conflicts with GNUstep" conflicts nonls { configure.args-delete --disable-nls configure.args-append --enable-nls } variant nonls description "Don't include natural language support (default on Mac OS X)" conflicts nls { configure.args-delete --enable-nls configure.args-append --disable-nls } platform macosx { # gnustep-gui uses aspell and will not work if aspell is linked to gettext because # gettext is linked to CoreFoundation which is itself linked to the Apple objc runtime # (All we are saying, is give GNUstep a chance) if { ![variant_isset nls] } { default_variants +nonls } }