summaryrefslogtreecommitdiff
path: root/benchmarks/postal/Makefile
blob: 0fa7d496a8ae2a02297d8e2a04467234e555ce72 (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
# ex:ts=8
# New ports collection makefile for:	postal
# Date created:			Apr 2, 2001
# Whom:				Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	postal
PORTVERSION=	0.72
CATEGORIES=	benchmarks mail
MASTER_SITES=	http://www.coker.com.au/postal/
EXTRACT_SUFX=	.tgz

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Benchmark SMTP/POP servers

LICENSE=	GPLv3

OPTIONS_DEFINE=	SSL
OPTIONS_DEFAULT=	SSL

USE_OPENSSL=	yes
GNU_CONFIGURE=	yes
USE_GMAKE=	yes
MAKE_JOBS_SAFE=	yes

PLIST_FILES=	sbin/bhm sbin/postal bin/postal-list sbin/rabid

MAN1=	postal-list.1
MAN8=	bhm.8 postal.8 rabid.8

.include <bsd.port.options.mk>

CONFIGURE_ARGS=	--disable-gnutls

.if empty(PORT_OPTIONS:MSSL)
CONFIGURE_ARGS+=	--disable-openssl
.endif

CFLAGS+=	${PTHREAD_CFLAGS} -Wno-long-long
LDFLAGS+=	${PTHREAD_LIBS}

.include <bsd.port.mk>