1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/news/slurp/scripts/configure
1997-11-13 23:14:58 +00:00

21 lines
429 B
Bash

#!/bin/sh
#
# $Id$
#
echo "s!/usr/lib/news!${PREFIX}/news/lib!" > ${TMPDIR}/tmp.slurp.sed.$$
if [ -d /var/news ]
then
echo 's!/var/spool!/var!' >> ${TMPDIR}/tmp.slurp.sed.$$
fi
sed -f ${TMPDIR}/tmp.slurp.sed.$$ < ${WRKSRC}/conf.h > ${WRKSRC}/conf.h.tmp
mv ${WRKSRC}/conf.h.tmp ${WRKSRC}/conf.h
rm -f ${TMPDIR}/tmp.slurp.sed.$$
rm -f ${WRKDIR}/syslog.h
cp ${FILESDIR}/dbz.* ${WRKSRC}
cp ${FILESDIR}/siteexclude.c ${WRKSRC}