Ticket #31121: Portfile

File Portfile, 1.2 KB (added by 3add3287 (3add3287), 13 years ago)
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem 1.0
5PortGroup python 1.0
6
7name                    py-ipy
8version                 0.75
9revision                2
10
11categories              python devel net
12maintainers             vmunix.org:torstenb \
13                                openmaintainer
14description             python module for handling IPv4 and IPv6 addresses and networks
15long_description        IPy is a Python module for handling IPv4 and IPv6 \
16                                addresses and networks in a fashion similar to perl's \
17                                Net::IP and friends. The IP class allows a comfortable \
18                                parsing and handling for most notations in use for \
19                                IPv4 and IPv6 addresses and networks.
20
21platforms               darwin
22license                 BSD
23
24homepage                https://github.com/haypo/python-ipy
25master_sites    http://pypi.python.org/packages/source/I/IPy/
26
27distname                IPy-${version}
28
29python.versions 25 26 27
30python.default_version 27
31
32
33checksums               rmd160  f31b64d62d77a37b5fb66bb6bf047258426c7bed \
34                                sha256  0fa14af4792cc0b6f61cb5a1cd8fbdf7ddbaa6864ef82681021b750e9e6b2b61
35
36post-destroot {
37        if {${name} != ${subport}} {
38                set docdir ${prefix}/share/doc/${subport}
39                xinstall -m 644 ${worksrcpath}/README ${destroot}${docdir}
40        }
41}