diff options
author | danilo <danilo@FreeBSD.org> | 2013-09-30 07:36:27 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2013-09-30 07:36:27 +0800 |
commit | 30d2e233207f177162dd2c112cc3818138179dcd (patch) | |
tree | 51380dfa14815095c4d19b530e80ee39d8ac108a | |
parent | a119dca8e3f8e7b486167a51feda3f29f113aefd (diff) | |
download | freebsd-ports-gnome-30d2e233207f177162dd2c112cc3818138179dcd.tar.gz freebsd-ports-gnome-30d2e233207f177162dd2c112cc3818138179dcd.tar.zst freebsd-ports-gnome-30d2e233207f177162dd2c112cc3818138179dcd.zip |
- Change maintainer email to @FreeBSD.org
- Add stage support
- Use options helpers
- Convert LIB_DEPENDS to new syntax
Approved by: wg (mentor)
-rw-r--r-- | mail/smtp-gated/Makefile | 35 |
1 files changed, 9 insertions, 26 deletions
diff --git a/mail/smtp-gated/Makefile b/mail/smtp-gated/Makefile index a7cee1237a3e..31c640eb1cf6 100644 --- a/mail/smtp-gated/Makefile +++ b/mail/smtp-gated/Makefile @@ -7,7 +7,7 @@ PORTREVISION= 1 CATEGORIES= mail 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 LICENSE= GPLv2 @@ -23,32 +23,15 @@ GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -MAN5= smtp-gated.conf.5 -MAN8= smtp-gated.8 -PLIST_FILES= sbin/smtp-gated +PLIST_FILES= sbin/smtp-gated \ + man/man5/smtp-gated.conf.5.gz \ + man/man8/smtp-gated.8.gz -NO_STAGE= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MNAT} -CONFIGURE_ARGS+= --enable-nat -.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 +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> |