# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $

PortSystem 1.0
name	   	watch
version	    	3.2.7
categories  	sysutils
maintainers 	yahoo.com:mjhsieh
description    	watch executes a program periodically, showing output fullscreen
long_description	watch is like "top" for arbitrary commands. It runs \
			command repeatedly, displaying its output (the first \
			screen full). This  allows you to watch the program \
			output change over time. This is part of the  linux \
			"procps" package

homepage	http://sourceforge.net/projects/procps/
master_sites	http://procps.sourceforge.net/
distname	procps-${version}
platforms	darwin
checksums	md5 f490bca772b16472962c7b9f23b1e97d

use_configure	no

build.target	watch
build.args	PKG_LDFLAGS=""

destroot	{ 
	xinstall -m 0755 ${worksrcpath}/watch ${destroot}${prefix}/bin
	xinstall -m 0644 ${worksrcpath}/watch.1 \
		${destroot}${prefix}/share/man/man1
}
