8f3d972d73
QT4 is still supported and options where introduced to allow users to choose which version of QT they want yubikey-personalization-gui to be built against. While here, pet portlint. Since the version of QT change, bump PORTREVISION. PR: 231808 Reported by: cmt
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= yubikey-personalization-gui
|
|
PORTVERSION= 3.1.25
|
|
DISTVERSIONPREFIX= ${PORTNAME}-
|
|
PORTREVISION= 1
|
|
CATEGORIES= security
|
|
|
|
MAINTAINER= romain@FreeBSD.org
|
|
COMMENT= Graphical YubiKey personalization tool
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libykpers-1.so:security/ykpers \
|
|
libyubikey.so:security/libyubikey
|
|
|
|
USES= pkgconfig qmake
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= Yubico
|
|
|
|
OPTIONS_DEFAULT= QT5
|
|
OPTIONS_SINGLE= QT
|
|
OPTIONS_SINGLE_QT= QT4 QT5
|
|
|
|
QT4_USES= qt:4
|
|
QT5_USES= qt:5
|
|
QT4_USE= qt=corelib,gui,moc_build,rcc_build,testlib_build,uic_build
|
|
QT5_USE= qt=buildtools_build,core,gui,testlib_build,widgets
|
|
|
|
PLIST_FILES= bin/yubikey-personalization-gui \
|
|
man/man1/yubikey-personalization-gui.1.gz \
|
|
share/applications/yubikey-personalization-gui.desktop \
|
|
share/pixmaps/yubikey-personalization-gui.png \
|
|
share/pixmaps/yubikey-personalization-gui.xpm
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/build/release/${PORTNAME} \
|
|
${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/resources/lin/${PORTNAME}.desktop \
|
|
${STAGEDIR}${DESKTOPDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/resources/lin/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
${INSTALL_DATA} ${WRKSRC}/resources/lin/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps
|
|
${INSTALL_DATA} ${WRKSRC}/resources/lin/${PORTNAME}.xpm ${STAGEDIR}${PREFIX}/share/pixmaps
|
|
|
|
.include <bsd.port.mk>
|