summaryrefslogtreecommitdiff
path: root/benchmarks/postal/Makefile
blob: 06b800c00adaff739dabb7930dba96f0a806eabc (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
# 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.70
CATEGORIES=	benchmarks mail
MASTER_SITES=	http://www.coker.com.au/postal/
EXTRACT_SUFX=	.tgz

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

OPTIONS=	SSL "Build with OpenSSL support" on

USE_OPENSSL=	yes
GNU_CONFIGURE=	yes
USE_GMAKE=	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.pre.mk>

CONFIGURE_ARGS=	--disable-gnutls

.if !defined(WITH_SSL)
CONFIGURE_ARGS+=	--disable-openssl
.endif

CFLAGS+=	${PTHREAD_CFLAGS}
LDFLAGS+=	${PTHREAD_LIBS}
CONFIGURE_ENV+=	CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"

.include <bsd.port.post.mk>