blob: 710e1a4962b2bec75c9e68fe2ed8e09182241071 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# New ports collection makefile for: slnr
# Version required: 2.13
# Date created: 21 July 1996
# Whom: Tim Vanderhoek <ac199@freenet.hamilton.on.ca>
#
# $Id$
#
DISTNAME= slnr
PKGNAME= slnr-2.13
CATEGORIES+= news
MASTER_SITES= ftp://ftp.uu.net/networking/news/readers/off-line/slnr/ \
ftp://ftp.adelaide.edu.au/pub/news/readers/off-line/slnr/
DISTFILES= part1.Z part2.Z part3.Z
MAINTAINER= ac199@freenet.hamilton.on.ca
RUN_DEPENDS= zip:${PORTSDIR}/archivers/zip
DIST_SUBDIR= slnr
NO_WRKSUBDIR= yes
ALL_TARGET= slnr
EXTRACT_CMD= ${GZCAT}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= | sed -ne '/^\#!\/bin\/sh/,$$p' | sh
EXTRAFILES= default.dot.slnrrc \
porting.notes slnr.1 LICENSE
DOCFILES= porting.notes soup12.doc slnr.doc LICENSE
DOCFILES+= default.dot.slnrrc
post-extract:
.for l in ${EXTRAFILES}
@cp ${FILESDIR}/${l} ${WRKSRC}
.endfor
do-install:
.if !defined{NOPORTDOCS}
mkdir -p ${PREFIX}/share/doc/slnr
cd ${WRKSRC}; \
${INSTALL_DATA} ${DOCFILES} ${PREFIX}/share/doc/slnr
.endif
${INSTALL_MAN} ${WRKSRC}/slnr.1 ${PREFIX}/man/man1/slnr.1
${COMPRESS_MAN} ${PREFIX}/man/man1/slnr.1
${INSTALL_PROGRAM} ${WRKSRC}/slnr ${PREFIX}/bin
.include <bsd.port.mk>
|