[107217] trunk/dports/sysutils/moreutils/Portfile
ryandesign at macports.org
ryandesign at macports.org
Fri Jun 21 15:48:31 PDT 2013
Revision: 107217
https://trac.macports.org/changeset/107217
Author: ryandesign at macports.org
Date: 2013-06-21 15:48:31 -0700 (Fri, 21 Jun 2013)
Log Message:
-----------
moreutils: adjust whitespace and formatting; add modeline; remove unnecessary livecheck.url line
Modified Paths:
--------------
trunk/dports/sysutils/moreutils/Portfile
Modified: trunk/dports/sysutils/moreutils/Portfile
===================================================================
--- trunk/dports/sysutils/moreutils/Portfile 2013-06-21 22:43:14 UTC (rev 107216)
+++ trunk/dports/sysutils/moreutils/Portfile 2013-06-21 22:48:31 UTC (rev 107217)
@@ -1,51 +1,55 @@
+# -*- 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
+PortSystem 1.0
-name moreutils
+name moreutils
+conflicts parallel
version 0.48
-categories sysutils
-maintainers nomaintainer
-license GPL-2+
-platforms darwin
-description a collection of the unix tools that nobody thought to write thirty years ago.
-long_description \
- moreutils includes the following utilities: \
- - chronic: runs a command quietly unless it fails, \
- - combine: combine the lines in two files using boolean operations, \
- - ifne: run a program if the standard input is not empty, \
- - isutf8: check if a file or standard input is utf-8, \
- - lckdo: run a program with a lock held. \
- - mispipe: pipe two commands, returning the exit status of the first, \
- - parallel: run multiple jobs at once, \
- - pee: tee standard input to pipes, \
- - sponge: soak up standard input and write to a file, \
- - ts: timestamp standard input, \
- - vidir: edit a directory in your text editor, \
- - vipe: insert a text editor into a pipe, \
- - zrun: automatically uncompress arguments to command.
+categories sysutils
+platforms darwin
+maintainers nomaintainer
+license GPL-2+
-homepage http://packages.debian.org/unstable/utils/moreutils
-master_sites http://ftp.debian.org/debian/pool/main/m/moreutils/
-conflicts parallel
-distname ${name}_${version}
-worksrcdir ${name}
+description a collection of the unix tools that nobody thought \
+ to write thirty years ago.
+long_description moreutils includes the following utilities: \
+ \n- chronic: runs a command quietly unless it fails \
+ \n- combine: combine the lines in two files using boolean operations \
+ \n- ifne: run a program if the standard input is not empty \
+ \n- isutf8: check if a file or standard input is utf-8 \
+ \n- lckdo: run a program with a lock held. \
+ \n- mispipe: pipe two commands, returning the exit status of the first \
+ \n- parallel: run multiple jobs at once \
+ \n- pee: tee standard input to pipes \
+ \n- sponge: soak up standard input and write to a file \
+ \n- ts: timestamp standard input \
+ \n- vidir: edit a directory in your text editor \
+ \n- vipe: insert a text editor into a pipe \
+ \n- zrun: automatically uncompress arguments to command
+
+homepage http://packages.debian.org/unstable/utils/moreutils
+master_sites http://ftp.debian.org/debian/pool/main/m/moreutils/
+distname ${name}_${version}
+worksrcdir ${name}
+
checksums rmd160 1af1f05f50b21a9f3c93a802421d2ff2c9308012 \
sha256 294d097ea7d7a8c7a8205a234e9861a1d64042f639bc609e11696b12b8db8c2d
-depends_run port:perl5.12 port:p5.12-ipc-run
+depends_run port:perl5.12 \
+ port:p5.12-ipc-run
-patchfiles patch-Makefile.diff
+patchfiles patch-Makefile.diff
post-patch {
- reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.12|" \
+ reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.12|" \
${worksrcpath}/vidir ${worksrcpath}/vipe \
${worksrcpath}/ts ${worksrcpath}/combine \
${worksrcpath}/zrun ${worksrcpath}/chronic
}
-use_configure no
+use_configure no
variant universal {}
@@ -58,16 +62,16 @@
destroot.args-append PREFIX=${prefix}
variant doc description {Install man pages} {
- depends_build-append port:docbook-xml-4.4 port:docbook2X
- build.target-append doc
- destroot.target-append install-doc
- post-patch {
- reinplace "s|/usr/share/xml/docbook/schema/dtd/4.4|${prefix}/share/xml/docbook/4.4|" \
- ${worksrcpath}/ifne.docbook ${worksrcpath}/isutf8.docbook \
- ${worksrcpath}/mispipe.docbook ${worksrcpath}/pee.docbook \
- ${worksrcpath}/parallel.docbook \
- ${worksrcpath}/sponge.docbook ${worksrcpath}/lckdo.docbook
- }
+ depends_build-append port:docbook-xml-4.4 port:docbook2X
+ build.target-append doc
+ destroot.target-append install-doc
+ post-patch {
+ reinplace "s|/usr/share/xml/docbook/schema/dtd/4.4|${prefix}/share/xml/docbook/4.4|" \
+ ${worksrcpath}/ifne.docbook ${worksrcpath}/isutf8.docbook \
+ ${worksrcpath}/mispipe.docbook ${worksrcpath}/pee.docbook \
+ ${worksrcpath}/parallel.docbook \
+ ${worksrcpath}/sponge.docbook ${worksrcpath}/lckdo.docbook
+ }
}
platform darwin 8 {
@@ -77,7 +81,5 @@
}
}
-livecheck.type regex
-livecheck.url http://packages.debian.org/unstable/utils/${name}
-livecheck.regex ${name} .(\[0-9.\]+)
-
+livecheck.type regex
+livecheck.regex ${name} .(\[0-9.\]+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130621/4c692fdf/attachment-0001.html>
More information about the macports-changes
mailing list