# $Id: Portfile 30239 2007-10-23 01:55:09Z jmpp@macports.org $

PortSystem 1.0

name			ipcheck
version			0.226
categories		net
maintainers		nomaintainer
description		dynamic dns client written in python
platforms		darwin freebsd
long_description	ipcheck updates your ip address at one of the dynamic \
				dns address providers like dyndns.org

homepage		http://ipcheck.sourceforge.net
master_sites	${homepage}/releases/
distfiles		${name}.226
checksums		md5 04db7332df0b28ee0991d3d8b4878df7

depends_run		bin:python:python24

extract {
	file copy ${distpath}/${distfiles} ${workpath}/${name}
}

post-patch {
	reinplace "s|/usr/bin/python|/usr/bin/env python|g" ${workpath}/${name}
}

use_configure	no

build			{}

destroot {
	xinstall -m 755 ${workpath}/${name} ${destroot}${prefix}/bin/
}
