[139495] trunk/dports/sysutils/watch/Portfile

cal at macports.org cal at macports.org
Tue Aug 18 13:52:40 PDT 2015


Revision: 139495
          https://trac.macports.org/changeset/139495
Author:   cal at macports.org
Date:     2015-08-18 13:52:39 -0700 (Tue, 18 Aug 2015)
Log Message:
-----------
watch: add modeline, unify whitespace, ignoring maintainership because watch is broken with ncurses 6

Modified Paths:
--------------
    trunk/dports/sysutils/watch/Portfile

Modified: trunk/dports/sysutils/watch/Portfile
===================================================================
--- trunk/dports/sysutils/watch/Portfile	2015-08-18 20:26:42 UTC (rev 139494)
+++ trunk/dports/sysutils/watch/Portfile	2015-08-18 20:52:39 UTC (rev 139495)
@@ -1,29 +1,30 @@
+# -*- 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
 # $Id$
 
 PortSystem 1.0
-name	   	watch
-version	    	3.3.6
-revision	    1
-categories  	sysutils
-platforms	darwin
-license		GPL-2
-maintainers 	yahoo.com:mjhsieh
-description    	watch executes a program periodically, showing output fullscreen
-long_description	watch is like "top" for arbitrary commands. It runs \
-			command repeatedly, displaying its output (the first \
-			screen full). This  allows you to watch the program \
-			output change over time. This is part of the  linux \
-			"procps" package
+name            watch
+version         3.3.6
+revision        1
+categories      sysutils
+platforms       darwin
+license         GPL-2
+maintainers     yahoo.com:mjhsieh
+description     watch executes a program periodically, showing output fullscreen
+long_description \
+    watch is like "top" for arbitrary commands. It runs command repeatedly, \
+    displaying its output (the first screen full). This  allows you to watch \
+    the program output change over time. This is part of the linux "procps" \
+    package.
 
-homepage	http://sourceforge.net/projects/procps-ng/
-master_sites	sourceforge:procps-ng
-distname	procps-ng-${version}
+homepage        http://sourceforge.net/projects/procps-ng/
+master_sites    sourceforge:procps-ng
+distname        procps-ng-${version}
 use_xz yes
 
 checksums       rmd160  44b6abdbf6e6fdebdf2f1848207392314b542c05 \
                 sha256  d09ac4df3793f632d481f6547c39c6d835a7aa7bd5a302fcb0885ff7691c124c
 
-depends_lib	port:ncurses
+depends_lib     port:ncurses
 
 patchfiles      0001-configure-check-for-program_invocation_name.patch \
                 0002-watch-Remove-unused-header.patch \
@@ -37,24 +38,24 @@
 
 variant universal {}
 if {[variant_isset universal]} {
-	set archflags ${configure.universal_cflags}
+    set archflags ${configure.universal_cflags}
 } else {
-	set archflags ${configure.cc_archflags}
+    set archflags ${configure.cc_archflags}
 }
 
-build.target	watch
-build.args	CC="${configure.cc} ${archflags}" \
-		LDFLAGS="${configure.ldflags}" \
-		AM_LDFLAGS=""
+build.target    watch
+build.args      CC="${configure.cc} ${archflags}" \
+                LDFLAGS="${configure.ldflags}" \
+                AM_LDFLAGS=""
 
 pre-build {
     build.args-append   CPPFLAGS="[exec ${prefix}/bin/ncurses5-config --cflags]"
 }
 
-destroot	{ 
-	xinstall -m 0755 ${worksrcpath}/watch ${destroot}${prefix}/bin
-	xinstall -m 0644 ${worksrcpath}/watch.1 \
-		${destroot}${prefix}/share/man/man1
+destroot {
+        xinstall -m 0755 ${worksrcpath}/watch ${destroot}${prefix}/bin
+        xinstall -m 0644 ${worksrcpath}/watch.1 \
+                ${destroot}${prefix}/share/man/man1
 }
 
-livecheck.regex	procps-ng-(\[0-9.\]*)${extract.suffix}
+livecheck.regex procps-ng-(\[0-9.\]*)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150818/12116170/attachment.html>


More information about the macports-changes mailing list