1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/sysutils/multitail/Makefile
Beat Gaetzi 99a77e9bd3 - Update to 5.2.12
- Add additional MASTER_SITE
- Pet portlint
- Switch to OptionsNG
- Trim Makefile header

PR:		ports/175190 (based on)
Submitted by:	Po-Chien Lin <linpc@cs.nctu.edu.tw>
2013-01-20 19:03:20 +00:00

40 lines
1.0 KiB
Makefile

# Created by: Oliver Braun <obraun@FreeBSD.org>
# $FreeBSD$
PORTNAME= multitail
PORTVERSION= 5.2.12
CATEGORIES= sysutils
MASTER_SITES= http://www.vanheusden.com/multitail/ \
http://fossies.org/unix/privat/
EXTRACT_SUFX= .tgz
MAINTAINER= beat@FreeBSD.org
COMMENT= Tail multiple files on console with ncurses
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/license.txt
USE_GMAKE= yes
MAN1= multitail.1
PLIST_FILES= bin/multitail etc/multitail.conf.sample
PORTDOCS= readme.txt license.txt
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's,/etc/multitail.conf,${PREFIX}/etc/multitail.conf,' \
${WRKSRC}/mt.c ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/multitail ${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/multitail.1 ${MANPREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/multitail.conf ${PREFIX}/etc/multitail.conf.sample
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/license.txt ${DOCSDIR}
.endif
.include <bsd.port.mk>