# -*- 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.31.8 v go.offline_build no 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 12e541c5ad34380a29e4366049b68949e2729af9 \ sha256 77943278d1ca22c3ca405c6a227e4807ce8637b807c40802c739f901ae980151 \ size 2849478 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 "