From 3bd6414fce3a819f3bea1c24e951d2aeb867492a Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Wed, 2 Sep 2015 14:12:49 +0000 Subject: - Switch to options helpers Approved by: portmgr blanket --- mail/wmbiff/Makefile | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'mail') diff --git a/mail/wmbiff/Makefile b/mail/wmbiff/Makefile index 270bcab10e5b..b247e99b432d 100644 --- a/mail/wmbiff/Makefile +++ b/mail/wmbiff/Makefile @@ -27,20 +27,15 @@ PLIST_FILES= bin/wmbiff \ %%DATADIR%%/skins/wmbiff-master-contrast.xpm \ %%DATADIR%%/skins/wmbiff-master-led.xpm -.include - -.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 +.include -- cgit