2013-06-21 22:48:31 +00:00
|
|
|
# -*- 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
|
2007-11-07 10:51:22 +00:00
|
|
|
|
2013-06-21 22:48:31 +00:00
|
|
|
PortSystem 1.0
|
2018-10-26 21:38:58 +01:00
|
|
|
PortGroup legacysupport 1.0
|
2022-07-20 12:53:31 +02:00
|
|
|
PortGroup perl5 1.0
|
2007-11-07 10:51:22 +00:00
|
|
|
|
2013-06-21 22:48:31 +00:00
|
|
|
name moreutils
|
2014-09-09 02:23:19 +00:00
|
|
|
conflicts ts
|
2024-12-18 19:10:40 -05:00
|
|
|
version 0.70
|
2023-12-03 16:00:32 -05:00
|
|
|
revision 0
|
2013-06-21 22:48:31 +00:00
|
|
|
categories sysutils
|
|
|
|
|
platforms darwin
|
2017-02-14 14:32:45 -05:00
|
|
|
maintainers {khindenburg @kurthindenburg} openmaintainer
|
2013-06-21 22:48:31 +00:00
|
|
|
license GPL-2+
|
2007-11-07 10:51:22 +00:00
|
|
|
|
2013-06-21 22:48:31 +00:00
|
|
|
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 \
|
2014-12-07 16:40:05 +00:00
|
|
|
\n- errno: look up errno names and descriptions \
|
2013-06-21 22:48:31 +00:00
|
|
|
\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- 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
|
|
|
|
|
|
2021-12-06 02:07:19 -05:00
|
|
|
homepage https://joeyh.name/code/moreutils
|
|
|
|
|
master_sites https://git.joeyh.name/index.cgi/moreutils.git/snapshot
|
2012-07-04 15:51:56 +00:00
|
|
|
|
2024-12-18 19:10:40 -05:00
|
|
|
checksums rmd160 9478b21c7359a2ba1211a788883e0fb187906e43 \
|
|
|
|
|
sha256 f2bf46d410ba567cc8d01507e94916994e48742722e690dc498fab59f5250132 \
|
|
|
|
|
size 94043
|
2012-07-04 15:51:56 +00:00
|
|
|
|
2022-07-20 12:53:31 +02:00
|
|
|
perl5.major 5.34
|
2015-07-18 01:10:32 +00:00
|
|
|
|
2022-07-20 12:53:31 +02:00
|
|
|
depends_run port:perl${perl5.major} \
|
|
|
|
|
port:p${perl5.major}-ipc-run \
|
|
|
|
|
port:p${perl5.major}-timedate \
|
|
|
|
|
port:p${perl5.major}-time-duration
|
2010-03-24 03:54:55 +00:00
|
|
|
|
2020-09-08 10:06:11 -04:00
|
|
|
patchfiles patch-Makefile.diff
|
2010-03-24 04:10:34 +00:00
|
|
|
|
2010-03-24 03:54:55 +00:00
|
|
|
post-patch {
|
2022-07-20 12:53:31 +02:00
|
|
|
reinplace "s|/usr/bin/perl|${perl5.bin}|" \
|
2007-11-07 10:51:22 +00:00
|
|
|
${worksrcpath}/vidir ${worksrcpath}/vipe \
|
|
|
|
|
${worksrcpath}/ts ${worksrcpath}/combine \
|
2012-07-04 15:51:56 +00:00
|
|
|
${worksrcpath}/zrun ${worksrcpath}/chronic
|
2008-06-23 16:07:32 +00:00
|
|
|
}
|
2007-11-07 10:51:22 +00:00
|
|
|
|
2013-06-21 22:48:31 +00:00
|
|
|
use_configure no
|
2010-03-24 03:54:55 +00:00
|
|
|
|
2012-07-04 15:46:50 +00:00
|
|
|
variant universal {}
|
|
|
|
|
|
2010-03-24 17:53:11 +00:00
|
|
|
build.args-append CC=${configure.cc} \
|
2012-07-04 15:46:50 +00:00
|
|
|
CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
|
2012-10-12 11:54:36 +00:00
|
|
|
LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]" \
|
2010-03-24 17:53:11 +00:00
|
|
|
DOCBOOK2XMAN=docbook2man \
|
|
|
|
|
PREFIX=${prefix}
|
2010-03-24 03:36:59 +00:00
|
|
|
|
2010-03-24 17:53:11 +00:00
|
|
|
destroot.args-append PREFIX=${prefix}
|
2008-06-24 06:26:34 +00:00
|
|
|
|
2014-07-27 13:25:59 +00:00
|
|
|
default_variants +doc
|
|
|
|
|
|
2007-11-07 10:51:22 +00:00
|
|
|
variant doc description {Install man pages} {
|
2013-06-21 22:48:31 +00:00
|
|
|
depends_build-append port:docbook-xml-4.4 port:docbook2X
|
|
|
|
|
build.target-append doc
|
|
|
|
|
destroot.target-append install-doc
|
2007-11-07 10:51:22 +00:00
|
|
|
}
|
|
|
|
|
|
2014-07-27 13:56:46 +00:00
|
|
|
notes "The binary parallel is no longer in this port; please install the port parallel instead."
|
|
|
|
|
|
2013-06-21 22:48:31 +00:00
|
|
|
livecheck.type regex
|
2014-12-07 16:40:05 +00:00
|
|
|
livecheck.regex {version ([0-9.]+)}
|