blob: ba5456d98c1e23be6ae181689223dbce5d1477b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
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>
|