Ignore:
Timestamp:
Aug 18, 2015, 8:52:39 PM (4 years ago)
Author:
cal@…
Message:

watch: add modeline, unify whitespace, ignoring maintainership because watch is broken with ncurses 6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/watch/Portfile

    r139469 r139495  
     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
    12# $Id$
    23
    34PortSystem 1.0
    4 name            watch
    5 version         3.3.6
    6 revision            1
    7 categories      sysutils
    8 platforms       darwin
    9 license         GPL-2
    10 maintainers     yahoo.com:mjhsieh
    11 description     watch executes a program periodically, showing output fullscreen
    12 long_description        watch is like "top" for arbitrary commands. It runs \
    13                         command repeatedly, displaying its output (the first \
    14                         screen full). This  allows you to watch the program \
    15                         output change over time. This is part of the  linux \
    16                         "procps" package
     5name            watch
     6version         3.3.6
     7revision        1
     8categories      sysutils
     9platforms       darwin
     10license         GPL-2
     11maintainers     yahoo.com:mjhsieh
     12description     watch executes a program periodically, showing output fullscreen
     13long_description \
     14    watch is like "top" for arbitrary commands. It runs command repeatedly, \
     15    displaying its output (the first screen full). This  allows you to watch \
     16    the program output change over time. This is part of the linux "procps" \
     17    package.
    1718
    18 homepage        http://sourceforge.net/projects/procps-ng/
    19 master_sites    sourceforge:procps-ng
    20 distname        procps-ng-${version}
     19homepage        http://sourceforge.net/projects/procps-ng/
     20master_sites    sourceforge:procps-ng
     21distname        procps-ng-${version}
    2122use_xz yes
    2223
     
    2425                sha256  d09ac4df3793f632d481f6547c39c6d835a7aa7bd5a302fcb0885ff7691c124c
    2526
    26 depends_lib     port:ncurses
     27depends_lib     port:ncurses
    2728
    2829patchfiles      0001-configure-check-for-program_invocation_name.patch \
     
    3839variant universal {}
    3940if {[variant_isset universal]} {
    40         set archflags ${configure.universal_cflags}
     41    set archflags ${configure.universal_cflags}
    4142} else {
    42         set archflags ${configure.cc_archflags}
     43    set archflags ${configure.cc_archflags}
    4344}
    4445
    45 build.target    watch
    46 build.args      CC="${configure.cc} ${archflags}" \
    47                 LDFLAGS="${configure.ldflags}" \
    48                 AM_LDFLAGS=""
     46build.target    watch
     47build.args      CC="${configure.cc} ${archflags}" \
     48                LDFLAGS="${configure.ldflags}" \
     49                AM_LDFLAGS=""
    4950
    5051pre-build {
     
    5253}
    5354
    54 destroot        {
    55         xinstall -m 0755 ${worksrcpath}/watch ${destroot}${prefix}/bin
    56         xinstall -m 0644 ${worksrcpath}/watch.1 \
    57                 ${destroot}${prefix}/share/man/man1
     55destroot {
     56        xinstall -m 0755 ${worksrcpath}/watch ${destroot}${prefix}/bin
     57        xinstall -m 0644 ${worksrcpath}/watch.1 \
     58                ${destroot}${prefix}/share/man/man1
    5859}
    5960
    60 livecheck.regex procps-ng-(\[0-9.\]*)${extract.suffix}
     61livecheck.regex procps-ng-(\[0-9.\]*)${extract.suffix}
Note: See TracChangeset for help on using the changeset viewer.