Ticket #769: Portfile

File Portfile, 1.2 KB (added by daved@…, 21 years ago)

Portfile

Line 
1# $Id: Portfile,v 1.6 2003/08/05 09:29:35 jkh Exp $
2
3PortSystem 1.0
4name            aspell
5version         0.50.3
6categories      textproc
7maintainers     mij@opendarwin.org
8description     Spell checker with better logic than ispell
9homepage        http://aspell.net/
10platforms       darwin
11
12long_description Aspell is a spell checker designed to eventually \
13                 replace ispell.  Aspell's main feature is that it \
14                 does a much better job of coming up with possible \
15                 suggestions than ispell.
16
17master_sites    ftp://ftp.gnu.org/gnu/aspell/
18
19checksums       md5 a3bf0d46303ffb0beab8121bbc3311a3
20
21configure.env   LIBS="-L${prefix}/lib" CPPFLAGS="-I${prefix}/include" \
22                CFLAGS="-I${prefix}/include"
23configure.args  --enable-dict-dir="${prefix}/share/aspell"
24
25variant darwin {
26  post-patch {
27    cd ${worksrcpath}
28    system "glibtoolize --copy --force; \
29            aclocal; \
30            automake; \
31            autoconf"
32    reinplace "s|.*Mach-O.*|lt_cv_deplibs_check_method=\"\"|" configure
33  }
34  configure.env LIBS="-L${prefix}/lib" CPPFLAGS="-I${prefix}/include \
35                -no-cpp-precomp" CFLAGS="-I${prefix}/include"
36}
37
38post-destroot   { ui_msg "\nYou must install one of the language dictionaries after installing\nthis port in order for it to work.\n" }