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

Last change on this file since 3173 was 3173, checked in by jkh, 17 years ago

Mass-merge of destroot target changes. Before committing this, I also
laid down a PRE_DESTROOT_TARGET so we can easily compare the before and
after photos (or, in extremis, revert this change). I doubt that will be
necessary, however, since things appear to be working quite well with this
change and it's better to do it sooner rather than later since it changes the
rules about what commands/variables to use in new ports.

Approved by: fkr

  • Property svn:eol-style set to native
File size: 913 bytes
Line 
1# $Id: Portfile,v 1.10 2003/08/05 09:29:37 jkh Exp $
2
3PortSystem 1.0
4name                    ispell
5version                 3.2.06
6categories              textproc spelling
7platforms               darwin freebsd
8maintainers             landonf@opendarwin.org
9description             An interactive spelling checker for multiple languages
10master_sites            http://fmg-www.cs.ucla.edu/geoff/tars/
11checksums               md5 d434e1aef1a815294d5012c60c4c414a
12build.env               TMPDIR=${workpath}
13
14configure {
15                        cd ${workpath}/${worksrcdir}
16                        system "cp local.h.samp local.h"
17                        system "chmod 744 local.h"
18                        reinplace s|/usr/local|${prefix}|g local.h
19}
20pre-destroot           { system "install -d ${destroot}${prefix}/bin"
21                        system "install -d ${destroot}${prefix}/lib"
22                        system "install -d ${destroot}${prefix}/man"
23                        cd ${workpath}/${worksrcdir}
24                        reinplace "s|${prefix}|${destroot}${prefix}|g" config.sh}
25destroot.vars     
Note: See TracBrowser for help on using the repository browser.