Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2012 22:06:46 +0000 (UTC)
From:      Ion-Mihai Tetcu <itetcu@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308643 - head/net/sendemail
Message-ID:  <201212102206.qBAM6kTw022128@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk>
-.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



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