2001-04-02 08:23:50 +02:00
|
|
|
PORTNAME= postal
|
2014-03-11 03:36:27 +01:00
|
|
|
PORTVERSION= 0.73
|
2016-03-27 16:57:59 +02:00
|
|
|
PORTREVISION= 3
|
2001-04-02 08:23:50 +02:00
|
|
|
CATEGORIES= benchmarks mail
|
|
|
|
MASTER_SITES= http://www.coker.com.au/postal/
|
|
|
|
|
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
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://www.coker.com.au/postal/
|
2001-04-02 08:23:50 +02:00
|
|
|
|
2011-03-21 22:01:55 +01:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2014-07-29 21:11:51 +02:00
|
|
|
USES= gmake tar:tgz
|
2014-01-25 17:49:55 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2001-04-02 08:23:50 +02:00
|
|
|
|
2014-03-11 03:36:27 +01:00
|
|
|
PLIST_FILES= bin/postal-list \
|
|
|
|
man/man1/postal-list.1.gz \
|
|
|
|
man/man8/bhm.8.gz \
|
|
|
|
man/man8/postal.8.gz \
|
|
|
|
man/man8/rabid.8.gz \
|
|
|
|
sbin/bhm \
|
|
|
|
sbin/postal \
|
|
|
|
sbin/rabid
|
|
|
|
|
|
|
|
OPTIONS_RADIO= TLS
|
|
|
|
OPTIONS_RADIO_TLS= GNUTLS OPENSSL
|
|
|
|
OPTIONS_DEFAULT= OPENSSL
|
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
|
2014-03-11 03:36:27 +01:00
|
|
|
GNUTLS_USES= pkgconfig
|
|
|
|
GNUTLS_CONFIGURE_OFF= --disable-gnutls
|
|
|
|
GNUTLS_CPPFLAGS= $$(pkg-config --cflags gnutls)
|
|
|
|
GNUTLS_LDFLAGS= $$(pkg-config --libs gnutls)
|
2017-03-15 15:45:54 +01:00
|
|
|
OPENSSL_USES= ssl
|
2014-03-11 03:36:27 +01:00
|
|
|
OPENSSL_CONFIGURE_OFF= --disable-openssl
|
2016-11-05 15:16:28 +01:00
|
|
|
OPENSSL_CPPFLAGS= -I${OPENSSLINC}
|
|
|
|
OPENSSL_LDFLAGS= -L${OPENSSLLIB}
|
2008-08-21 20:51:39 +02:00
|
|
|
|
2014-01-25 17:49:55 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
2014-03-11 03:36:27 +01:00
|
|
|
's|-lpthread|-pthread| ; \
|
|
|
|
s|-lgcrypt||' ${WRKSRC}/configure
|
2014-01-25 17:49:55 +01:00
|
|
|
@${REINPLACE_CMD} -e \
|
2014-03-11 03:36:27 +01:00
|
|
|
's|-pedantic|| ; \
|
|
|
|
s|-O2 -g|$$(CPPFLAGS)| ; \
|
|
|
|
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>
|