summaryrefslogtreecommitdiff
path: root/mail/nbsmtp/Makefile
blob: 5819f22bad8875168e4007349d9b5ccec0f571cf (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
38
39
40
41
42
43
44
45
# New ports collection makefile for:	nbsmtp
# Date created:				5 May 2001
# Whom:					Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#
# WITH_SSL=yes  "Support for secure connection to mail server"
#

PORTNAME=	nbsmtp
PORTVERSION=	1.00
CATEGORIES=	mail
MASTER_SITES=	http://critical.ch/distfiles/

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	Simple program for outgoing SMTP delivery

GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

OPTIONS=	IPV6	"Support for IPv6 connections"			off \
		DEBUG	"Enable debug information (for developers)"	off \
		SSL	"Enable SSL support"				off

PLIST_FILES=	bin/nbsmtp

MAN5=		nbsmtprc.5
MAN8=		nbsmtp.8

.include <bsd.port.pre.mk>

.if defined(WITH_SSL)
.include "${PORTSDIR}/Mk/bsd.openssl.mk"
CONFIGURE_ARGS+=	--enable-ssl
.endif

.if !defined(WITHOUT_IPV6)
CONFIGURE_ARGS+=	--enable-ipv6
.endif

.if !defined(WITHOUT_DEBUG)
CONFIGURE_ARGS+=	--enable-debug
.endif

.include <bsd.port.post.mk>