Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Oct 2012 07:36:36 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305186 - head/mail/zmailer
Message-ID:  <201210030736.q937aaHi086811@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Wed Oct  3 07:36:35 2012
New Revision: 305186
URL: http://svn.freebsd.org/changeset/ports/305186

Log:
  - Convert to OptionsNG
  
  Notified by:	http://wiki.freebsd.org/Ports/Options/ConvertingToOptionsNG

Modified:
  head/mail/zmailer/Makefile   (contents, props changed)

Modified: head/mail/zmailer/Makefile
==============================================================================
--- head/mail/zmailer/Makefile	Wed Oct  3 06:41:21 2012	(r305185)
+++ head/mail/zmailer/Makefile	Wed Oct  3 07:36:35 2012	(r305186)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	zmailer
-# Date created:		4 January 1999
-# Whom:			Alex Perel <veers@disturbed.net>
-#
+# Created by: Alex Perel <veers@disturbed.net>
 # $FreeBSD$
-#
 
 PORTNAME=	zmailer
 PORTVERSION=	2.99.57
@@ -16,24 +12,25 @@ COMMENT=	Fully functional fast robust SM
 
 CONFLICTS=	courier-0.* postfix-1.* postfix-2.* sendmail-8.* sendmail-*-8.* smail-3.*
 
-OPTIONS=	SSL "Enable SSL support" ON
+OPTIONS_DEFINE=	SSL
+OPTIONS_DEFAULT=SSL
 
 GNU_CONFIGURE=	yes
 USE_PERL5=	yes
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.if ${OSVERSION} >= 900007
-EXTRA_PATCHES=	${FILESDIR}/extra-utmpx
-.endif
-
-.if defined(WITHOUT_SSL)
+.if ${PORT_OPTIONS:MSSL}
 CONFIGURE_ARGS=	--without-openssl
 .else
 .include "${PORTSDIR}/Mk/bsd.openssl.mk"
 CONFIGURE_ARGS=	--with-openssl
 .endif
 
+.if ${OSVERSION} >= 900007
+EXTRA_PATCHES=	${FILESDIR}/extra-utmpx
+.endif
+
 CONFIGURE_ARGS+=--prefix=${PREFIX}/ \
 		--with-mailbin=${PREFIX}/sbin \
 		--with-mailbox=/var/mail \
@@ -84,4 +81,4 @@ post-install:
 	@${ECHO_CMD} 'mydomain=$$orgdomain' >> ${PREFIX}/etc/zmailer/mail.conf.sample
 	@${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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