1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

Various improvements

- Install man pages
- Install .desktop file
- Install icons
- Properly register dependencies reported by stage-qa
- Define LICENSE_FILE
- Bump PORTREVISION

PR:		223124
Submitted by:	ehaupt
This commit is contained in:
Romain Tartière 2017-10-20 07:08:56 +00:00
parent d22425e337
commit 4acbc3037f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=452504

View File

@ -3,14 +3,17 @@
PORTNAME= yubikey-personalization-gui
PORTVERSION= 3.1.24
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
LIB_DEPENDS= libykpers-1.so:security/ykpers \
libyubikey.so:security/libyubikey
USE_GITHUB= yes
GH_ACCOUNT= Yubico
@ -18,9 +21,19 @@ GH_ACCOUNT= Yubico
USES= pkgconfig qmake
USE_QT4= corelib gui moc_build rcc_build testlib_build uic_build
PLIST_FILES= bin/yubikey-personalization-gui
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/yubikey-personalization-gui ${STAGEDIR}${PREFIX}/bin
${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>