# $NetBSD: Makefile,v 1.47 2021/12/08 16:06:09 adam Exp $ DISTNAME= wpa_supplicant-2.6 PKGNAME= ${DISTNAME:S/supplicant/gui/} PKGREVISION= 18 CATEGORIES= net MASTER_SITES= http://hostap.epitest.fi/releases/ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://hostap.epitest.fi/wpa_supplicant/ COMMENT= QT GUI for wpa_supplicant(8) LICENSE= gnu-gpl-v2 USE_LANGUAGES= c c++ BUILD_DIRS= wpa_supplicant BUILD_TARGET= wpa_gui-qt4 USE_TOOLS+= gmake LRELEASE= ${QTDIR}/bin/lrelease MAKE_ENV+= LRELEASE=${LRELEASE} QMAKE= ${QTDIR}/bin/qmake MAKE_ENV+= QMAKE=${QMAKE} INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/wpa_supplicant/wpa_gui-qt4/wpa_gui \ ${DESTDIR}${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/wpa_supplicant/doc/docbook/wpa_gui.8 \ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/ .include "../../x11/qt5-qtbase/buildlink3.mk" .include "../../x11/qt5-qtsvg/buildlink3.mk" BUILDLINK_DEPMETHOD.qt5-qttools= build .include "../../x11/qt5-qttools/buildlink3.mk" .include "../../mk/bsd.pkg.mk"