source: trunk/dports/textproc/ispell/Portfile

Last change on this file was 139469, checked in by jmr@…, 2 years ago

ncurses: update to 6.0, rev bump dependents due to new ABI

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