do not edit — generated by btf.
git.druid.rocksindexdruid520portsports/sysutils/bsddiff/add.sh

ports/sysutils/bsddiff/add.sh


set -e
 
git clone --depth 1 https://github.com/chimera-linux/bsddiff.git
cd bsddiff
muon setup -Dprefix=$MP_PREFIX build
samu -C build
# cmp deliberately NOT installed from here: sbase already provides a
# working cmp (confirmed: coreutils/sbase's own utility list), and
# installing this port's own would just be a redundant conflict with
# no real benefit -- diff/diff3/sdiff are the actual gap sbase and
# ubase both leave (neither one implements any of the three).
mkdir -p $MP_PREFIX/bin $MP_PREFIX/libexec $MP_PREFIX/share/man/man1
install -m755 build/diff/diff $MP_PREFIX/bin/diff
install -m755 build/diff3/diff3 $MP_PREFIX/bin/diff3
install -m755 build/diff3/diff3prog $MP_PREFIX/libexec/diff3prog
install -m755 build/sdiff/sdiff $MP_PREFIX/bin/sdiff
install -m644 diff/diff.1 diff3/diff3.1 sdiff/sdiff.1 $MP_PREFIX/share/man/man1/
rm -rf build
powered by btf.