summaryrefslogtreecommitdiff
path: root/benchmarks/postal/Makefile
blob: 55264b56a87eb8c48cf6afcfe766560f899bf1b5 (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
# 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

LICENSE=	GPLv3

OPTIONS=	SSL "Build with OpenSSL support" on

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.pre.mk>

CONFIGURE_ARGS=	--disable-gnutls

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

CFLAGS+=	${PTHREAD_CFLAGS}
LDFLAGS+=	${PTHREAD_LIBS}

.include <bsd.port.post.mk>