source: trunk/dports/sysutils/watch/Portfile

Last change on this file was 139630, checked in by ryandesign@…, 2 years ago

watch: use get_canonical_archflags instead of doing it manually (#48611)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 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 139630 2015-08-22 01:50:43Z ryandesign@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 {}
33
34build.target    watch
35# LDADD is set to libprocps, which isn't needed for watch and fails to build on Darwin
36build.args      CC="${configure.cc} [get_canonical_archflags cc]" \
37                LDFLAGS="${configure.ldflags}" \
38                AM_LDFLAGS="" \
39                LDADD=""
40
41destroot {
42        xinstall -m 0755 ${worksrcpath}/watch ${destroot}${prefix}/bin
43        xinstall -m 0644 ${worksrcpath}/watch.1 \
44                ${destroot}${prefix}/share/man/man1
45}
46
47livecheck.regex procps-ng-(\[0-9.\]*)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.