Changeset 3970


Ignore:
Timestamp:
Nov 17, 2003, 9:38:15 AM (17 years ago)
Author:
mww
Message:

version bump, 'system' cmds replaced

File:
1 edited

Legend:

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

    r3616 r3970  
    1 # $Id: Portfile,v 1.4 2003/10/08 15:07:42 mww Exp $
     1# $Id: Portfile,v 1.5 2003/11/17 09:38:15 mww Exp $
    22
    33PortSystem 1.0
    44
    55name            py-snmp
    6 version         3.3.5
     6version         3.3.6
    77categories      python net
    88maintainers     mww@opendarwin.org
     
    1515master_sites    sourceforge:pysnmp
    1616distname        pysnmp-${version}
    17 checksums       md5 274df23101ac37c9da7725298afa205a
     17checksums       md5 f5b9bc60a55bb6461ffcb951e883fd87
    1818
    1919depends_lib     bin:python:python
     
    2626destroot.cmd    python setup.py
    2727destroot.destdir        --prefix=${destroot}${prefix}
    28 
    29 post-destroot   { system "cd ${worksrcpath} \
    30         && install -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples \
    31         && cp -r docs/* ${destroot}${prefix}/share/doc/${name}/ \
    32         && cp -r examples/* ${destroot}${prefix}/share/doc/${name}/examples/" }
     28post-destroot   {
     29        file mkdir ${destroot}${prefix}/share/doc/
     30        file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
     31        file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}
     32}
Note: See TracChangeset for help on using the changeset viewer.