summaryrefslogtreecommitdiff
path: root/sysutils/monkeytail/Makefile
blob: 718e0ee350ee100e7d86440711aa25d616b0656b (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
# Created by: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
# $FreeBSD$

PORTNAME=	monkeytail
PORTVERSION=	0.3.2
PORTREVISION=	1
CATEGORIES=	sysutils
MASTER_SITES=	http://git.dollyfish.net.nz/releases/${MASTER_SITE_SUBDIR}/
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A multi-file tail on both local and remote hosts

RUN_DEPENDS=	p5-Config-General>=0:${PORTSDIR}/devel/p5-Config-General \
		p5-Getopt-Declare>=0:${PORTSDIR}/devel/p5-Getopt-Declare

USES=		perl5
USE_PERL5=	run

NO_BUILD=	yes

PORTDOCS=	COPYING README
PLIST_FILES=	bin/mtail

MAN1=		mtail.1
MAN5=		mtailrc.5

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/mtail ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/doc/mtail.1 ${MAN1PREFIX}/man/man1
	${INSTALL_MAN} ${WRKSRC}/doc/mtailrc.5 ${MAN5PREFIX}/man/man5
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif

.include <bsd.port.mk>