aboutsummaryrefslogtreecommitdiff
path: root/mail/wmbiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-02 14:12:49 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-02 14:12:49 +0000
commit3906b652efb1507156e21e0cbe97a51e49f6fd5f (patch)
tree3cfaacb369e39a919445c0ad5b36daffaddf490d /mail/wmbiff
parent0b82e61ba993fe4e2eee9571b6569646a11215e9 (diff)
downloadports-3906b652efb1507156e21e0cbe97a51e49f6fd5f.tar.gz
ports-3906b652efb1507156e21e0cbe97a51e49f6fd5f.zip
- Switch to options helpers
Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=395846
Diffstat (limited to 'mail/wmbiff')
-rw-r--r--mail/wmbiff/Makefile15
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>