2018-12-30 20:43:00 +01:00
|
|
|
PORTNAME= yubikey-manager-qt
|
|
|
|
DISTVERSIONPREFIX= yubikey-manager-qt-
|
2021-03-24 20:26:50 +01:00
|
|
|
DISTVERSION= 1.2.0
|
2021-06-19 22:16:08 +02:00
|
|
|
PORTREVISION= 1
|
2018-12-30 20:43:00 +01:00
|
|
|
CATEGORIES= security
|
|
|
|
|
|
|
|
MAINTAINER= daniel@shafer.cc
|
|
|
|
COMMENT= Cross-platform application for configuring any YubiKey
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://developers.yubico.com/yubikey-manager-qt/
|
2018-12-30 20:43:00 +01:00
|
|
|
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yubikey-manager>0:security/py-yubikey-manager@${PY_FLAVOR} \
|
|
|
|
pyotherside-qt5>0:devel/pyotherside-qt5
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yubikey-manager>0:security/py-yubikey-manager@${PY_FLAVOR} \
|
|
|
|
pyotherside-qt5>0:devel/pyotherside-qt5
|
|
|
|
|
2019-03-12 05:35:44 +01:00
|
|
|
USES= compiler:c++11-lang gl pkgconfig python:3.5+ qt:5 qmake \
|
|
|
|
shebangfix
|
2018-12-30 20:43:00 +01:00
|
|
|
USE_GL= gl
|
|
|
|
USE_QT= core declarative graphicaleffects gui network quickcontrols \
|
2022-09-11 12:20:14 +02:00
|
|
|
quickcontrols2 svg widgets buildtools:build
|
2018-12-30 20:43:00 +01:00
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= Yubico
|
|
|
|
|
|
|
|
SHEBANG_FILES= ykman-gui/py/yubikey.py \
|
|
|
|
ykman-cli/test.py \
|
|
|
|
ykman-cli/py/cli.py \
|
|
|
|
build_qrc.py
|
|
|
|
|
|
|
|
PLIST_FILES= bin/ykman-gui \
|
|
|
|
share/applications/ykman-gui.desktop \
|
|
|
|
share/pixmaps/ykman.png
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@${REINPLACE_CMD} -e '/system/s|python|${PYTHON_CMD}|g' ${WRKSRC}/ykman-gui/ykman-gui.pro \
|
|
|
|
${WRKSRC}/ykman-cli/ykman-cli.pro
|
|
|
|
@${REINPLACE_CMD} -e 's|/usr/bin/ykman-gui|${PREFIX}/bin/ykman-gui|g' ${WRKSRC}/resources/linux/AppRun
|
|
|
|
@${REINPLACE_CMD} -e 's|target.path = /usr/bin|target.path = ${PREFIX}/bin|g' ${WRKSRC}/ykman-gui/deployment.pri
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/resources/ykman-gui.desktop ${STAGEDIR}${PREFIX}/share/applications
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/resources/icons/ykman.png ${STAGEDIR}${PREFIX}/share/pixmaps
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|