View | Details | Raw Unified | Return to bug 204122
Collapse All | Expand All

(-)sysutils/qtpass/Makefile (-6 / +22 lines)
Lines 3-9 Link Here
3
PORTNAME=	qtpass
3
PORTNAME=	qtpass
4
PORTVERSION=	1.1.1
4
PORTVERSION=	1.1.1
5
DISTVERSIONPREFIX=v
5
DISTVERSIONPREFIX=v
6
CATEGORIES=sysutils
6
PORTREVISION=	1
7
CATEGORIES=	sysutils
7
8
8
MAINTAINER=	brouwer@annejan.com
9
MAINTAINER=	brouwer@annejan.com
9
COMMENT=	Qt GUI for pass, the standard unix password manager
10
COMMENT=	Qt GUI for pass, the standard unix password manager
Lines 12-25 Link Here
12
13
13
RUN_DEPENDS=	pass:sysutils/password-store
14
RUN_DEPENDS=	pass:sysutils/password-store
14
15
15
USES=		qmake
16
USES=		qmake:outsource
16
USE_GITHUB=	yes
17
USE_GITHUB=	yes
17
GH_ACCOUNT=	IJhack
18
GH_ACCOUNT=	IJhack
18
USE_QT5=	buildtools core gui linguisttools network widgets 
19
USE_QT5=	buildtools_build core gui linguisttools_build network widgets
19
USE_GL=		gl
20
USE_GL=		gl
20
PLIST_FILES=	bin/qtpass
21
21
22
do-install:
22
PLIST_FILES=	bin/qtpass \
23
	${INSTALL_PROGRAM} ${WRKSRC}/qtpass ${STAGEDIR}${PREFIX}/bin
23
		share/pixmaps/qtpass.png
24
24
25
# Create a desktop entry for the port.
26
DESKTOP_ENTRIES=	"QtPass" "" \
27
			"${PREFIX}/share/pixmaps/qtpass.png" \
28
			"${PREFIX}/bin/qtpass" \
29
			"Security;Utility;" true
30
31
post-patch:
32
# The project file assumes PREFIX is the bin-dir. We pass PREFIX=${LOCALBASE}
33
# so we have to append bin to target.path.
34
	${REINPLACE_CMD} -e '/target.path/s,$$,bin,' ${WRKSRC}/qtpass.pro
35
36
# Install the icon of the port.
37
post-install:
38
	${INSTALL_DATA} ${WRKSRC}/artwork/icon.png \
39
			${STAGEDIR}${PREFIX}/share/pixmaps/qtpass.png
40
25
.include <bsd.port.mk>
41
.include <bsd.port.mk>

Return to bug 204122