mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
c81b5b1a83
- Add stage support - Use options helpers - Convert LIB_DEPENDS to new syntax Approved by: wg (mentor)
43 lines
1.0 KiB
Makefile
43 lines
1.0 KiB
Makefile
# Created by: msciciel
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= smtp-gated
|
|
PORTVERSION= 1.4.20.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://software.klolik.org/smtp-gated/files/
|
|
|
|
MAINTAINER= danilo@FreeBSD.org
|
|
COMMENT= Proxy for SMTP sessions with virus and spam scan
|
|
|
|
LICENSE= GPLv2
|
|
|
|
OPTIONS_DEFINE= NAT CHUNKING ECONNRESET PCRE
|
|
OPTIONS_DEFAULT= NAT PCRE
|
|
NAT_DESC= NAT transparent proxy code
|
|
CHUNKING_DESC= Enable support for SMTP CHUNKING extension
|
|
ECONNRESET_DESC= Be quiet about Connection reset by peer message
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
PLIST_FILES= sbin/smtp-gated \
|
|
man/man5/smtp-gated.conf.5.gz \
|
|
man/man8/smtp-gated.8.gz
|
|
|
|
NAT_CONFIGURE_ENABLE= nat
|
|
CHUNKING_CONFIGURE_ENABLE= chunking
|
|
ECONNRESET_CONFIGURE_ENABLE= silent-econnreset
|
|
PCRE_CONFIGURE_OFF= --disable-pcre
|
|
PCRE_LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "powerpc"
|
|
BROKEN= Does not compile on powerpc: cannot determine endianness
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|