Changeset 5088


Ignore:
Timestamp:
Jan 29, 2004, 10:25:06 PM (17 years ago)
Author:
mww
Message:

Bug: #1421
Submitted by: ryanwilcox@…
Reviewed by: mww@

evil hack that fixes the hole but does NOT make me happy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-checker/Portfile

    r4083 r5088  
    1 # $Id: Portfile,v 1.4 2003/11/29 15:03:02 mww Exp $
     1# $Id: Portfile,v 1.5 2004/01/29 22:25:06 mww Exp $
    22
    33PortSystem 1.0
     
    3636destroot.destdir        --prefix=${destroot}${prefix}
    3737
    38 post-destroot   {
     38pre-destroot    {
    3939        file mkdir ${destroot}${prefix}/share/doc/${name}
    4040        file copy ${worksrcpath}/CHANGELOG ${worksrcpath}/COPYRIGHT \
     
    4343                ${worksrcpath}/VERSION ${destroot}${prefix}/share/doc/${name}
    4444}
     45
     46platform darwin 7       {
     47        post-destroot   {
     48                reinplace "s|/System/Library/Frameworks/Python.framework/Versions/2.3|${prefix}|g" \
     49                        ${destroot}${prefix}/bin/pychecker
     50                reinplace "s|.*bin\/python|/usr/bin/env python|g" \
     51                        ${destroot}${prefix}/bin/pychecker
     52        }
     53}
Note: See TracChangeset for help on using the changeset viewer.