1994-09-30 15:09:35 +00:00
|
|
|
# New ports collection makefile for: cnews
|
|
|
|
# Version required: 940927
|
|
|
|
# Date created: 28 September 1994
|
|
|
|
# Whom: adam
|
|
|
|
#
|
1998-08-30 15:45:35 +00:00
|
|
|
# $Id: Makefile,v 1.17 1997/12/10 01:07:40 jseger Exp $
|
1994-09-30 15:09:35 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= cnews
|
1995-10-05 10:21:14 +00:00
|
|
|
PKGNAME= cnews-cr.g
|
1996-11-18 11:44:27 +00:00
|
|
|
CATEGORIES= news
|
1995-04-11 23:29:46 +00:00
|
|
|
MASTER_SITES= ftp://ftp.zoo.toronto.edu/pub/
|
|
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
|
1998-08-30 15:45:35 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.ORG
|
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
1994-09-30 15:09:35 +00:00
|
|
|
MAKEFILE= makefile
|
1996-11-18 14:17:24 +00:00
|
|
|
MAN1= checknews.1cn inews.1cn postnews.1cn readnews.1cn
|
|
|
|
MAN5= controlperm.5 news.5 newsctl.5 newsdb.5 newsoverview.5 \
|
1996-11-21 12:10:17 +00:00
|
|
|
newssys.5
|
1996-11-18 14:17:24 +00:00
|
|
|
MAN8= cnewsdo.8cn expire.8cn explode.8cn mergeactive.8 \
|
|
|
|
mkhistory.8cn newsaux.8cn newsbatch.8cn newsmail.8cn \
|
|
|
|
newsmaint.8cn newsoverview.8 relaynews.8cn report.8cn \
|
|
|
|
rnews.8cn
|
1995-04-11 23:29:46 +00:00
|
|
|
|
1995-04-18 13:56:22 +00:00
|
|
|
NEWSSPOOL= ${PREFIX}/newsspool
|
1996-12-07 01:30:23 +00:00
|
|
|
NEWSBIN= ${PREFIX}/news/cnewsbin
|
|
|
|
NEWSLIB= ${PREFIX}/news/lib
|
1995-04-18 13:56:22 +00:00
|
|
|
MANDIR= ${PREFIX}/man
|
1994-09-30 15:09:35 +00:00
|
|
|
|
1995-04-22 12:06:02 +00:00
|
|
|
do-install:
|
1998-08-30 15:45:35 +00:00
|
|
|
${RM} -f ${PREFIX}/bin/inews
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/libdbz/dbz.h ${PREFIX}/include
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/libcnews.a ${PREFIX}/lib
|
|
|
|
${MKDIR} ${NEWSSPOOL} ${NEWSBIN} ${NEWSLIB}
|
1995-04-24 09:21:52 +00:00
|
|
|
-ln -s ${NEWSSPOOL} /var/news
|
1995-01-24 16:43:07 +00:00
|
|
|
chown news.news ${NEWSSPOOL} ${NEWSLIB}
|
|
|
|
chown bin.bin ${NEWSBIN}
|
1998-08-30 15:45:35 +00:00
|
|
|
cd ${WRKSRC}; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} install
|
|
|
|
cd ${WRKSRC}; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} setup
|
|
|
|
cd ${WRKSRC}; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ui readpostcheck
|
|
|
|
.for f in checknews cnewsdo inews injnews postnews readnews
|
|
|
|
chown bin.bin ${PREFIX}/bin/$f
|
|
|
|
.endfor
|
1995-01-24 16:43:07 +00:00
|
|
|
chown news.news ${NEWSBIN}/input/newsspool
|
|
|
|
chmod 6755 ${NEWSBIN}/input/newsspool
|
1998-08-30 15:45:35 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/*.1* ${MANDIR}/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/*.5* ${MANDIR}/man5
|
|
|
|
${INSTALL_MAN} ${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} ""
|
1994-09-30 15:09:35 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|