diff options
author | pawel <pawel@FreeBSD.org> | 2016-01-03 18:42:44 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2016-01-03 18:42:44 +0800 |
commit | 24f2187c1b52f0b768afa48d90c18bfd16fbbece (patch) | |
tree | 31bc375bfd2772fc2992ece5e80dde1481504e1b | |
parent | 5ba8413184ee9ff9a1ce6e7ba6f0c28d41d0370a (diff) | |
download | freebsd-ports-gnome-24f2187c1b52f0b768afa48d90c18bfd16fbbece.tar.gz freebsd-ports-gnome-24f2187c1b52f0b768afa48d90c18bfd16fbbece.tar.zst freebsd-ports-gnome-24f2187c1b52f0b768afa48d90c18bfd16fbbece.zip |
Install desktop entry file
PR: 205360
Submitted by: myself
Approved by: maintainer timeout
-rw-r--r-- | x11/nvidia-settings/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/x11/nvidia-settings/Makefile b/x11/nvidia-settings/Makefile index ba4b198d6eba..5ae06d7744e5 100644 --- a/x11/nvidia-settings/Makefile +++ b/x11/nvidia-settings/Makefile @@ -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> |