# $Id: Portfile,v 1.1 2004/09/07 16:42:20 mww Exp $

PortSystem 1.0

name			getabspath
version			1.4
categories		sysutils
platforms		darwin
maintainers		mww@opendarwin.org
description		getabspath converts relative POSIX pathes to absolute ones.
long_description	getabspath is a console-based tool which converts relative \
					POSIX pathes to absolute ones.

homepage		http://getabspath.sourceforge.net/
master_sites	sourceforge
distname		getAbsPath-${version}-src
checksums		md5 179c820381c8df85c3aa9c535272c0eb

worksrcdir		getAbsPath

use_configure	no

build.target

destroot	{
	xinstall -m 755 -s ${worksrcpath}/getAbsPath \
		${destroot}${prefix}/bin/getabspath
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/
	xinstall -m 644 -W ${worksrcpath} COPYING README \
		${destroot}${prefix}/share/doc/${name}/
}
