Portfile

# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $

PortSystem 1.0

name getabspath
version 1.4
categories sysutils
platforms darwin
maintainers nomaintainer@macports.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}/
}