# $Id: Portfile,v 1.4 2005/09/13 06:57:52 olegb Exp $

PortSystem 1.0
name            detach
version         1.3
categories      sysutils
maintainers     darwinports@opendarwin.org
platforms       darwin
description     detach a program
long_description        The  command is a grungy little program for \
			executing programs in the background, \
			without use of a control  terminal. \
			(In the style of most common daemon processes...)
master_sites    ftp://ftp.ntnu.no/pub/unix/utils/
checksums       md5 843c6ff1590a56c1733c958a86cd8a93
pre-configure   { cd ${worksrcpath} 
        	  reinplace "s|/usr/local|${destroot}${prefix}|g" Makefile
        	  reinplace "s|(INSTALLPREFIX)/man|(INSTALLPREFIX)/share/man|g" Makefile }
configure 	{}
