source: trunk/dports/python/py-netdevicelib/Portfile @ 20382

Last change on this file since 20382 was 20382, checked in by blair@…, 13 years ago

Set the svn:keywords property to 'Id' for all Portfile's. This
re-enables the Id keyword substitution that was present in the CVS
repository.

See this thread for more information:
http://lists.macosforge.org/pipermail/macports-dev/2006-October/000180.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 20382 2006-11-02 21:38:50Z blair@macports.org $
2
3PortSystem 1.0
4PortGroup python24 1.0
5
6name                    py-netdevicelib
7version                 0.1
8revision                1
9categories              python net
10platforms               darwin freebsd
11maintainers             mww@opendarwin.org
12description             python module for interacting with network devices like routers
13long_description        netdevicelib is a Python library for interacting  with \
14                                network devices, such as routers, switches, and  \
15                                firewalls. It is similar in concept (but more \
16                                ambitious in scope) to the  Net-Telnet-Cisco module \
17                                for Perl.
18
19homepage                http://netdevicelib.sourceforge.net/
20master_sites    sourceforge:netdevicelib
21distname                netdevicelib-${version}
22checksums               md5 5dfb04dc595f25b5ce808b1acdec720d
23
24worksrcdir              netdevicelib/src/netdevicelib
25
26patch   {
27        file copy ${filespath}/setup.py ${worksrcpath}
28        reinplace "s|VERSION|${version}|g" ${worksrcpath}/setup.py
29}
30
31post-destroot   {
32        xinstall -m 644 -W ${workpath}/netdevicelib CHANGES.txt COPYING.txt \
33                CREDITS.txt INSTALL.txt README.txt \
34                ${destroot}${prefix}/share/doc/${name}
35        xinstall -m 644 -W ${worksrcpath}/examples getConfig.py version.py \
36                ${destroot}${prefix}/share/doc/${name}/examples
37}
Note: See TracBrowser for help on using the repository browser.