# -*- 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/moar 1.27.2 v go.offline_build no github.tarball_from archive revision 0 conflicts MoarVM description Moar is a pager. It's designed to just do the right thing \ without any configuration. long_description Moar 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 620f4a63c68b869967d9f12aa6b562cbed62f604 \ sha256 c1aa0c217dd5b59535b0cbe6b0a6e02a14cdff01bbe2146ea1b0968036c9a412 \ size 2843838 categories textproc installs_libs no license FreeBSD maintainers {gmail.com:j.lopez.r @jlopezr} \ {gmail.com:herby.gillot @herbygillot} \ openmaintainer set install_name ${name} variant pager description {Install as moar-pager} { set install_name ${name}-pager conflicts-delete MoarVM patchfiles patch-moar-1.diff } build.pre_args-append \ -ldflags \"-X main.versionString=${version}\" destroot { xinstall -m 0755 ${worksrcpath}/${name} \ ${destroot}${prefix}/bin/${install_name} xinstall -d ${destroot}${prefix}/share/man/man1 xinstall -m 0644 \ ${worksrcpath}/${name}.1 \ ${destroot}${prefix}/share/man/man1/${install_name}.1 } notes " The pager variant is compatible with MoarVM for raku and nqp development. Add: export PAGER=${prefix}/bin/${install_name} ...to your .bashrc, or .zshrc "