aboutsummaryrefslogtreecommitdiffstats
path: root/mail/nbsmtp/Makefile
blob: bf5124b906f081cdfde308729c43d4423fa7cc64 (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=   CRITICAL

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

GNU_CONFIGURE=  yes
MAKE_JOBS_SAFE= yes

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>