31 lines
757 B
Plaintext
31 lines
757 B
Plaintext
# Description: NetBSD make program
|
|
# URL: http://www.crufty.net/help/sjg/bmake.html
|
|
# Maintainer: Steffen Nurpmeso, steffen at sdaoden dot eu
|
|
|
|
name=bmake
|
|
version=20211001
|
|
release=1
|
|
source=(http://www.crufty.net/ftp/pub/sjg/${name}-${version}.tar.gz)
|
|
|
|
build() {
|
|
cd ${name}
|
|
|
|
sed -i'' -e '/cmd-interrupt$/d' -e '/var-op-shell$/d' unit-tests/Makefile
|
|
|
|
mkdir -p build
|
|
cd build
|
|
|
|
sh ../boot-strap --with-default-sys-path=/usr/share/mk
|
|
|
|
sh ../boot-strap --prefix=/usr \
|
|
--with-mksrc=/usr/share/mk \
|
|
--install-destdir="${PKG}" op=install
|
|
|
|
chmod g-w "${PKG}"/usr/bin "${PKG}"/usr/share/mk
|
|
rm -rf "${PKG}"/usr/share/man/cat1
|
|
mkdir "${PKG}"/usr/share/man/man1
|
|
cp ../bmake.1 "${PKG}"/usr/share/man/man1/
|
|
}
|
|
|
|
# s-sh-mode
|