summaryrefslogtreecommitdiff
path: root/news/slurp/scripts/configure
diff options
context:
space:
mode:
authorJames Raynard <jraynard@FreeBSD.org>1997-11-13 23:14:58 +0000
committerJames Raynard <jraynard@FreeBSD.org>1997-11-13 23:14:58 +0000
commit450506ee5f9211b882d4c30188f1cb288ce61cfa (patch)
tree9523bca7da6ad5961954c74b376d34caa7e0a430 /news/slurp/scripts/configure
parentUpgrade, 1.03a -> 1.03e (diff)
Add site exclusions patches. Some cleanup.
Notes
Notes: svn path=/head/; revision=8606
Diffstat (limited to '')
-rw-r--r--news/slurp/scripts/configure20
1 files changed, 20 insertions, 0 deletions
diff --git a/news/slurp/scripts/configure b/news/slurp/scripts/configure
new file mode 100644
index 000000000000..894bc907041a
--- /dev/null
+++ b/news/slurp/scripts/configure
@@ -0,0 +1,20 @@
+#!/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}