summaryrefslogtreecommitdiff
path: root/news/rkive/scripts/configure
diff options
context:
space:
mode:
Diffstat (limited to 'news/rkive/scripts/configure')
-rw-r--r--news/rkive/scripts/configure30
1 files changed, 0 insertions, 30 deletions
diff --git a/news/rkive/scripts/configure b/news/rkive/scripts/configure
deleted file mode 100644
index 929f53893cc1..000000000000
--- a/news/rkive/scripts/configure
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-if [ -d /var/spool/news ] && [ ! -d /var/news ]
-then
- NEWSSPOOL=/var/spool/news
-else
- NEWSSPOOL=/var/news
-fi
-
-if [ -z $PROBLEMSDIR ]
-then
- echo Warning: PROBLEMSDIR undefined, using \"/usenet\" as default
- echo " this will only be used if you do not specify"
- echo " the PROBLEMS path variable inside the configuration"
- echo " file ($PREFIX/lib/rkive/rkive.cf)"
- PROBLEMSDIR=/usenet
-fi
-
-cat >/tmp/tmp.rkive.sed.$$ << --EOF--
-s+!!NEWSSPOOL!!+$NEWSSPOOL+g
-s+!!PREFIX!!+$PREFIX+g
-s+!!PROBLEMSDIR!!+$PROBLEMSDIR+g
---EOF--
-
-mv ${WRKSRC}/rkive.h ${WRKSRC}/rkive.h.old
-sed <${WRKSRC}/rkive.h.old >${WRKSRC}/rkive.h -f /tmp/tmp.rkive.sed.$$
-
-rm -f /tmp/tmp.inn.sed.$$