Date: Sun, 18 Jun 2017 13:16:52 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r443827 - head/security/ophcrack Message-ID: <201706181316.v5IDGqKt054657@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Sun Jun 18 13:16:52 2017 New Revision: 443827 URL: https://svnweb.freebsd.org/changeset/ports/443827 Log: Finish conversion to option helpers. Modified: head/security/ophcrack/Makefile Modified: head/security/ophcrack/Makefile ============================================================================== --- head/security/ophcrack/Makefile Sun Jun 18 12:20:01 2017 (r443826) +++ head/security/ophcrack/Makefile Sun Jun 18 13:16:52 2017 (r443827) @@ -22,23 +22,16 @@ PORTDOCS= AUTHORS ChangeLog README.md OPTIONS_DEFINE= X11 GRAPH DOCS OPTIONS_DEFAULT= X11 GRAPH +GRAPH_IMPLIES= X11 X11_DESC= Build Qt 4 GUI frontend GRAPH_DESC= Enable graph rendering via Qwt -.include <bsd.port.options.mk> +X11_USE= QT4=moc_build,qmake_build,rcc_build,uic_build,corelib,gui +X11_CONFIGURE_OFF= --disable-gui -.if ${PORT_OPTIONS:MX11} || ${PORT_OPTIONS:MGRAPH} -USE_QT4= moc_build qmake_build rcc_build uic_build corelib gui -.else -CONFIGURE_ARGS+= --disable-gui -.endif - -.if ${PORT_OPTIONS:MGRAPH} -LIB_DEPENDS+= libqwt.so:x11-toolkits/qwt5 -.else -CONFIGURE_ARGS+= --disable-graph -.endif +GRAPH_LIB_DEPENDS= libqwt.so:x11-toolkits/qwt5 +GRAPH_CONFIGURE_OFF= --disable-graph post-patch: @${REINPLACE_CMD} -E '/#include <byteswap\.h>/d ; \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706181316.v5IDGqKt054657>