mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
48 lines
1.5 KiB
Tcl
48 lines
1.5 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
|
|
PortGroup golang 1.0
|
|
|
|
go.setup github.com/zix99/rare 0.5.5
|
|
go.package rare
|
|
go.offline_build no
|
|
revision 0
|
|
|
|
homepage https://rare.zdyn.net
|
|
|
|
description Realtime regex-extraction and aggregation into common \
|
|
formats such as histograms, bar graphs, numerical \
|
|
summaries, tables, and more!
|
|
|
|
long_description {*}${description}
|
|
|
|
categories textproc
|
|
installs_libs no
|
|
license GPL-3
|
|
maintainers {gmail.com:herby.gillot @herbygillot} \
|
|
openmaintainer
|
|
|
|
checksums rmd160 650ca50b1bac13962dac170ffc4e901ed58867ee \
|
|
sha256 89e9738097f3a42b564d8c06ca4bacffe22f9f6436679298f5441d502d97e9b4 \
|
|
size 3135796
|
|
|
|
build.pre_args-append \
|
|
-ldflags \" -X main.version=${version} \" \
|
|
-tags urfave_cli_no_docs,rare_no_pprof
|
|
|
|
post-build {
|
|
# Generate man page
|
|
system -W ${worksrcpath} "${go.bin} run . _gendoc --man > ${name}.1"
|
|
}
|
|
|
|
destroot {
|
|
xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/${name}
|
|
|
|
xinstall -d ${destroot}${prefix}/share/man/man1
|
|
xinstall -m 0644 \
|
|
${worksrcpath}/${name}.1 ${destroot}${prefix}/share/man/man1/
|
|
}
|
|
|
|
github.livecheck.regex \
|
|
{([0-9.-]+)}
|