kiss-mfavila-small/ports/s9/build
2021-06-26 16:25:26 +00:00

12 lines
229 B
Bash
Executable File

#!/bin/sh -e
mkdir -p "$1/usr/bin/"
#Set our prefix.
sed -i 's/$(PREFIX)/$(DESTDIR)\/$(PREFIX)/g' Makefile
sed -i 's/PREFIX= \/u/PREFIX= \/usr/' Makefile
sed 6a"DESTDIR= $1" Makefile > tmp.m
mv tmp.m Makefile
make all install