Files
2018-11-21 00:24:49 -08:00

48 lines
1.8 KiB
Tcl

# -*- 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
PortSystem 1.0
name gtime
version 1.9
categories sysutils
license GPL-2+
platforms darwin
maintainers {gmail.com:davidgilman1 @dgilman} openmaintainer
description GNU implementation of time(1)
long_description The 'time' command runs another program, then displays \
information about the resources used by that program, \
collected by the system while the program was running. \
You can select which information is reported and the \
format in which it is shown, or have 'time' save the \
information in a file instead of displaying it on the \
screen.
homepage https://www.gnu.org/software/time/
master_sites gnu:time
distname time-${version}
checksums sha256 fbacf0c81e62429df3e33bda4cee38756604f18e01d977338e23306a3e3b521e \
rmd160 a9e2142d7014e5fefd34baf4fd06a05ac58730d4 \
size 596779
configure.args --program-prefix=g
destroot.destdir prefix=${destroot}${prefix} \
infodir=${destroot}${prefix}/share/info
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin
foreach binary [glob -tails -directory ${destroot}${prefix}/bin g*] {
ln -s ${prefix}/bin/${binary} ${destroot}${prefix}/libexec/gnubin/[string range $binary 1 end]
}
}
notes "
GNU time is installed as 'gtime' by default.
If you want to use the GNU tools by default, add this directory to the front of your PATH environment variable:
${prefix}/libexec/gnubin/
"