svn commit: r395846 - head/mail/wmbiff
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Sep 2 14:12:50 UTC 2015
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>
More information about the svn-ports-all
mailing list