# New ports collection makefile for:	nbsmtp
# Date created:				5 May 2001
# Whom:					Anders Nordby <anders@fix.no>
#
# $FreeBSD: ports/mail/nbsmtp/Makefile,v 1.16 2006/06/01 12:13:48 ehaupt Exp $
#
# WITH_SSL=yes  "Support for secure connection to mail server"
#

PORTNAME=	nbsmtp
PORTVERSION=	1.00
CATEGORIES=	mail
MASTER_SITES=	http://critical.ch/distfiles/ \
		http://energy.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>


syntax highlighted by Code2HTML, v. 0.9.1