d20c85f90e
MonkeyTail allows a user to tail multiple files on both local and remote hosts and clearly marks inactivity by putting 5 newlines in the output whenever a pause in output over 3 seconds is detected. MonkeyTail is implemented a fairly simple wrapper script around standard tail, ssh, and sudo. WWW: http://dollyfish.net.nz/projects/monkeytail PR: ports/127351 Submitted by: Yi-Jheng Lin <yzlin at cs.nctu.edu.tw>
40 lines
1,023 B
Makefile
40 lines
1,023 B
Makefile
# New ports collection makefile for: monkeytail
|
|
# Date created: 2008-09-13
|
|
# Whom: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= monkeytail
|
|
PORTVERSION= 0.3.0
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://git.dollyfish.net.nz/releases/${MASTER_SITE_SUBDIR}/
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= yzlin@cs.nctu.edu.tw
|
|
COMMENT= A multi-file tail on both local and remote hosts
|
|
|
|
RUN_DEPENDS= p5-IO>=0:${PORTSDIR}/devel/p5-IO \
|
|
${SITE_PERL}/Config/General.pm:${PORTSDIR}/devel/p5-Config-General \
|
|
${SITE_PERL}/Getopt/Declare.pm:${PORTSDIR}/devel/p5-Getopt-Declare
|
|
|
|
USE_PERL5_RUN= yes
|
|
|
|
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>
|