2013-08-31 01:09:24 +02:00
|
|
|
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
2001-04-02 08:23:50 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= postal
|
2012-01-25 09:55:59 +01:00
|
|
|
PORTVERSION= 0.72
|
2001-04-02 08:23:50 +02:00
|
|
|
CATEGORIES= benchmarks mail
|
|
|
|
MASTER_SITES= http://www.coker.com.au/postal/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2012-02-26 13:10:28 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 12:08:38 +01:00
|
|
|
COMMENT= Benchmark SMTP/POP servers
|
2001-04-02 08:23:50 +02:00
|
|
|
|
2011-03-21 22:01:55 +01:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2012-06-01 15:18:21 +02:00
|
|
|
OPTIONS_DEFINE= SSL
|
|
|
|
OPTIONS_DEFAULT= SSL
|
2008-08-21 20:51:39 +02:00
|
|
|
|
2013-08-31 01:09:24 +02:00
|
|
|
USES= gmake
|
2014-01-25 17:49:55 +01:00
|
|
|
USE_GCC= any
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --disable-gnutls
|
2003-10-29 04:35:54 +01:00
|
|
|
|
2014-01-25 17:49:55 +01:00
|
|
|
PLIST_FILES= sbin/bhm sbin/postal bin/postal-list sbin/rabid \
|
|
|
|
man/man1/postal-list.1.gz man/man8/bhm.8.gz \
|
|
|
|
man/man8/postal.8.gz man/man8/rabid.8.gz
|
2007-02-06 18:06:07 +01:00
|
|
|
|
2012-06-01 15:18:21 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2001-04-02 08:23:50 +02:00
|
|
|
|
2014-01-25 17:49:55 +01:00
|
|
|
.if ${PORT_OPTIONS:MSSL}
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
.else
|
2008-08-21 20:51:39 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-openssl
|
|
|
|
.endif
|
|
|
|
|
2014-01-25 17:49:55 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|-lpthread|-pthread|' ${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|-O2 -g|| ; \
|
|
|
|
s|-lstdc|$${LDFLAGS}|' ${WRKSRC}/Makefile.in
|
2001-04-02 08:23:50 +02:00
|
|
|
|
2012-06-01 15:18:21 +02:00
|
|
|
.include <bsd.port.mk>
|