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

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

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

MAINTAINER= jedgar@FreeBSD.org

USE_PERL5=  yes

MAN1=       grepmail.1

do-configure:
        @${PERL} -pi.orig -e 's|_PERL_|${PERL}|' ${WRKSRC}/grepmail
        @cd ${WRKSRC} && ${PERL} Makefile.PL

do-install:
        ${INSTALL_SCRIPT} ${WRKSRC}/grepmail ${PREFIX}/bin
        ${INSTALL_MAN} ${WRKSRC}/blib/man1/grepmail.1 ${MANPREFIX}/man/man1

.include <bsd.port.mk>