Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jan 2016 10:42:44 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r405127 - head/x11/nvidia-settings
Message-ID:  <201601031042.u03Agi1L056385@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601031042.u03Agi1L056385>