Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Sep 2015 14:12:50 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r395846 - head/mail/wmbiff
Message-ID:  <201509021412.t82ECoao042783@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Sep  2 14:12:49 2015
New Revision: 395846
URL: https://svnweb.freebsd.org/changeset/ports/395846

Log:
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Modified:
  head/mail/wmbiff/Makefile

Modified: head/mail/wmbiff/Makefile
==============================================================================
--- head/mail/wmbiff/Makefile	Wed Sep  2 14:12:13 2015	(r395845)
+++ head/mail/wmbiff/Makefile	Wed Sep  2 14:12:49 2015	(r395846)
@@ -27,20 +27,15 @@ PLIST_FILES=	bin/wmbiff \
 		%%DATADIR%%/skins/wmbiff-master-contrast.xpm \
 		%%DATADIR%%/skins/wmbiff-master-led.xpm
 
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MGNUTLS}
-LIB_DEPENDS+=	libgcrypt.so:${PORTSDIR}/security/libgcrypt \
-		libgnutls.so:${PORTSDIR}/security/gnutls
-CONFIGURE_ARGS+=	--with-libgnutls-prefix=${LOCALBASE} \
+GNUTLS_LIB_DEPENDS=	libgcrypt.so:${PORTSDIR}/security/libgcrypt \
+			libgnutls.so:${PORTSDIR}/security/gnutls
+GNUTLS_CONFIGURE_ON=	--with-libgnutls-prefix=${LOCALBASE} \
 			--with-libgcrypt-prefix=${LOCALBASE}
-.else
-CONFIGURE_ARGS+=	--disable-crypto
-.endif
+GNUTLS_CONFIGURE_OFF=	--disable-crypto
 
 post-install:
 	@${ECHO_MSG} "===>   Installing sample.wmbiffrc to ${DATADIR}"
 	@${ECHO_MSG} "===>   Modify it to suit your needs and copy to ~/.wmbiffrc"
 	${INSTALL_DATA} ${WRKSRC}/wmbiff/sample.wmbiffrc ${STAGEDIR}${DATADIR}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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