From owner-svn-ports-head@FreeBSD.ORG Wed Oct 3 07:36:36 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B6A9106566C; Wed, 3 Oct 2012 07:36:36 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5666E8FC08; Wed, 3 Oct 2012 07:36:36 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q937aaOo086813; Wed, 3 Oct 2012 07:36:36 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q937aaHi086811; Wed, 3 Oct 2012 07:36:36 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201210030736.q937aaHi086811@svn.freebsd.org> From: Pietro Cerutti Date: Wed, 3 Oct 2012 07:36:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r305186 - head/mail/zmailer X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Oct 2012 07:36:36 -0000 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 -# +# Created by: Alex Perel # $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 +.include -.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 +.include