1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

Use new options helpers

This commit is contained in:
Bryan Drewery 2013-06-15 13:11:11 +00:00
parent 14a769e8ca
commit db2fbeba1f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=320995

View File

@ -14,8 +14,10 @@ MAINTAINER= bdrewery@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: