Ignore:
Timestamp:
Apr 21, 2004, 5:33:54 PM (16 years ago)
Author:
mww
Message:

switch to group code

File:
1 edited

Legend:

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

    r5325 r6603  
    1 # $Id: Portfile,v 1.6 2004/02/08 13:24:57 mww Exp $
     1# $Id: Portfile,v 1.7 2004/04/21 17:30:52 mww Exp $
    22
    33PortSystem 1.0
     4PortGroup python 1.0
    45
    56name            py-checker
     
    2122checksums       md5 1b4dcfe0334e6a14ab7fb97c3c7cdb13
    2223
    23 depends_lib     bin:python:python
    24 
    25 use_configure   no
    26 
    2724post-patch      {
    2825        reinplace "s|DESTROOT|${destroot}|g" ${worksrcpath}/setup.py
    2926}
    3027
    31 
    32 build.cmd       python setup.py
    33 build.target    build
    34 
    35 destroot.cmd    python setup.py
    36 destroot.destdir        --prefix=${destroot}${prefix}
    37 
    38 pre-destroot    {
    39         xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
     28post-destroot   {
    4029        xinstall -m 644 -W ${worksrcpath} CHANGELOG COPYRIGHT KNOWN_BUGS \
    4130                MAINTAINERS README TODO VERSION \
    4231                ${destroot}${prefix}/share/doc/${name}
    4332}
    44 
    45 platform darwin 7       {
    46         post-destroot   {
    47                 reinplace "s|/System/Library/Frameworks/Python.framework/Versions/2.3|${prefix}|g" \
    48                         ${destroot}${prefix}/bin/pychecker
    49                 reinplace "s|.*bin\/python|/usr/bin/env python|g" \
    50                         ${destroot}${prefix}/bin/pychecker
    51         }
    52 }
Note: See TracChangeset for help on using the changeset viewer.