summaryrefslogtreecommitdiff
path: root/mail/p5-Mail-Tools/Makefile
blob: 404a3d60880943f2f26f3fd3b1f6e732c445084b (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
# New ports collection makefile for:	p5-Mail-Tools
# Version required:			1.06
# Date created:				October 24th 1996
# Whom:	      				James FitzGibbon <jfitz@FreeBSD.org>
#
#   $Id: Makefile,v 1.2 1996/10/24 09:58:34 jfitz Exp $
#

DISTNAME=	MailTools-1.06
PKGNAME=	p5-Mail-Tools-1.06
CATEGORIES+=	mail
MASTER_SITES=	ftp://ftp.digital.com/pub/plan/perl/CPAN/modules/by-module/Mail/ \
		ftp://ftp.cdrom.com/pub/perl/CPAN/modules/by-module/Mail/ \
		ftp://ftp.cis.ufl.edu/pub/perl/CPAN/modules/by-module/Mail/ \
		ftp://ftp.leo.org/pub/comp/programming/languages/perl/CPAN/modules/by-module/Mail/ \
		ftp://ftp.demon.co.uk/pub/mirrors/perl/CPAN/modules/by-module/Mail/ \
		ftp://ftp.lab.kdd.co.jp/lang/perl/CPAN/modules/by-module/Mail/

MAINTAINER=	jfitz@FreeBSD.ORG

BUILD_DEPENDS= 	perl5.003:${PORTSDIR}/lang/perl5 \
		${PREFIX}/lib/perl5/site_perl/Net/SMTP.pm:${PORTSDIR}/net/p5-Net \
		${PREFIX}/lib/perl5/site_perl/Net/Domain.pm:${PORTSDIR}/net/p5-Net

RUN_DEPENDS=	perl5.003:${PORTSDIR}/lang/perl5

do-configure:
		@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL

post-install:
.if !defined(NOMANCOMPRESS)
		@ for file in Mail::Address Mail::Cap Mail::Field Mail::Header Mail::Internet Mail::MIME Mail::Mailer Mail::Send Mail::Util; do \
			gzip -9nf ${PREFIX}/lib/perl5/man/man3/$$file.3; \
		done
.endif
		
.include <bsd.port.mk>