# -*- 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.28.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 0ad6198ac452855638e9699f8f8f5f7619784214 \ sha256 4b36c8e74d06c360f241af3de90bbe43ab6e6585b7cddfe8723e3c6723907a56 \ size 2844791 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 "