source: trunk/dports/textproc/aspell/Portfile @ 38579

Last change on this file since 38579 was 38579, checked in by ryandesign@…, 11 years ago

aspell: enable parallel build

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1# -*- 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
2# $Id: Portfile 38579 2008-07-25 10:46:30Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name                            aspell
7version                     0.60.6
8revision                1
9categories                  textproc
10maintainers                 openmaintainer jochen
11description                 Spell checker with better logic than ispell
12homepage                    http://aspell.net/
13platforms                   darwin
14use_parallel_build      yes
15
16long_description        Aspell is a spell checker designed to eventually replace ispell. \
17                        Aspell's main feature is that it  does a much better job of coming up with \
18                        possible suggestions than ispell.
19
20master_sites            gnu freebsd
21
22checksums                   md5 bc80f0198773d5c05086522be67334eb \
23                                sha1 335bcb560e00f59d89ec9e4c4114c325fb0e65f4 \
24                                rmd160 315638cc7cc4ce9d3dc09c7e15faf637855d504e
25
26depends_build           port:texinfo
27
28patchfiles              patch-mk-static-filter.pl.diff
29
30configure.env           LIBS="-L${prefix}/lib"
31configure.cflags-append "-I${prefix}/include"
32configure.args          --enable-dict-dir="${prefix}/share/aspell" \
33                        --infodir="${prefix}/share/info" \
34                        --enable-compile-in-filters
35test.run                yes
36test.target             check
37
38
39post-destroot {
40        file delete -force ${destroot}${prefix}/share/info/dir
41    system "${prefix}/bin/install-info ${destroot}${prefix}/share/info/aspell.info ${prefix}/share/info/dir"
42    system "${prefix}/bin/install-info ${destroot}${prefix}/share/info/aspell-dev.info ${prefix}/share/info/dir"
43}
44
45post-install {
46    ui_msg "******************************************************************"
47    ui_msg "You must install (at least) one of the language dictionaries after"
48    ui_msg "installing this port in order for it to work."
49    ui_msg "******************************************************************"
50}
51
52variant nls description "Include natural language support; conflicts with GNUstep" conflicts nonls {
53    configure.args-delete --disable-nls
54    configure.args-append --enable-nls
55}
56
57variant nonls description "Don't include natural language support (default on Mac OS X)" conflicts nls {
58    configure.args-delete --enable-nls
59    configure.args-append --disable-nls
60}
61
62platform macosx {
63# gnustep-gui uses aspell and will not work if aspell is linked to gettext because
64# gettext is linked to CoreFoundation which is itself linked to the Apple objc runtime
65# (All we are saying, is give GNUstep a chance)
66    if { ![variant_isset nls] } {
67        default_variants        +nonls
68    }
69}
Note: See TracBrowser for help on using the repository browser.