Ticket #38137: watch-3.3.6.diff
File watch-3.3.6.diff, 2.0 KB (added by raimue (Rainer Müller), 12 years ago) |
---|
-
Portfile
2 2 3 3 PortSystem 1.0 4 4 name watch 5 version 3.2.8 6 revision 1 5 version 3.3.6 7 6 categories sysutils 7 platforms darwin 8 8 license GPL-2 9 9 maintainers yahoo.com:mjhsieh 10 10 description watch executes a program periodically, showing output fullscreen … … 14 14 output change over time. This is part of the linux \ 15 15 "procps" package 16 16 17 homepage http://sourceforge.net/projects/procps/ 18 master_sites http://procps.sourceforge.net/ 19 distname procps-${version} 20 platforms darwin 21 checksums md5 9532714b6846013ca9898984ba4cd7e0 \ 22 sha1 a0c86790569dec26b5d9037e8868ca907acc9829 17 homepage http://sourceforge.net/projects/procps-ng/ 18 master_sites sourceforge:procps-ng 19 distname procps-ng-${version} 20 use_xz yes 23 21 24 use_configure no 22 checksums rmd160 44b6abdbf6e6fdebdf2f1848207392314b542c05 \ 23 sha256 d09ac4df3793f632d481f6547c39c6d835a7aa7bd5a302fcb0885ff7691c124c 25 24 26 25 depends_lib port:ncurses 27 26 27 patchfiles 0001-configure-check-for-program_invocation_name.patch \ 28 0002-watch-Remove-unused-header.patch \ 29 0003-configure-Check-for-stdio_ext.h.patch \ 30 0004-configure-Check-for-error.h.patch 31 patch.pre_args -p1 32 33 # Disable gettext due to linking problems 34 # and we are not going to install any catalogs anyway 35 configure.args --disable-nls 36 28 37 variant universal {} 29 38 if {[variant_isset universal]} { 30 39 set archflags ${configure.universal_cflags} … … 35 44 build.target watch 36 45 build.args CC="${configure.cc} ${archflags}" \ 37 46 LDFLAGS="${configure.ldflags}" \ 38 PKG_LDFLAGS=""47 AM_LDFLAGS="" 39 48 40 49 pre-build { 41 50 build.args-append CPPFLAGS="[exec ${prefix}/bin/ncurses5-config --cflags]" … … 47 56 ${destroot}${prefix}/share/man/man1 48 57 } 49 58 50 livecheck.url [lindex ${master_sites} 0] 51 livecheck.regex procps-(\[0-9.\]*)${extract.suffix} 59 livecheck.regex procps-ng-(\[0-9.\]*)${extract.suffix}