summaryrefslogtreecommitdiff
path: root/sysutils/wots/Makefile
blob: 5e685d796f9d98e98de8a70e1d9d4438337aeec2 (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
# New ports collection makefile for:	WOTS
# Date created:				26-Nov-2001
# Whom:					Bruce M Simpson <bms@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	wots
PORTVERSION=	1.22
PORTREVISION=	1
CATEGORIES=	sysutils security
MASTER_SITES=	http://www.hpcc.uh.edu/~tonyc/tools/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	System log watch/alert utility, similar to swatch, written in Perl

BUILD_DEPENDS=	${SITE_PERL}/Mail/Send.pm:${PORTSDIR}/mail/p5-Mail-Tools \
		${SITE_PERL}/Term/ANSIColor.pm:${PORTSDIR}/devel/p5-Term-ANSIColor
RUN_DEPENDS:=	${BUILD_DEPENDS}

USE_PERL5=	yes
HAS_CONFIGURE=	yes
CONFIGURE_SCRIPT=	Configure
CONFIGURE_ARGS+=	--perl=${PERL}
NO_BUILD=	yes

MAN1=		wots.1
PLIST_FILES=	bin/wots

post-extract:
	@${CHMOD} a+x ${WRKSRC}/Configure

post-patch:
	@${REINPLACE_CMD} -i '' -e 's/5.00\[4/5.0[01][04/' \
		${WRKSRC}/Configure
	@${REINPLACE_CMD} -i '' -e 's=/usr/local=${PREFIX}=; s=/usr/bin/perl=${PERL}=' \
		${WRKSRC}/Make.config

.include <bsd.port.mk>