aboutsummaryrefslogtreecommitdiff
path: root/news/cnews
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2001-05-20 04:22:36 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2001-05-20 04:22:36 +0000
commit741cd98351128848f18e399b3bb450e2103e710f (patch)
treef5adbb2c385be421cb418d6da506004303de3c05 /news/cnews
parent5fef39e5ee4265fd81569fa2de7e14a9f2512d8c (diff)
downloadports-741cd98351128848f18e399b3bb450e2103e710f.tar.gz
ports-741cd98351128848f18e399b3bb450e2103e710f.zip
Notes
Diffstat (limited to 'news/cnews')
-rw-r--r--news/cnews/Makefile1
-rw-r--r--news/cnews/pkg-plist6
2 files changed, 7 insertions, 0 deletions
diff --git a/news/cnews/Makefile b/news/cnews/Makefile
index da291a167a8e..d15582dc7b7b 100644
--- a/news/cnews/Makefile
+++ b/news/cnews/Makefile
@@ -7,6 +7,7 @@
PORTNAME= cnews
PORTVERSION= cr.g
+PORTREVISION= 1
CATEGORIES= news
MASTER_SITES= ftp://ftp.cs.toronto.edu/pub/c-news/ \
ftp://ftp.funet.fi/pub/unix/news/cnews/ \
diff --git a/news/cnews/pkg-plist b/news/cnews/pkg-plist
index 567562d87b83..232e516930e1 100644
--- a/news/cnews/pkg-plist
+++ b/news/cnews/pkg-plist
@@ -2,8 +2,14 @@
@comment Basically just in.* and out.* /var/news might be a symbolic link
@comment and it might not exist yet :-(
@exec ln -sf /usr/local/newsspool /var/news
+@unexec rm -f /usr/local/newsspool
@exec mkdir -p /usr/local/newsspool/in.coming/bad
@exec cd /usr/local/newsspool; mkdir -p out.going out.master out.nntp
+@rmdir /usr/local/newsspool/in.coming/bad
+@rmdir /usr/local/newsspool/in.coming
+@rmdir /usr/local/newsspool/out.going
+@rmdir /usr/local/newsspool/out.master
+@rmdir /usr/local/newsspool/out.nntp
bin/checknews
bin/cnewsdo
bin/inews