# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem      1.0
PortGroup       xcode 1.0

name            launch
version         1.1
categories      aqua
maintainers     nomaintainer
description     command-line launcher for Mac OS X in the spirit of open

long_description \
    Apple provides a simple command-line launching program called open \
    with Mac OS X. It offers few options - launching applications by name \
    or by path, launching TextEdit, or opening a number of applications, \
    documents, folders, or URLs. With the exception of special support for \
    TextEdit (open -a), launch does all this and more.

homepage        http://web.sabi.net/nriley/software/
master_sites    ${homepage}

checksums       md5 bcd5179d5b519248a717aa73f3819e00 \
                sha1 000d6f1063f1b9091a8b10de90cfa778ed6a6ed1 \
                rmd160 7eba376fdedd322ecfcc4d429bf608dcd1e79c34

patchfiles      patch-main.c

xcode.destroot.path ${prefix}/bin

post-destroot {
    xinstall -m 0444 ${worksrcpath}/${name}.1 \
        ${destroot}${prefix}/share/man/man1

    set docdir ${prefix}/share/doc/${name}-${version}
    xinstall -d ${destroot}${docdir}
    xinstall -m 0644 ${worksrcpath}/README ${destroot}${docdir}
}

livecheck.type  none

