From owner-svn-ports-all@freebsd.org Sun May 29 16:48:55 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 654C3B5367B; Sun, 29 May 2016 16:48:55 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1C08D1C13; Sun, 29 May 2016 16:48:55 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4TGmsh2035741; Sun, 29 May 2016 16:48:54 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4TGmsro035740; Sun, 29 May 2016 16:48:54 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201605291648.u4TGmsro035740@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Sun, 29 May 2016 16:48:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r416116 - head/sysutils/qtpass X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 May 2016 16:48:55 -0000 Author: pi Date: Sun May 29 16:48:54 2016 New Revision: 416116 URL: https://svnweb.freebsd.org/changeset/ports/416116 Log: sysutils/qtpass: improve port - install the icon for qtpass - install qtpass-desktop file - drop buildtools and linguisttools from the runtime dependencies - instead of defining a do-install target, fix qtpass.pro to work with the ports system [that change is probably up for debate...]. PR: 204122 Submitted by: Tobias C.Berner (kde) Modified: head/sysutils/qtpass/Makefile Modified: head/sysutils/qtpass/Makefile ============================================================================== --- head/sysutils/qtpass/Makefile Sun May 29 16:14:37 2016 (r416115) +++ head/sysutils/qtpass/Makefile Sun May 29 16:48:54 2016 (r416116) @@ -3,7 +3,8 @@ PORTNAME= qtpass PORTVERSION= 1.1.1 DISTVERSIONPREFIX=v -CATEGORIES=sysutils +PORTREVISION= 1 +CATEGORIES= sysutils MAINTAINER= brouwer@annejan.com COMMENT= Qt GUI for pass, the standard unix password manager @@ -12,14 +13,29 @@ LICENSE= GPLv3 RUN_DEPENDS= pass:sysutils/password-store -USES= qmake +USES= qmake:outsource USE_GITHUB= yes GH_ACCOUNT= IJhack -USE_QT5= buildtools core gui linguisttools network widgets +USE_QT5= buildtools_build core gui linguisttools_build network widgets USE_GL= gl -PLIST_FILES= bin/qtpass -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/qtpass ${STAGEDIR}${PREFIX}/bin +PLIST_FILES= bin/qtpass \ + share/pixmaps/qtpass.png + +# Create a desktop entry for the port. +DESKTOP_ENTRIES= "QtPass" "" \ + "${PREFIX}/share/pixmaps/qtpass.png" \ + "${PREFIX}/bin/qtpass" \ + "Security;Utility;" true + +post-patch: +# The project file assumes PREFIX is the bin-dir. We pass PREFIX=${LOCALBASE} +# so we have to append bin to target.path. + ${REINPLACE_CMD} -e '/target.path/s,$$,bin,' ${WRKSRC}/qtpass.pro + +# Install the icon of the port. +post-install: + ${INSTALL_DATA} ${WRKSRC}/artwork/icon.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/qtpass.png .include