freebsd-ports/security/yubioath-desktop/Makefile
Kevin Bowling da3162c7c9 graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.

PR:		246767
Reviewed by:	manu, bapt
Approved by:	x11
Differential Revision:	https://reviews.freebsd.org/D30824
2021-06-22 11:53:08 -07:00

44 lines
1.3 KiB
Makefile

PORTNAME= yubioath-desktop
DISTVERSIONPREFIX= yubioath-desktop-
DISTVERSION= 5.0.4
PORTREVISION= 1
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 \
swig:devel/swig
USES= compiler:c++11-lang desktop-file-utils gl python:3.5+ qmake qt:5 \
shebangfix ssl
USE_GL= gl
USE_QT= core declarative gui network quickcontrols2 svg widgets buildtools_build
USE_GITHUB= yes
GH_ACCOUNT= Yubico
SHEBANG_FILES= build_qrc.py \
py/yubikey.py \
PLIST_FILES= bin/yubioath-desktop \
share/applications/com.yubico.yubioath.desktop \
share/pixmaps/com.yubico.yubioath.png
post-patch:
@${REINPLACE_CMD} -e '/PYTHON_CMD/s|python3|${PYTHON_CMD}|g' \
${WRKSRC}/yubioath-desktop.pro
@${REINPLACE_CMD} -e 's|target.path = /usr/bin|target.path = ${PREFIX}/bin|g' ${WRKSRC}/deployment.pri
post-install:
${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
.include <bsd.port.mk>