1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/news/slurp/Makefile
Satoshi Asami 9cd707fee7 A passive NNTP client that retrieves Usenet news articles from a remote server.
Submitted by:	James Raynard <fports@jraynard.demon.co.uk>
1996-07-27 21:54:12 +00:00

36 lines
929 B
Makefile

# New ports collection makefile for: slurp
# Version required: 1.10
# Date created: 30 Jun 1996
# Whom: jraynard
#
# $Id$
#
DISTNAME= slurp-1.10
CATEGORIES+= news
MASTER_SITES= ftp://ftp.demon.co.uk/pub/news/slurp/
EXTRACT_SUFX= .tar.Z
MAINTAINER= jraynard@FreeBSD.ORG
#RUN_DEPENDS= ${PREFIX}/etc/innd:${PORTSDIR}/news/inn
NO_WRKSUBDIR= yes
pre-build:
@(cd ${WRKSRC}; cp conf.h conf.h.orig; \
sed -e 's!/usr/lib/news!${PREFIX}/news/lib!' -e 's!/var/spool!/var!' conf.h.orig > conf.h; \
rm -f syslog.h)
@cp ${FILESDIR}/dbz.* ${WRKSRC}
do-install:
mkdir -p ${PREFIX}/news/bin ${PREFIX}/news/lib
install -c -o news -g news -m 0555 -s ${WRKSRC}/slurp ${PREFIX}/news/bin/
install -c -o man -g man -m 0444 ${WRKSRC}/slurp.1 ${PREFIX}/man/man1
.if !defined(NOMANCOMPRESS)
gzip -9nf ${PREFIX}/man/man1/slurp.1
.endif
install -c -o news -g news -m 0644 ${WRKSRC}/slurp.sys ${PREFIX}/news/lib/
.include <bsd.port.mk>