Skip to content
Permalink
Browse files

version bump, 'system' cmds replaced

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@3970 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Nov 17, 2003
1 parent af93690 commit 57bf6740a36e0f76092062940c914f69ab019b64
Showing with 8 additions and 8 deletions.
  1. +8 −8 python/py-snmp/Portfile
@@ -1,9 +1,9 @@
# $Id: Portfile,v 1.4 2003/10/08 15:07:42 mww Exp $
# $Id: Portfile,v 1.5 2003/11/17 09:38:15 mww Exp $

PortSystem 1.0

name py-snmp
version 3.3.5
version 3.3.6
categories python net
maintainers mww@opendarwin.org
description SNMP v.1 engine for python
@@ -14,7 +14,7 @@ long_description PySNMP is fully functional SNMP v.1 engine (BER \
homepage http://pysnmp.sourceforge.net/
master_sites sourceforge:pysnmp
distname pysnmp-${version}
checksums md5 274df23101ac37c9da7725298afa205a
checksums md5 f5b9bc60a55bb6461ffcb951e883fd87

depends_lib bin:python:python

@@ -25,8 +25,8 @@ build.target build

destroot.cmd python setup.py
destroot.destdir --prefix=${destroot}${prefix}

post-destroot { system "cd ${worksrcpath} \
&& install -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples \
&& cp -r docs/* ${destroot}${prefix}/share/doc/${name}/ \
&& cp -r examples/* ${destroot}${prefix}/share/doc/${name}/examples/" }
post-destroot {
file mkdir ${destroot}${prefix}/share/doc/
file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}
}

0 comments on commit 57bf674

Please sign in to comment.
You can’t perform that action at this time.