# $Id: Portfile,v 1.3 2005/01/27 22:20:35 mww Exp $

PortSystem 1.0
PortGroup python24 1.0

name			walker
version			1.1.1
categories		net
platforms		darwin
maintainers		mww@opendarwin.org
description		matches remote sites to local copy using ftp or scp
long_description	Walker is a Python script that updates entire Web sites. \
				It matches the remote site to your local copy using ftp. Once \
				you set it up, it will upload any files that have changed in \
				size, delete any remote files or directories you have deleted \
				locally, and create any remote dirs you have added locally. \
				The default deletion of files and directories can be \
				overridden on the command line. Walker allows you to update \
				your entire site by going online and then running one command \
				in a terminal. It also includes Scpper.py, which updates a \
				site in a similar manner, using scp.

homepage		http://goosequill.sourceforge.net/
master_sites	sourceforge:goosequill
distname		Walker-${version}
checksums		md5 8d1e6e9d6b15882ed02e2ac5a283c903

post-configure	{
	cd ${worksrcpath}/user
	reinplace "s|/usr/bin/python|${python.bin}|g" scpper walker
}

post-destroot	{
	xinstall -m 755 -W ${worksrcpath}/user scpper walker \
		${destroot}${prefix}/bin
	xinstall -m 644 -W ${worksrcpath} changelog docs/Walker.html README \
		COPYING ${destroot}${prefix}/share/doc/${name}
}
