svn commit: r320995 - head/mail/serialmail

Bryan Drewery bdrewery at FreeBSD.org
Sat Jun 15 13:11:11 UTC 2013


Author: bdrewery
Date: Sat Jun 15 13:11:11 2013
New Revision: 320995
URL: http://svnweb.freebsd.org/changeset/ports/320995

Log:
  Use new options helpers

Modified:
  head/mail/serialmail/Makefile

Modified: head/mail/serialmail/Makefile
==============================================================================
--- head/mail/serialmail/Makefile	Sat Jun 15 12:41:52 2013	(r320994)
+++ head/mail/serialmail/Makefile	Sat Jun 15 13:11:11 2013	(r320995)
@@ -14,8 +14,10 @@ MAINTAINER=	bdrewery at FreeBSD.org
 COMMENT=	Tools for passing mail across serial links
 
 RUN_DEPENDS=	tcpserver:${PORTSDIR}/sysutils/ucspi-tcp
+UCSPI_SSL_RUN_DEPENDS=	sslclient:${PORTSDIR}/sysutils/ucspi-ssl
 
 USES=		qmail:run
+OPTIONS_SUB=	yes
 
 RESTRICTED=	Unsure of DJB license
 
@@ -40,12 +42,7 @@ PATCH_DIST_STRIP=	-p1
 .endif
 
 .if ${PORT_OPTIONS:MUCSPI_SSL}
-RUN_DEPENDS+=	sslclient:${PORTSDIR}/sysutils/ucspi-ssl
-
 MLINKS+=	maildirsmtp.1 maildirsmtps.1
-PLIST_SUB+=	UCSPI_SSL=""
-.else
-PLIST_SUB+=	UCSPI_SSL="@comment "
 .endif
 
 post-patch:


More information about the svn-ports-all mailing list