source: trunk/dports/textproc/ispell/Portfile @ 80119

Last change on this file since 80119 was 80119, checked in by jeremyhu@…, 9 years ago

ispell: Conflicts with aspell

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 80119 2011-07-04 18:39:07Z jeremyhu@macports.org $
2
3PortSystem 1.0
4
5name            ispell
6version         3.3.02
7revision        2
8categories      textproc spelling
9platforms       darwin freebsd
10conflicts       aspell
11maintainers     nomaintainer
12description     An interactive spelling checker for multiple languages
13long_description    International Ispell is an interactive spell-checking program for Unix which supports a large number of European languages.
14homepage        http://ficus-www.cs.ucla.edu/geoff/ispell.html
15master_sites    http://fmg-www.cs.ucla.edu/geoff/tars/
16checksums       md5 12087d7555fc2b746425cd167af480fe
17build.env       TMPDIR=${workpath}
18
19depends_lib     port:ncurses
20
21post-patch {
22            # ispell's getline is not the POSIX getline
23            reinplace "s|getline|_ispell_getline|g" ${worksrcpath}/correct.c
24}
25
26configure {
27            xinstall -c -m 0744 -W ${worksrcpath} local.h.macos local.h
28            reinplace s|/man/|/share/man/|g ${worksrcpath}/local.h
29            reinplace s|\"-lcurses\"|\"-L${prefix}/lib\ -lncurses\"| ${worksrcpath}/local.h
30            reinplace s|\"cc\"|\"${configure.cc}\"| ${worksrcpath}/config.X
31            reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/local.h
32}
33
34use_parallel_build   no
35
36pre-destroot {
37            reinplace "s|${prefix}|${destroot}${prefix}|g" ${worksrcpath}/config.sh
38            reinplace "s|-L${destroot}${prefix}|-L${prefix}|g" ${worksrcpath}/config.sh
39}
Note: See TracBrowser for help on using the repository browser.