From owner-svn-ports-head@FreeBSD.ORG Mon Dec 10 22:06:46 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E58BB19E; Mon, 10 Dec 2012 22:06:46 +0000 (UTC) (envelope-from itetcu@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id CAD098FC08; Mon, 10 Dec 2012 22:06:46 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBAM6k2v022131; Mon, 10 Dec 2012 22:06:46 GMT (envelope-from itetcu@svn.freebsd.org) Received: (from itetcu@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBAM6kTw022128; Mon, 10 Dec 2012 22:06:46 GMT (envelope-from itetcu@svn.freebsd.org) Message-Id: <201212102206.qBAM6kTw022128@svn.freebsd.org> From: Ion-Mihai Tetcu Date: Mon, 10 Dec 2012 22:06:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r308643 - head/net/sendemail X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 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: Mon, 10 Dec 2012 22:06:47 -0000 Author: itetcu Date: Mon Dec 10 22:06:46 2012 New Revision: 308643 URL: http://svnweb.freebsd.org/changeset/ports/308643 Log: Convert to OPTIONSng. Modified: head/net/sendemail/Makefile (contents, props changed) Modified: head/net/sendemail/Makefile ============================================================================== --- head/net/sendemail/Makefile Mon Dec 10 21:58:15 2012 (r308642) +++ head/net/sendemail/Makefile Mon Dec 10 22:06:46 2012 (r308643) @@ -22,10 +22,13 @@ USE_PERL5_RUN= yes PLIST_FILES= bin/sendEmail PORTDOCS= CHANGELOG README TODO -OPTIONS= SSL "Enable SSL support" off +#OPTIONS= SSL "Enable SSL support" off +OPTIONS_DEFINE= SSL +OPTIONS_DEFINE= DOCS +SSL_DESC= SSL/TLS support for communicating with the SMTP server .include -.if defined(WITH_SSL) +.if ${PORT_OPTIONS:MSSL} RUN_DEPENDS+= p5-IO-Socket-SSL>=0:${PORTSDIR}/security/p5-IO-Socket-SSL RUN_DEPENDS+= p5-Crypt-SSLeay>=0:${PORTSDIR}/security/p5-Crypt-SSLeay .endif @@ -36,7 +39,7 @@ post-patch: do-install: cd ${WRKSRC} && ${INSTALL_SCRIPT} ${PORTNAME} ${PREFIX}/bin -.ifndef(NOPORTDOCS) +.if ! ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} CHANGELOG README TODO ${DOCSDIR} .endif