Changeset 7854


Ignore:
Timestamp:
Jul 31, 2004, 7:11:21 PM (15 years ago)
Author:
jkh
Message:

This port was in dire need of love - a number of things updated:

  1. Use xinstall instead of system cp/mkdir
  2. Use appropriate path to man pages in local.h
  3. Make it clear that we're using a null destdir.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/ispell/Portfile

    r6796 r7854  
    1 # $Id: Portfile,v 1.13 2004/04/27 18:36:11 matt Exp $
     1# $Id: Portfile,v 1.14 2004/07/31 19:11:21 jkh Exp $
    22
    33PortSystem 1.0
     
    1515configure {
    1616                        cd ${workpath}/${worksrcdir}
    17                         system "cp local.h.samp local.h"
    18                         system "chmod 744 local.h"
     17                        xinstall -c -m 0744 local.h.samp local.h
    1918                        reinplace s|/usr/local|${prefix}|g local.h
     19                        reinplace s|/man/|/share/man/|g local.h
    2020}
    21 pre-destroot           { system "install -d ${destroot}${prefix}/bin"
    22                         system "install -d ${destroot}${prefix}/lib"
    23                         system "install -d ${destroot}${prefix}/share/man"
     21pre-destroot {
     22                        xinstall -d ${destroot}${prefix}/bin
     23                        xinstall -d ${destroot}${prefix}/lib
     24                        xinstall -d ${destroot}${prefix}/share/man
    2425                        cd ${workpath}/${worksrcdir}
    2526                        reinplace "s|${prefix}|${destroot}${prefix}|g" config.sh}
    26 destroot.destdir     
     27destroot.destdir        {}
Note: See TracChangeset for help on using the changeset viewer.