Portfile

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

PortSystem 1.0
name dtach
version 0.7
categories sysutils
maintainers nomaintainer@macports.org
description program that emulates the detach feature of screen
long_description \
dtach is a tiny program that emulates the detach feature of \
screen, allowing you to run a program in an environment that \
is protected from the controlling terminal and attach to it \
later. dtach does not keep track of the contents of the \
screen, and thus works best with programs that know how to \
redraw themselves.
homepage http://dtach.sourceforge.net/
platforms darwin
master_sites sourceforge
checksums md5 9aa11433d5a5b4b9fed271f10102cf6f

build.target

destroot {
xinstall -m 555 ${worksrcpath}/dtach ${destroot}${prefix}/bin
xinstall -m 444 ${worksrcpath}/dtach.1 ${destroot}${prefix}/share/man/man1
}