mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
49 lines
1.5 KiB
Tcl
49 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/walles/moor 2.13.3 v
|
|
go.offline_build no
|
|
revision 0
|
|
|
|
description Moor is a pager. It's designed to just do the right thing \
|
|
without any configuration.
|
|
|
|
long_description Moor should work as a drop-in replacement for Less. \
|
|
It features syntax highlighting, ANSI color coded text \
|
|
support, incremental search and automatic decompression, \
|
|
among others.
|
|
|
|
checksums rmd160 4d3c12f2b5d52259518307c8ce6f0e151fa2d37a \
|
|
sha256 0e441201b119a5b31eb61fb1d2165cec83a5a2beb93f50905344ff51c3076606 \
|
|
size 5331025
|
|
|
|
categories textproc
|
|
installs_libs no
|
|
license FreeBSD
|
|
maintainers {gmail.com:j.lopez.r @jlopezr} \
|
|
{gmail.com:herby.gillot @herbygillot} \
|
|
openmaintainer
|
|
|
|
build.args-append ./cmd/${name}
|
|
build.pre_args-append \
|
|
-ldflags \"-X main.versionString=${version}\"
|
|
|
|
destroot {
|
|
xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
|
|
|
|
xinstall -m 0644 \
|
|
${worksrcpath}/${name}.1 ${destroot}${prefix}/share/man/man1/
|
|
}
|
|
|
|
notes "
|
|
moar has been replaced by moor.
|
|
|
|
Add:
|
|
|
|
export PAGER=${prefix}/bin/${name}
|
|
|
|
...to your .bashrc, or .zshrc
|
|
"
|