Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Sep 2013 23:36:27 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r328760 - head/mail/smtp-gated
Message-ID:  <201309292336.r8TNaRmu033652@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Sun Sep 29 23:36:27 2013
New Revision: 328760
URL: http://svnweb.freebsd.org/changeset/ports/328760

Log:
  - Change maintainer email to @FreeBSD.org
  - Add stage support
  - Use options helpers
  - Convert LIB_DEPENDS to new syntax
  
  Approved by:	wg (mentor)

Modified:
  head/mail/smtp-gated/Makefile

Modified: head/mail/smtp-gated/Makefile
==============================================================================
--- head/mail/smtp-gated/Makefile	Sun Sep 29 23:32:33 2013	(r328759)
+++ head/mail/smtp-gated/Makefile	Sun Sep 29 23:36:27 2013	(r328760)
@@ -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
-
-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
+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>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309292336.r8TNaRmu033652>