diff options
author | Adam David <adam@FreeBSD.org> | 1994-09-30 15:09:35 +0000 |
---|---|---|
committer | Adam David <adam@FreeBSD.org> | 1994-09-30 15:09:35 +0000 |
commit | 03a53630592a2b3b20ab7c0ca211d311f2a804ca (patch) | |
tree | 2ea0e1c2a11b6bfa97fef1f451500edbbef26c51 /news/cnews/Makefile | |
parent | 45655050f2da59c87ef92d90e78299e671300e47 (diff) | |
download | ports-03a53630592a2b3b20ab7c0ca211d311f2a804ca.tar.gz ports-03a53630592a2b3b20ab7c0ca211d311f2a804ca.zip |
Cnews cleanup release from Henry Spencer and Geoff Collyer
Notes
Notes:
svn path=/head/; revision=145
Diffstat (limited to 'news/cnews/Makefile')
-rw-r--r-- | news/cnews/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/news/cnews/Makefile b/news/cnews/Makefile new file mode 100644 index 000000000000..4000220f74fb --- /dev/null +++ b/news/cnews/Makefile @@ -0,0 +1,46 @@ +# New ports collection makefile for: cnews +# Version required: 940927 +# Date created: 28 September 1994 +# Whom: adam +# +# $Id: Makefile,v 1.1.1.1 1994/09/25 18:59:07 adam Exp $ +# + +DISTNAME= cnews +EXTRACT_SUFFIX= .tar.Z +DISTFILES= ${DISTNAME}${EXTRACT_SUFFIX} +MASTER_SITES= ftp://ftp.zoo.toronto.edu/pub/ +WRKSRC= ${WRKDIR} +MAKEFILE= makefile +NEWSSPOOL= /usr/local/newsspool +NEWSBIN= /usr/local/libexec/news +NEWSLIB= /usr/local/lib/news +MANDIR= /usr/local/man + +install: all + @echo "===> installing for ${DISTNAME}" + @mkdir -p ${NEWSSPOOL} + @ln -s ${NEWSSPOOL} /var/news + @mkdir -p ${NEWSBIN} ${NEWSLIB} + @chown news.news ${NEWSSPOOL} ${NEWSLIB} + @chown bin.bin ${NEWSBIN} + @cd ${WRKSRC}; su -m bin -c ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} install + @cd ${WRKSRC}; su -m news -c ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} setup + @cd ${WRKSRC}; su -m bin -c ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ui \ + readpostcheck + @chown news.news ${NEWSBIN}/input/newsspool + @chmod 6755 ${NEWSBIN}/input/newsspool + @mkdir -p ${MANDIR}/man1 ${MANDIR}/man5 ${MANDIR}/man8 + @install -o bin -g bin -m 444 ${WRKSRC}/man/*.1* ${MANDIR}/man1 + @install -o bin -g bin -m 444 ${WRKSRC}/man/*.5* ${MANDIR}/man5 + @install -o bin -g bin -m 444 ${WRKSRC}/man/*.8* ${MANDIR}/man8 + @echo "" + @echo "!!!!!!!!" + @echo "you MUST change the configuration of this news setup:" + @echo " cd to ${NEWSLIB} and change the following files..." + @echo "mailname, whoami, organization, mailpaths, sys, readnews.ctl, postdefltgroup" + @echo " to suit your local system and news topology." + @echo "!!!!!!!!" + @echo "" + +.include <bsd.port.mk> |