1994-11-06 02:13:04 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
1995-02-07 02:41:52 +00:00
|
|
|
if [ "`echo a|sed -e P`" = "aa" ]; then
|
|
|
|
echo You need a newer version of sed. Use sed from -current or gnu sed
|
|
|
|
exit 1
|
|
|
|
fi
|
1994-11-06 02:13:04 +00:00
|
|
|
cd $WRKSRC || exit 1;
|
|
|
|
|
|
|
|
sed -e s:/usr/local:$PREFIX: <local.h.samp >local.h || exit 1;
|
|
|
|
echo '#define LANGUAGES "{american,MASTERDICTS=american.med+,HASHFILES=americanmed+.hash,EXTRADICT=/usr/share/dict/words}"' >>local.h ||exit 1;
|
|
|
|
|
1995-02-06 15:07:47 +00:00
|
|
|
mv Makefile Makefile.orig
|
|
|
|
sed -e 's/^[ ]*$/\
|
|
|
|
/' <Makefile.orig >Makefile
|
|
|
|
|
1994-11-06 02:13:04 +00:00
|
|
|
exit 0;
|