# $Id: Portfile,v 1.7 2006/06/17 13:45:14 mww Exp $

PortSystem 1.0

name		multitail
version		4.0.6
categories	sysutils
maintainers	luc@honk-honk.com
description	Tail multiple files in one terminal at once
long_description	MultiTail lets you view one or multiple files like the \
	original tail program. The difference is that it creates multiple \
	windows on your console (with ncurses). Merging of 2 or even more \
	logfiles is possible. It can also use colors while displaying the \
	logfiles (through regular expressions), for faster recognition of what \
	is important and what not. It can also filter lines (again with \
	regular expressions). It has interactive menus for editing given \
	regular expressions and deleting and adding windows. One can also have \
	windows with the output of shell scripts and other software. When \
	viewing the output of external software, MultiTail can mimic the \
	functionality of tools like 'watch' and such.

homepage	http://www.vanheusden.com/multitail/
master_sites	${homepage}
checksums	md5 53b40323f0be939a3f8403de0caa8bab
extract.suffix	.tgz

use_configure	no

pre-build	{
	reinplace "s|\$(DESTDIR)/usr/|\$(DESTDIR)${prefix}/|g" \
		${worksrcpath}/makefile.macosx
        reinplace "s|\$(DESTDIR)/etc|\$(DESTDIR)${prefix}/etc/|g" \
                ${worksrcpath}/makefile.macosx
}
build.args	-f makefile.macosx

destroot.args	-f makefile.macosx
