# $Id: Portfile 35379 2008-03-27 01:21:11Z simon@macports.org $

PortSystem	 1.0

name		 ipv6calc
version		 0.71.0
categories       net
maintainers	 sky.fr:cbellot

description	 A small utility to manipulate (not only) IPv6 addresses.
long_description ipv6calc is a small utility written in programming languate C \
		 to manipulate (not only) IPv6 addresses. Intentions were \
		 convering a given IPv6 address into compressed format, \
		 convering a given IPv6 address into the same format like shown \
		 in /proc/net/if_inet6 and (because it was not difficulty) \
		 migrating the Perl program ip6_int into. Now only one utiltity \
		 is needed to do a lot.

platforms        darwin
homepage	 http://www.deepspace6.net/projects/ipv6calc.html
master_sites     ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/

checksums        md5 bbd6bd8e5202f7624a67fa34e4860782

build.env	 DESTDIR=${destroot}
build.env	 prefix=${destroot}
destroot.destdir prefix=${destroot}${prefix}

post-destroot {
    file delete -force ${destroot}${prefix}/share/man
    file rename -force ${destroot}${prefix}/man ${destroot}${prefix}/share
}
