# $Id: Portfile 102584 2013-02-05 04:25:13Z larryv@macports.org $

PortSystem 1.0
PortGroup python 1.0

name			py-iplib
version			0.7
revision		1
categories-append	net
license			GPL-2+
platforms		darwin
supported_archs	noarch
maintainers		nomaintainer
description		converter amongst notations in the CIDR notation
long_description	iplib is a Python module useful to convert amongst \
				many different notations and to manage couples of \
				address/netmask in the CIDR notation.


homepage		http://www.mimante.net/soft/iplib/
master_sites	${homepage} http://distfiles.macports.org/python/
distname		iplib-${version}
checksums		md5 f4a784121a29c519978671618f8f6417

python.versions	24

if {$subport != $name} {
    post-destroot	{
        file copy ${worksrcpath}/html ${destroot}${prefix}/share/doc/${subport}/
        xinstall -m 644 -W ${worksrcpath} GPL.txt INSTALL README README.iplib \
            README.scripts TODO ${destroot}${prefix}/share/doc/${subport}
    }
}
