mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
16 lines
491 B
Bash
16 lines
491 B
Bash
#!/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
|
|
echo "OWNER = -g games" >>${WRKSRC}/Imakefile || exit 1
|
|
echo "INSTMRISFLAGS = \$(OWNER) -m 2555" >>${WRKSRC}/Imakefile || exit 1
|
|
|
|
exit 0
|