do not edit — generated by btf.
git.druid.rocksindexdruid520portsports/textproc/less/add.sh

ports/textproc/less/add.sh


set -e
 
git clone --depth 1 https://github.com/gwsw/less.git
cd less
# a git checkout ships only the AUTHORING sources -- configure.ac,
# funcs.h/help.c/the unicode tables are all generated, normally bundled
# pre-built into a release tarball. Makefile.aut's own "all" target
# (autoheader+autoconf for configure, plus its own small perl/sed/grep
# generators for the rest) is upstream's own documented way to produce
# all of them from a git checkout in one step -- its UnicodeData.txt/
# EastAsianWidth.txt inputs are already committed to the repo, so this
# needs no network fetch of its own.
# Makefile.aut's own "all" target doesn't cover the *.nro man-page
# sources (install needs less.nro/lesskey.nro/lessecho.nro), so build
# those explicitly too.
make -f Makefile.aut all less.nro lesskey.nro lessecho.nro
./configure --prefix=$MP_PREFIX
make
make install
make clean || true
powered by btf.