summaryrefslogtreecommitdiff
path: root/sysutils/multitail/Makefile
blob: 67a5cf076c2035ab5fd336b9531ce677fcf8bda1 (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
# Created by: Oliver Braun <obraun@FreeBSD.org>

PORTNAME=	multitail
PORTVERSION=	6.5.0
CATEGORIES=	sysutils
MASTER_SITES=	http://www.vanheusden.com/multitail/ \
		http://fossies.org/unix/privat/

MAINTAINER=	beat@FreeBSD.org
COMMENT=	Tail multiple files on console with ncurses

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/license.txt

USES=		alias gmake ncurses tar:tgz

PLIST_FILES=	bin/multitail etc/multitail.conf.sample \
		man/man1/multitail.1.gz
PORTDOCS=	readme.txt license.txt
MAKE_ARGS=	NCURSES_IMPL="${NCURSES_IMPL}"

OPTIONS_DEFINE=	DOCS

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/multitail ${STAGEDIR}${PREFIX}/bin/
	${INSTALL_MAN} ${WRKSRC}/multitail.1 ${STAGEDIR}${MANPREFIX}/man/man1
	${INSTALL_DATA} ${WRKSRC}/multitail.conf ${STAGEDIR}${PREFIX}/etc/multitail.conf.sample
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/license.txt ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>