aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Parse-Syslog/Makefile
blob: 21c7a6efe3fae72e51250b0394d6ead7eb0d3bf5 (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
# New ports collection makefile for:	p5-Parse-Syslog
# Date created:				27 August 2001
# Whom:					Stephen Roznowski (sjr@home.com)
#
# $FreeBSD$
#

PORTNAME=	Parse-Syslog
PORTVERSION=	1.09
CATEGORIES=	textproc perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Parse
PKGNAMEPREFIX=	p5-

MAINTAINER=	erwin@FreeBSD.org
COMMENT=	Perl5 routines that present a simple interface to parse syslog files

BUILD_DEPENDS=	${SITE_PERL}/IO/Scalar.pm:${PORTSDIR}/devel/p5-IO-stringy

PERL_CONFIGURE=	yes

MAN3=		Parse::Syslog.3

.include <bsd.port.pre.mk>

# requires Time::Local 1.07_94
.if ${PERL_LEVEL} < 500800
BUILD_DEPENDS+=	${SITE_PERL}/Time/Local.pm:${PORTSDIR}/devel/p5-Time-Local
RUN_DEPENDS+=	${SITE_PERL}/Time/Local.pm:${PORTSDIR}/devel/p5-Time-Local
.endif

.if ${PERL_LEVEL} < 500600
post-configure:
	${PERL} -pi -e 's/-I\S+PERL\S+ //g if m{PERL_DL_NONLAZY}' ${WRKSRC}/Makefile
.endif

.include <bsd.port.post.mk>