aboutsummaryrefslogtreecommitdiffstats
path: root/mail/p5-Net-SMTP-Server/Makefile
blob: 46cfed9e9e3e3e6efb753ce1620161b40396e05d (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-SMTP-Server
# Date created:                22 March 2002
# Whom:                        Kimura Fuyuki <fuyuki@mj.0038.net>
#
# $FreeBSD$
#

PORTNAME=   Net-SMTP-Server
PORTVERSION=    1.1
CATEGORIES= mail perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Net
PKGNAMEPREFIX=  p5-
DISTNAME=   SMTP-Server-${PORTVERSION}

MAINTAINER= erwin@FreeBSD.org
COMMENT=    A native Perl SMTP Server

BUILD_DEPENDS=  ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/DNS.pm:${PORTSDIR}/net/p5-Net-DNS
RUN_DEPENDS=    ${BUILD_DEPENDS}

MASTER_SITE_BACKUP+=    http://www.macgyver.org/software/perl/

PERL_CONFIGURE= yes

MAN3=       Net::SMTP::Server.3 \
        Net::SMTP::Server::Client.3 \
        Net::SMTP::Server::Relay.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500800
BUILD_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net
RUN_DEPENDS+=   ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net
.endif

.include <bsd.port.post.mk>