diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2001-05-26 16:50:06 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2001-05-26 16:50:06 +0000 |
commit | 03a6227a8c6d02c9d8dbdbe06093efd8375a8cc5 (patch) | |
tree | 50296016d88cd57c2c246acb69ea05d508f8c26e /news/cnews | |
parent | 730d5de2766d2fda6b464f9d41721790e5b6e5c4 (diff) | |
download | ports-03a6227a8c6d02c9d8dbdbe06093efd8375a8cc5.tar.gz ports-03a6227a8c6d02c9d8dbdbe06093efd8375a8cc5.zip |
Notes
Diffstat (limited to 'news/cnews')
-rw-r--r-- | news/cnews/Makefile | 4 | ||||
-rw-r--r-- | news/cnews/pkg-plist | 39 |
2 files changed, 32 insertions, 11 deletions
diff --git a/news/cnews/Makefile b/news/cnews/Makefile index d15582dc7b7b..51cf0e161ed6 100644 --- a/news/cnews/Makefile +++ b/news/cnews/Makefile @@ -7,7 +7,7 @@ PORTNAME= cnews PORTVERSION= cr.g -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= news MASTER_SITES= ftp://ftp.cs.toronto.edu/pub/c-news/ \ ftp://ftp.funet.fi/pub/unix/news/cnews/ \ @@ -45,6 +45,8 @@ MAN8= cnewsdo.8cn expire.8cn explode.8cn mergeactive.8 \ rnews.8cn PLIST_SUB+= NEWSBIN=${NEWSBIN:S=${PREFIX}/==} PLIST_SUB+= NEWSCTL=${NEWSCTL:S=${PREFIX}/==} +PLIST_SUB+= NEWSARTS=${NEWSARTS:S=${PREFIX}/==} +PLIST_SUB+= NEWSOV=${NEWSOV:S=${PREFIX}/==} MODIFY= conf/quiz.def \ conf/substitutions \ diff --git a/news/cnews/pkg-plist b/news/cnews/pkg-plist index 95b16ee83721..69a8327446f0 100644 --- a/news/cnews/pkg-plist +++ b/news/cnews/pkg-plist @@ -1,16 +1,6 @@ @comment Package is not complete without minimal /var/news installation :-( @comment Basically just in.* and out.* /var/news might be a symbolic link @comment and it might not exist yet :-( -@exec ln -sf %D/newsspool /var/news -@exec mkdir -p %D/newsspool/in.coming/bad -@exec cd %D/newsspool; mkdir -p out.going out.master out.nntp -@dirrm newsspool/in.coming/bad -@dirrm newsspool/in.coming -@dirrm newsspool/out.going -@dirrm newsspool/out.master -@dirrm newsspool/out.nntp -@unexec if [ -h %D/newsspool ]; then rm -f %D/newsspool; fi -@unexec if [ -d %D/newsspool ]; then rmdir %D/newsspool; fi bin/checknews bin/cnewsdo bin/inews @@ -160,3 +150,32 @@ lib/libcnews.a @dirrm %%NEWSCTL%%/bin @dirrm %%NEWSCTL%% @dirrm news +@exec mkdir %D/%%NEWSCTL%%/bin +@exec mkdir -p %%NEWSOV%%/control +@exec mkdir -p %%NEWSOV%%/junk +@exec mkdir -p %%NEWSOV%%/news/announce/newusers +@unexec rmdir %%NEWSOV%%/control +@unexec rmdir %%NEWSOV%%/junk +@unexec rmdir %%NEWSOV%%/news/announce/newusers +@unexec rmdir %%NEWSOV%%/news/announce +@unexec rmdir %%NEWSOV%%/news +@unexec rmdir %%NEWSOV%% +@exec mkdir -p %%NEWSARTS%%/control +@exec mkdir -p %%NEWSARTS%%/junk +@exec mkdir -p %%NEWSARTS%%/news/announce/newusers +@exec mkdir -p %%NEWSARTS%%/in.coming/bad +@exec mkdir -p %%NEWSARTS%%/out.going +@exec mkdir -p %%NEWSARTS%%/out.master +@exec mkdir -p %%NEWSARTS%%/out.nntp +@exec chown -R news.news %%NEWSARTS%% +@unexec rmdir %%NEWSARTS%%/control +@unexec rmdir %%NEWSARTS%%/junk +@unexec rmdir %%NEWSARTS%%/news/announce/newusers +@unexec rmdir %%NEWSARTS%%/news/announce +@unexec rmdir %%NEWSARTS%%/news +@unexec rmdir %%NEWSARTS%%/in.coming/bad +@unexec rmdir %%NEWSARTS%%/in.coming +@unexec rmdir %%NEWSARTS%%/out.going +@unexec rmdir %%NEWSARTS%%/out.master +@unexec rmdir %%NEWSARTS%%/out.nntp +@unexec rmdir %%NEWSARTS%% |