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

PORTNAME=   grepmail
PORTVERSION=    4.30
CATEGORIES= mail
MASTER_SITES=   http://download.sourceforge.net/grepmail/

MAINTAINER= jedgar@FreeBSD.org

USE_PERL5=  yes
NO_BUILD=   yes
POD2MAN?=   /usr/bin/pod2man

MAN1=       grepmail.1

do-configure:
        @${PERL} -pi.orig -e 's|_PERL_|${PERL}|' ${WRKSRC}/grepmail.DP
        @cd ${WRKSRC} && ${CP} grepmail.DP grepmail
        @cd ${WRKSRC} && ${POD2MAN} grepmail > grepmail.1

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

.include <bsd.port.mk>