# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0

name             dtach
version          0.9
categories       sysutils
maintainers      nomaintainer
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        rmd160  5e07683373a73eab3dae755ef4b7595318b0c3ca \
                 sha256  32e9fd6923c553c443fab4ec9c1f95d83fa47b771e6e1dafb018c567291492f3

configure.distcc no

build.target

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