From owner-svn-ports-head@freebsd.org Sun Jan 3 10:42:45 2016 Return-Path: Delivered-To: svn-ports-head@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 B1827A5F528; Sun, 3 Jan 2016 10:42:45 +0000 (UTC) (envelope-from pawel@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 817A0187F; Sun, 3 Jan 2016 10:42:45 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u03AgiDw056386; Sun, 3 Jan 2016 10:42:44 GMT (envelope-from pawel@FreeBSD.org) Received: (from pawel@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u03Agi1L056385; Sun, 3 Jan 2016 10:42:44 GMT (envelope-from pawel@FreeBSD.org) Message-Id: <201601031042.u03Agi1L056385@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pawel set sender to pawel@FreeBSD.org using -f From: Pawel Pekala Date: Sun, 3 Jan 2016 10:42:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r405127 - head/x11/nvidia-settings X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2016 10:42:45 -0000 Author: pawel Date: Sun Jan 3 10:42:44 2016 New Revision: 405127 URL: https://svnweb.freebsd.org/changeset/ports/405127 Log: Install desktop entry file PR: 205360 Submitted by: myself Approved by: maintainer timeout Modified: head/x11/nvidia-settings/Makefile Modified: head/x11/nvidia-settings/Makefile ============================================================================== --- head/x11/nvidia-settings/Makefile Sun Jan 3 10:32:51 2016 (r405126) +++ head/x11/nvidia-settings/Makefile Sun Jan 3 10:42:44 2016 (r405127) @@ -3,7 +3,7 @@ PORTNAME= nvidia-settings PORTVERSION= 355.11 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 MAINTAINER= bland@FreeBSD.org @@ -24,7 +24,9 @@ USE_XORG= xext xv PLIST_FILES= bin/nvidia-settings \ man/man1/nvidia-settings.1.gz \ - lib/libnvidia-gtk2.so.${PORTVERSION} + lib/libnvidia-gtk2.so.${PORTVERSION} \ + share/applications/nvidia-settings.desktop \ + share/pixmaps/nvidia-settings.png LDFLAGS+= -pthread MAKE_ENV= NV_USE_BUNDLED_LIBJANSSON=0 \ @@ -38,8 +40,15 @@ MAKE_ENV= NV_USE_BUNDLED_LIBJANSSON=0 \ post-patch: .SILENT ${REINPLACE_CMD} \ -e '/^MANDIR/s|share/||' ${WRKSRC}/utils.mk + ${REINPLACE_CMD} -E -e 's,__(PIXMAP|UTILS)_PATH__/,,' \ + -e '/^Categories/ s,=.*,= Settings;HardwareSettings;,' \ + ${WRKSRC}/doc/nvidia-settings.desktop post-install: .SILENT ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnvidia-gtk2.so.${PORTVERSION} + ${INSTALL_DATA} ${WRKSRC}/doc/nvidia-settings.desktop \ + ${STAGEDIR}/${DESKTOPDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/nvidia-settings.png \ + ${STAGEDIR}/${PREFIX}/share/pixmaps .include