1994-10-01 20:28:26 +00:00
|
|
|
# New ports collection makefile for: nntp
|
|
|
|
# Version required: t5
|
|
|
|
# Date created: 29 September 1994
|
|
|
|
# Whom: adam
|
|
|
|
#
|
1999-08-30 14:33:04 +00:00
|
|
|
# $FreeBSD$
|
1994-10-01 20:28:26 +00:00
|
|
|
#
|
|
|
|
|
2000-01-12 05:51:25 +00:00
|
|
|
DISTNAME= nntp.1.5.12.2
|
|
|
|
PKGNAME= nntp-1.5.12.2
|
1996-11-18 11:44:27 +00:00
|
|
|
CATEGORIES= news
|
2000-01-12 05:51:25 +00:00
|
|
|
MASTER_SITES= ftp://ftp.academ.com/pub/nntp/server/
|
|
|
|
|
|
|
|
PATCH_SITES= ftp://ftp.lan-ks.de/pub/c-news/ \
|
|
|
|
ftp://ftp.dinoex.org/pub/c-news/
|
|
|
|
PATCHFILES= nntp-patch-y2k
|
1994-10-01 20:28:26 +00:00
|
|
|
|
1996-03-20 01:49:59 +00:00
|
|
|
MAINTAINER= adam@veda.is
|
|
|
|
|
1999-11-26 18:22:26 +00:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libcnews.a:${PORTSDIR}/news/cnews
|
1995-04-18 14:37:45 +00:00
|
|
|
|
2000-01-12 05:51:25 +00:00
|
|
|
NO_WRKSUBDIR= yes
|
1996-11-18 14:17:24 +00:00
|
|
|
MAN1= nntpxmit.1
|
2000-01-12 05:51:25 +00:00
|
|
|
MAN8= nntpd.8c acttimes.8c
|
1999-11-26 18:22:26 +00:00
|
|
|
PLIST= ${WRKDIR}/.PLIST.sed
|
|
|
|
|
2000-01-12 05:51:25 +00:00
|
|
|
MODIFY= conf.h Makefile
|
1999-11-26 18:22:26 +00:00
|
|
|
|
|
|
|
NEWSBIN?= ${PREFIX}/news/cnewsbin
|
|
|
|
NEWSCTL?= ${PREFIX}/news/lib
|
|
|
|
NEWSARTS?= /var/news
|
|
|
|
NEWSOV?= /var/news/over.view
|
1996-11-18 14:17:24 +00:00
|
|
|
|
1996-03-20 01:49:59 +00:00
|
|
|
post-extract:
|
1999-08-22 23:33:47 +00:00
|
|
|
@${CP} ${WRKSRC}/conf.h.dist ${WRKSRC}/conf.h
|
1994-10-01 20:28:26 +00:00
|
|
|
|
1999-11-26 18:22:26 +00:00
|
|
|
pre-configure:
|
|
|
|
.for i in ${MODIFY}
|
|
|
|
@${MV} ${WRKSRC}/${i} ${WRKSRC}/${i}.sed
|
|
|
|
${SED} \
|
|
|
|
-e "s=/usr/local/news/lib/bin/config=${NEWSBIN}/config=" \
|
|
|
|
-e "s=/usr/local/news/cnewsbin=${NEWSBIN}=" \
|
|
|
|
-e "s=/usr/local/news/lib=${NEWSCTL}=" \
|
|
|
|
-e "s=/var/news/over.view=${NEWSOV}=" \
|
|
|
|
-e "s=/var/news=${NEWSARTS}=" \
|
|
|
|
-e "s=/usr/local/bin=${PREFIX}/bin=" \
|
2000-01-12 05:51:25 +00:00
|
|
|
-e "s=/usr/local/sbin=${PREFIX}/sbin=" \
|
|
|
|
-e "s=/usr/local/man=${PREFIX}/man=" \
|
1999-11-26 18:22:26 +00:00
|
|
|
${WRKSRC}/${i}.sed >${WRKSRC}/${i}
|
|
|
|
.endfor
|
|
|
|
@${SED} \
|
|
|
|
-e "s=news/cnewsbin=${NEWSBIN:S=${PREFIX}/==}=" \
|
|
|
|
${PKGDIR}/PLIST >${PLIST}
|
|
|
|
|
2000-01-12 05:51:25 +00:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/overview.fmt ${NEWSCTL}/overview.fmt
|
|
|
|
|
1994-10-01 20:28:26 +00:00
|
|
|
.include <bsd.port.mk>
|