#!/bin/sh

cd $WRKSRC || exit 1;

mv Imakefile Imakefile.orig
sed -e s/snf/pcf.gz/  <Imakefile.orig>Imakefile

cat >> Imakefile <<END

HSCORE_FILE = /var/games/xjewel.scores
USERDEFS = -DICON_WINDOW -DUSE_SELECT -DGETPWENT
BINDIR = $PREFIX/bin
MANDIR = $PREFIX/man/cat6
MANSUFFIX = 6
END

exit 0;
