summaryrefslogtreecommitdiffstats
path: root/mail/nbsmtp/Makefile
blob: 7c56850d3e1b3ef00a4bf411eadf37caee70b02a (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# 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://www.gentoo-es.org/~ferdy/ \
		http://www.it.uc3m.es/~ferdy/nbsmtp/

MAINTAINER=	ehaupt@critical.ch
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>
OpenPOWER on IntegriCloud