mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
21 lines
429 B
Plaintext
21 lines
429 B
Plaintext
|
#!/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}
|