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