summaryrefslogtreecommitdiff
path: root/sysutils/p5-Tail-Stat/Makefile
blob: e306bec4b5215e09e1a981402eb0f5016e6d3892 (plain) (blame)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Created by: Oleg A. Mamontov <oleg@mamontov.net>
# $FreeBSD$

PORTNAME=	Tail-Stat
PORTVERSION=	0.21
CATEGORIES=	sysutils perl5
MASTER_SITES=	CPAN
MASTER_SITE_SUBDIR=	CPAN:LONERR
PKGNAMEPREFIX=	p5-

MAINTAINER=	oleg@mamontov.net
COMMENT=	Real-time log statistics server

LICENSE=	ART10 GPLv1
LICENSE_COMB=	dual

BUILD_DEPENDS=	p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime \
		p5-JSON-XS>=0:${PORTSDIR}/converters/p5-JSON-XS \
		p5-Log-Dispatch>=2.26:${PORTSDIR}/devel/p5-Log-Dispatch \
		p5-POE>=0:${PORTSDIR}/devel/p5-POE \
		p5-Pid-File-Flock>=0:${PORTSDIR}/devel/p5-Pid-File-Flock \
		p5-Sys-Syslog>=0.16:${PORTSDIR}/sysutils/p5-Sys-Syslog \
		p5-Tie-Hash-Indexed>=0:${PORTSDIR}/devel/p5-Tie-Hash-Indexed
RUN_DEPENDS:=	${BUILD_DEPENDS}
TEST_DEPENDS=	p5-Test-TCP>=0:${PORTSDIR}/devel/p5-Test-TCP

USES=		perl5
USE_PERL5=	configure

USE_RC_SUBR=	tstatd
SUB_LIST+=	RC_SUBR_SUFFIX=${RC_SUBR_SUFFIX}

MAN1=		tstatd.1

MAN3=		Tail::Stat.3 \
		Tail::Stat::Plugin.3 \
		Tail::Stat::Plugin::apache.3 \
		Tail::Stat::Plugin::clamd.3 \
		Tail::Stat::Plugin::cvsupd.3 \
		Tail::Stat::Plugin::icecast.3 \
		Tail::Stat::Plugin::nginx.3 \
		Tail::Stat::Plugin::spamd.3

post-install:
	@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

.include <bsd.port.mk>