diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-02 14:12:49 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-02 14:12:49 +0000 |
commit | 3906b652efb1507156e21e0cbe97a51e49f6fd5f (patch) | |
tree | 3cfaacb369e39a919445c0ad5b36daffaddf490d /mail | |
parent | - Fix shebangs (diff) |
- Switch to options helpers
Approved by: portmgr blanket
Notes
Notes:
svn path=/head/; revision=395846
Diffstat (limited to 'mail')
-rw-r--r-- | mail/wmbiff/Makefile | 15 |
1 files changed, 5 insertions, 10 deletions
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 <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> |