1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/sysutils/tenshi/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

56 lines
1.3 KiB
Makefile

# New ports collection makefile for: tenshi
# Date created: 21 Jul 2004
# Whom: Oliver Eikemeier
#
# $FreeBSD$
#
PORTNAME= tenshi
PORTVERSION= 0.9.1
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://dev.inversepath.com/tenshi/
MAINTAINER= jadawin@FreeBSD.org
COMMENT= Tenshi is a log monitoring program, designed to watch multiple logs
RUN_DEPENDS= ${LOCALBASE}/bin/gtail:${PORTSDIR}/sysutils/coreutils
MAN8= tenshi.8
USE_PERL5= yes
NO_BUILD= yes
USE_RC_SUBR= tenshi.sh
SUB_LIST= PERL=${PERL}
PLIST_FILES= bin/tenshi etc/tenshi.conf.sample
MAN8= tenshi.8
PORTDOCS= README Changelog
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
RUN_DEPENDS+= ${SITE_PERL}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net
.endif
post-patch:
@${PERL5} -pi.bak -e ' \
s"/usr/bin/perl"${PERL}" if $$. == 1; \
s"/etc/tenshi/tenshi\.conf"${PREFIX}/etc/tenshi.conf"; \
s"/usr/bin/tail"${LOCALBASE}/bin/gtail"; \
' ${WRKSRC}/tenshi
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/tenshi ${PREFIX}/bin
@${INSTALL_DATA} ${WRKSRC}/tenshi.conf ${PREFIX}/etc/tenshi.conf.sample
@${INSTALL_MAN} ${WRKSRC}/tenshi.8 ${MAN8PREFIX}/man/man8
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@for doc in ${PORTDOCS}; do \
${INSTALL_DATA} ${WRKSRC}/$$doc ${DOCSDIR}; \
done
.endif
.include <bsd.port.post.mk>