1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/games/xmris/scripts/pre-configure

14 lines
360 B
Plaintext
Raw Normal View History

#!/bin/sh
mv ${WRKSRC}/Imakefile ${WRKSRC}/Imakefile.orig
echo "LOCAL=$PREFIX" >${WRKSRC}/Imakefile || exit 1;
# remove extra space after \ in continuation lines
sed -e 's/\\ $/\\/' <${WRKSRC}/Imakefile.orig >>${WRKSRC}/Imakefile || exit 1
echo "CDEBUGFLAGS=-O2" >>${WRKSRC}/Imakefile || exit 1
echo "MANSUFFIX=6" >>${WRKSRC}/Imakefile || exit 1
exit 0