source: trunk/dports/sysutils/watch/Portfile @ 139496

Last change on this file since 139496 was 139496, checked in by cal@…, 4 years ago

watch: Update to 3.3.11, drop patches merged upstream, fix build against ncurses 6, ignoring maintainer because the port is broken.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- 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
2# $Id: Portfile 139496 2015-08-18 21:24:12Z cal@macports.org $
3
4PortSystem 1.0
5name            watch
6version         3.3.11
7categories      sysutils
8platforms       darwin
9license         GPL-2
10maintainers     yahoo.com:mjhsieh
11description     watch executes a program periodically, showing output fullscreen
12long_description \
13    watch is like "top" for arbitrary commands. It runs command repeatedly, \
14    displaying its output (the first screen full). This  allows you to watch \
15    the program output change over time. This is part of the linux "procps" \
16    package.
17
18homepage        http://sourceforge.net/projects/procps-ng/
19master_sites    sourceforge:procps-ng
20distname        procps-ng-${version}
21use_xz yes
22
23checksums       rmd160  c8a82895668a23521847416ff9cb661ca7f3a7d4 \
24                sha256  e9493169a2d2adc0bc045538707310c8e877b385e4e296143b62607d2bb044ed
25
26depends_lib     port:ncurses
27
28# Disable gettext due to linking problems
29# and we are not going to install any catalogs anyway
30configure.args  --disable-nls
31
32variant universal {}
33if {[variant_isset universal]} {
34    set archflags ${configure.universal_cflags}
35} else {
36    set archflags ${configure.cc_archflags}
37}
38
39build.target    watch
40# LDADD is set to libprocps, which isn't needed for watch and fails to build on Darwin
41build.args      CC="${configure.cc} ${archflags}" \
42                LDFLAGS="${configure.ldflags}" \
43                AM_LDFLAGS="" \
44                LDADD=""
45
46destroot {
47        xinstall -m 0755 ${worksrcpath}/watch ${destroot}${prefix}/bin
48        xinstall -m 0644 ${worksrcpath}/watch.1 \
49                ${destroot}${prefix}/share/man/man1
50}
51
52livecheck.regex procps-ng-(\[0-9.\]*)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.