mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
21 lines
429 B
Bash
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}
|