summaryrefslogtreecommitdiff
path: root/mail/grepmail/Makefile
blob: 231906f677ea885cdab86aa8dce96901cd469032 (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
# $NetBSD: Makefile,v 1.1.1.1 1999/06/08 12:01:13 bad Exp $
#

DISTNAME=	grepmail-3.8
CATEGORIES=	mail
MASTER_SITES=	http://www.cs.virginia.edu/~dwc3q/code/

MAINTAINER=	david@fundy.net
HOMEPAGE=	http://www.cs.virginia.edu/~dwc3q/code/index.html

CONFIGURE_ENV=	PERL=${PREFIX}/bin/perl

USE_PERL5=	yes

do-configure:
	@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl specialize grepmail.in < /dev/null

do-build:
	@cd ${WRKSRC} && \
	${SED} -e '1s,.*,#!'${PREFIX}/bin/perl',' grepmail >grepmail.perl && \
	${MV} -f grepmail.perl grepmail
	@echo Build done.

do-install:
	@${INSTALL_SCRIPT} ${WRKSRC}/grepmail ${PREFIX}/bin

.include "../../mk/bsd.pkg.mk"