mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
- Change maintainer email to @FreeBSD.org
- Add stage support - Use options helpers - Convert LIB_DEPENDS to new syntax Approved by: wg (mentor)
This commit is contained in:
parent
8dc78a8cbe
commit
c81b5b1a83
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328760
@ -7,7 +7,7 @@ PORTREVISION= 1
|
|||||||
CATEGORIES= mail
|
CATEGORIES= mail
|
||||||
MASTER_SITES= http://software.klolik.org/smtp-gated/files/
|
MASTER_SITES= http://software.klolik.org/smtp-gated/files/
|
||||||
|
|
||||||
MAINTAINER= danilogondolfo@gmail.com
|
MAINTAINER= danilo@FreeBSD.org
|
||||||
COMMENT= Proxy for SMTP sessions with virus and spam scan
|
COMMENT= Proxy for SMTP sessions with virus and spam scan
|
||||||
|
|
||||||
LICENSE= GPLv2
|
LICENSE= GPLv2
|
||||||
@ -23,32 +23,15 @@ GNU_CONFIGURE= yes
|
|||||||
CPPFLAGS+= -I${LOCALBASE}/include
|
CPPFLAGS+= -I${LOCALBASE}/include
|
||||||
LDFLAGS+= -L${LOCALBASE}/lib
|
LDFLAGS+= -L${LOCALBASE}/lib
|
||||||
|
|
||||||
MAN5= smtp-gated.conf.5
|
PLIST_FILES= sbin/smtp-gated \
|
||||||
MAN8= smtp-gated.8
|
man/man5/smtp-gated.conf.5.gz \
|
||||||
PLIST_FILES= sbin/smtp-gated
|
man/man8/smtp-gated.8.gz
|
||||||
|
|
||||||
NO_STAGE= yes
|
NAT_CONFIGURE_ENABLE= nat
|
||||||
.include <bsd.port.options.mk>
|
CHUNKING_CONFIGURE_ENABLE= chunking
|
||||||
|
ECONNRESET_CONFIGURE_ENABLE= silent-econnreset
|
||||||
.if ${PORT_OPTIONS:MNAT}
|
PCRE_CONFIGURE_OFF= --disable-pcre
|
||||||
CONFIGURE_ARGS+= --enable-nat
|
PCRE_LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
|
||||||
.else
|
|
||||||
CONFIGURE_ARGS+= --disable-nat
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MCHUNKING}
|
|
||||||
CONFIGURE_ARGS+= --enable-chunking
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MECONNRESET}
|
|
||||||
CONFIGURE_ARGS+= --enable-silent-econnreset
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MPCRE}
|
|
||||||
LIB_DEPENDS+= pcre:${PORTSDIR}/devel/pcre
|
|
||||||
.else
|
|
||||||
CONFIGURE_ARGS+= --disable-pcre
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user