1995-11-19 16:55:05 +00:00
|
|
|
#! /bin/sh
|
|
|
|
echo "You should tell knews the name of your NNTP server"
|
|
|
|
echo "You can do this by setting the environment variable NNTPSERVER"
|
|
|
|
echo "csh users: in .cshrc: setenv NNTPSERVER host.domain"
|
|
|
|
echo "sh users: in .profile: NNTPSERVER=host.domain; export NNTPSERVER"
|
1996-06-02 15:13:07 +00:00
|
|
|
|
|
|
|
# work around a problem with bmake regarding files ending in .l
|
|
|
|
#
|
1998-03-21 13:35:07 +00:00
|
|
|
FILES_TO_PATCH="widgets.c save.c search.c"
|
1996-06-02 15:13:07 +00:00
|
|
|
for file in $FILES_TO_PATCH
|
|
|
|
do
|
|
|
|
ed -s ${WRKSRC}/src/${file} <<-EOF
|
|
|
|
g/^#include.*\.l/s/\.l/.h/
|
|
|
|
w
|
|
|
|
q
|
|
|
|
EOF
|
|
|
|
done
|
|
|
|
|
|
|
|
for file in ${WRKSRC}/src/layouts/*
|
|
|
|
do
|
|
|
|
mv $file `echo $file | sed -e 's/\.l/.h/'`
|
|
|
|
done
|
|
|
|
|
1998-03-14 16:36:00 +00:00
|
|
|
perl -pi -e "s|!!LOCALBASE!!|$LOCALBASE|" ${WRKSRC}/knews.tmpl
|
|
|
|
|
1995-11-19 16:55:05 +00:00
|
|
|
exit 0
|