Files
ports/sysutils/qtpass/Makefile
Mathieu Arnold cf118ccf87 One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

40 lines
937 B
Makefile

PORTNAME= qtpass
DISTVERSIONPREFIX= v
DISTVERSION= 1.3.2
CATEGORIES= sysutils
MAINTAINER= brouwer@annejan.com
COMMENT= Qt GUI for pass, the standard unix password manager
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= pass:sysutils/password-store
USES= compiler:c++11-lang gl qmake:outsource qt:5 xorg
USE_GITHUB= yes
GH_ACCOUNT= IJhack
GH_PROJECT= QtPass
USE_GL= gl
USE_QT= core gui network testlib widgets buildtools_build linguisttools_build
# Create a desktop entry for the port.
DESKTOP_ENTRIES= "QtPass" "" \
"${PREFIX}/share/pixmaps/qtpass.png" \
"${PREFIX}/bin/qtpass" \
"Security;Utility;" true
PLIST_FILES= bin/qtpass \
share/pixmaps/qtpass.png
# Fix build with Qt 5.13
pre-build:
cd ${WRKSRC}/localization && ${LRELEASE} *ts
# Install the icon of the port.
post-install:
${INSTALL_DATA} ${WRKSRC}/artwork/icon.png \
${STAGEDIR}${PREFIX}/share/pixmaps/qtpass.png
.include <bsd.port.mk>