summaryrefslogtreecommitdiffstats
path: root/news/plor/Makefile
blob: bf9346f7e2b530b3ecddd4b563bbd0418b9ff7a6 (plain)
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:	plor
# Date Created:		30 Dec 1996
# Whom:			Tim Vanderhoek <ac199@freenet.hamilton.on.ca>
#
# $FreeBSD$
#

PORTNAME=	plor
PORTVERSION=	0.3.1
CATEGORIES=	news
MASTER_SITES=	ftp://ftp.psy.unipd.it/pub/pluto/developers/ \
		ftp://ftp.unipd.it/pub/Linux/pluto/developers/

MAINTAINER=	hoek@FreeBSD.org

RUN_DEPENDS=    zip:${PORTSDIR}/archivers/zip

GNU_CONFIGURE=	yes

MAN1=		plor.1

DOCFILES=	../AUTHORS ../NEWS TODO plor-1.html plor-2.html \
		plor.html plor.txt

post-install:
.if !defined{NOPORTDOCS}
	@${MKDIR} ${PREFIX}/share/doc/plor
.for f in ${DOCFILES}
	${INSTALL_DATA} ${WRKSRC}/docs/${f} ${PREFIX}/share/doc/plor
.endfor
.endif
	${INSTALL_MAN} ${FILESDIR}/plor.1 ${PREFIX}/man/man1/plor.1
	perl -pi -e '$$a = '\''${PREFIX}/share/doc/plor/'\''; $$a =~ s/([^\w\/])/\\$$1/g; s/FUNKYTOKENHERE/$$a/' ${PREFIX}/man/man1/plor.1

.include <bsd.port.mk>
OpenPOWER on IntegriCloud