Ticket #21689: Portfile

File Portfile, 1.0 KB (added by mjhsieh@…, 15 years ago)

the suggested Portfile update

Line 
1# $Id: Portfile 58470 2009-09-29 07:49:37Z ryandesign@macports.org $
2
3PortSystem 1.0
4name            watch
5version         3.2.8
6categories      sysutils
7maintainers     yahoo.com:mjhsieh
8description     watch executes a program periodically, showing output fullscreen
9long_description        watch is like "top" for arbitrary commands. It runs \
10                        command repeatedly, displaying its output (the first \
11                        screen full). This  allows you to watch the program \
12                        output change over time. This is part of the  linux \
13                        "procps" package
14
15homepage        http://sourceforge.net/projects/procps/
16master_sites    http://procps.sourceforge.net/
17distname        procps-${version}
18platforms       darwin
19checksums       md5 9532714b6846013ca9898984ba4cd7e0 \
20                sha1 a0c86790569dec26b5d9037e8868ca907acc9829
21
22use_configure   no
23
24depends_lib     port:ncurses
25
26build.target    watch
27build.args      CC=${configure.cc} \
28                PKG_LDFLAGS=""
29
30destroot        {
31        xinstall -m 0755 ${worksrcpath}/watch ${destroot}${prefix}/bin
32        xinstall -m 0644 ${worksrcpath}/watch.1 \
33                ${destroot}${prefix}/share/man/man1
34}