2018-12-27 22:42:39 +01:00
|
|
|
PORTNAME= yubioath-desktop
|
|
|
|
DISTVERSIONPREFIX= yubioath-desktop-
|
2021-03-26 17:46:28 +01:00
|
|
|
DISTVERSION= 5.0.4
|
2021-06-19 22:16:08 +02:00
|
|
|
PORTREVISION= 1
|
2018-12-27 22:42:39 +01:00
|
|
|
CATEGORIES= security
|
|
|
|
|
|
|
|
MAINTAINER= daniel@shafer.cc
|
|
|
|
COMMENT= GUI for displaying OATH codes with a Yubikey
|
|
|
|
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yubikey-manager>=0.7.0:security/py-yubikey-manager@${PY_FLAVOR} \
|
|
|
|
pyotherside-qt5>0:devel/pyotherside-qt5 \
|
|
|
|
RSA_SecurID_getpasswd:devel/libccid \
|
|
|
|
libffi>0:devel/libffi \
|
|
|
|
pcscd:devel/pcsc-lite \
|
2020-06-17 20:17:45 +02:00
|
|
|
swig:devel/swig
|
2018-12-27 22:42:39 +01:00
|
|
|
|
2019-03-12 05:43:37 +01:00
|
|
|
USES= compiler:c++11-lang desktop-file-utils gl python:3.5+ qmake qt:5 \
|
|
|
|
shebangfix ssl
|
2018-12-27 22:42:39 +01:00
|
|
|
USE_GL= gl
|
2021-03-26 17:46:28 +01:00
|
|
|
USE_QT= core declarative gui network quickcontrols2 svg widgets buildtools_build
|
2018-12-27 22:42:39 +01:00
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= Yubico
|
|
|
|
|
|
|
|
SHEBANG_FILES= build_qrc.py \
|
|
|
|
py/yubikey.py \
|
|
|
|
|
|
|
|
PLIST_FILES= bin/yubioath-desktop \
|
2021-03-26 17:46:28 +01:00
|
|
|
share/applications/com.yubico.yubioath.desktop \
|
|
|
|
share/pixmaps/com.yubico.yubioath.png
|
2018-12-27 22:42:39 +01:00
|
|
|
|
|
|
|
post-patch:
|
2021-03-26 17:46:28 +01:00
|
|
|
@${REINPLACE_CMD} -e '/PYTHON_CMD/s|python3|${PYTHON_CMD}|g' \
|
2018-12-27 22:42:39 +01:00
|
|
|
${WRKSRC}/yubioath-desktop.pro
|
|
|
|
@${REINPLACE_CMD} -e 's|target.path = /usr/bin|target.path = ${PREFIX}/bin|g' ${WRKSRC}/deployment.pri
|
|
|
|
|
|
|
|
post-install:
|
2021-03-26 17:46:28 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/resources/com.yubico.yubioath.desktop ${STAGEDIR}${PREFIX}/share/applications
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/resources/icons/com.yubico.yubioath.png ${STAGEDIR}${PREFIX}/share/pixmaps
|
2018-12-27 22:42:39 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|