blob: d27b55e6458484d9a1faf7ac43449f77b63ffe8c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# 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>
|