aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/postal/Makefile
blob: 04b753d2f06cdc8b59c87f708b68f1024adbf339 (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
# Created by: 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
USES=       gmake

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

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

NO_STAGE=   yes
.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>