summaryrefslogtreecommitdiffstats
path: root/mail/grepmail/Makefile
blob: e4a9d5a494ff1bdd976f1525c342879301da28ea (plain)
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
# New ports collection makefile for:	grepmail
# Date created:				20 November 1999
# Whom:					Chris D. Faulhaber <jedgar@fxp.org>
#
# $FreeBSD$
#

PORTNAME=	grepmail
PORTVERSION=	4.50
CATEGORIES=	mail
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	jedgar@FreeBSD.org

BUILD_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate
RUN_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate

PERL_CONFIGURE=	yes

MAN1=		grepmail.1

post-extract:
	# we don't want to build the FastReader module
	@${RM} -f ${WRKSRC}/FastReader/Makefile.PL

post-patch:
	@${PERL} -pi -e 's!<STDIN>!"n"!' ${WRKSRC}/Makefile.PL
	@${PERL} -pi -e 's|_PERL_|${PERL}|' ${WRKSRC}/grepmail

.include <bsd.port.mk>
OpenPOWER on IntegriCloud