diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2016-01-03 10:42:44 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2016-01-03 10:42:44 +0000 |
commit | 616d3289f20374e20a956b9445f9994fea8a4265 (patch) | |
tree | 31bc375bfd2772fc2992ece5e80dde1481504e1b /x11/nvidia-settings | |
parent | 046ce0e0bfb8e13ab1e4f0873017bf27e39e4af3 (diff) | |
download | ports-616d3289f20374e20a956b9445f9994fea8a4265.tar.gz ports-616d3289f20374e20a956b9445f9994fea8a4265.zip |
Notes
Diffstat (limited to 'x11/nvidia-settings')
-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> |