#!/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 exit 0