mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
62 lines
1.6 KiB
Tcl
62 lines
1.6 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 github 1.0
|
|
|
|
github.setup eth-p bat-extras 2024.08.24 v
|
|
github.tarball_from archive
|
|
revision 0
|
|
|
|
description \
|
|
Bash scripts that integrate bat with various command line tools.
|
|
|
|
long_description {*}${description}
|
|
|
|
categories textproc
|
|
platforms any
|
|
license MIT
|
|
maintainers {gmail.com:herby.gillot @herbygillot} \
|
|
openmaintainer
|
|
supported_archs noarch
|
|
|
|
checksums rmd160 37dc8a3b909561a2ba0dd888680f2d5fe6cfb2a7 \
|
|
sha256 2ff1b9104134f10721ef36580150365e94546e5b41b9a2a6eaa4851c5959b487 \
|
|
size 50671
|
|
|
|
depends_lib-append port:bash
|
|
|
|
depends_run-append port:bat \
|
|
port:entr \
|
|
port:fzf \
|
|
port:git-delta \
|
|
port:less \
|
|
port:ripgrep
|
|
|
|
build.cmd ./build.sh
|
|
build.args --prefix=${prefix} \
|
|
--minify=none
|
|
build.target
|
|
|
|
use_configure no
|
|
|
|
destroot {
|
|
xinstall -d ${destroot}${prefix}/share/man/man1
|
|
|
|
foreach batextra {
|
|
batdiff
|
|
batgrep
|
|
batman
|
|
batpipe
|
|
batwatch
|
|
prettybat
|
|
} {
|
|
copy ${worksrcpath}/bin/${batextra} ${destroot}${prefix}/bin/
|
|
|
|
copy \
|
|
${worksrcpath}/man/${batextra}.1 \
|
|
${destroot}${prefix}/share/man/man1/
|
|
}
|
|
|
|
copy ${worksrcpath}/bin/bat-modules ${destroot}${prefix}/bin/
|
|
}
|