freebsd-ports/benchmarks/postal/Makefile

49 lines
1.1 KiB
Makefile
Raw Normal View History

PORTNAME= postal
PORTVERSION= 0.73
PORTREVISION= 3
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
WWW= https://www.coker.com.au/postal/
LICENSE= GPLv3
USES= gmake tar:tgz
GNU_CONFIGURE= yes
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
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
GNUTLS_USES= pkgconfig
GNUTLS_CONFIGURE_OFF= --disable-gnutls
GNUTLS_CPPFLAGS= $$(pkg-config --cflags gnutls)
GNUTLS_LDFLAGS= $$(pkg-config --libs gnutls)
OPENSSL_USES= ssl
OPENSSL_CONFIGURE_OFF= --disable-openssl
OPENSSL_CPPFLAGS= -I${OPENSSLINC}
OPENSSL_LDFLAGS= -L${OPENSSLLIB}
post-patch:
@${REINPLACE_CMD} -e \
's|-lpthread|-pthread| ; \
s|-lgcrypt||' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
's|-pedantic|| ; \
s|-O2 -g|$$(CPPFLAGS)| ; \
s|-lstdc++|$$(LDFLAGS)|' ${WRKSRC}/Makefile.in
2012-06-01 15:18:21 +02:00
.include <bsd.port.mk>