aboutsummaryrefslogtreecommitdiffstats
path: root/mail/p5-Net-Server-Mail/Makefile
blob: 24d1c49bea57790d3a7b2905dca23cdc02e250f2 (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-Net-Server-Mail
# Date created:             6th February 2004
# Whom:                 Pav Lucistnik <pav@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   Net-Server-Mail
PORTVERSION=    0.13
CATEGORIES= mail perl5
MASTER_SITES=   ftp://ftp.rhapsodyk.net/pub/devel/perl/Net-Server-Mail/
PKGNAMEPREFIX=  p5-

MAINTAINER= pav@FreeBSD.org
COMMENT=    Implementation of SMTP, ESMTP and LMTP protocols

BUILD_DEPENDS=  ${SITE_PERL}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       Net::Server::Mail.3 \
        Net::Server::Mail::ESMTP.3 \
        Net::Server::Mail::ESMTP::Extension.3 \
        Net::Server::Mail::LMTP.3 \
        Net::Server::Mail::SMTP.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/IO/Socket/INET.pm:${PORTSDIR}/devel/p5-IO
EXTRA_PATCHES=  ${PATCHDIR}/5.005_03.diff
post-patch:
    @${FIND} ${WRKSRC} -name '*.orig' -delete
.endif

.include <bsd.port.post.mk>