1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

Update `sysutils/cpu-x' to version 3.2.0.

Reported by:	portscout
This commit is contained in:
Alexey Dokuchaev 2018-02-01 17:11:32 +00:00
parent 8b5c1cfefe
commit d34780a648
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=460618
4 changed files with 12 additions and 7 deletions

View File

@ -2,9 +2,8 @@
# $FreeBSD$
PORTNAME= cpu-x
PORTVERSION= 3.1.3
PORTVERSION= 3.2.0
DISTVERSIONPREFIX= v
PORTREVISION= 2
CATEGORIES= sysutils
MAINTAINER= danfe@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1477420923
SHA256 (X0rg-CPU-X-v3.1.3_GH0.tar.gz) = 078de38052daf64c93ec02ced78b3b498e6e88746971518a8c27a1d04c347eda
SIZE (X0rg-CPU-X-v3.1.3_GH0.tar.gz) = 1813830
TIMESTAMP = 1517430342
SHA256 (X0rg-CPU-X-v3.2.0_GH0.tar.gz) = a88c188d51a8e9cb06f3b68c40eb8c97946f78eac70ab42ade6dc9ffd7f9bd89
SIZE (X0rg-CPU-X-v3.2.0_GH0.tar.gz) = 1830074

View File

@ -4,13 +4,13 @@
# NCurses
if(WITH_NCURSES)
- pkg_check_modules(NCURSES ncurses)
- pkg_check_modules(NCURSES ncursesw)
+ # Assume ncurses from the base on FreeBSD
+ if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
+ set(NCURSES_FOUND 1)
+ set(NCURSES_LIBRARIES "-l:libncursesw.so")
+ else()
+ pkg_check_modules(NCURSES ncurses)
+ pkg_check_modules(NCURSES ncursesw)
+ endif()
if(NCURSES_FOUND)
include_directories(${NCURSES_INCLUDE_DIRS})

View File

@ -16,8 +16,12 @@ bin/cpu-x
%%X11%%share/icons/hicolor/256x256/apps/cpu-x.png
%%X11%%share/icons/hicolor/384x384/apps/cpu-x.png
%%X11%%share/icons/hicolor/512x512/apps/cpu-x.png
share/locale/cs_CZ/LC_MESSAGES/cpu-x.mo
share/locale/fr/LC_MESSAGES/cpu-x.mo
share/locale/pl/LC_MESSAGES/cpu-x.mo
share/locale/pt_BR/LC_MESSAGES/cpu-x.mo
share/locale/ru/LC_MESSAGES/cpu-x.mo
share/locale/zh/LC_MESSAGES/cpu-x.mo
%%X11%%share/polkit-1/actions/org.pkexec.cpu-x.policy
%%X11%%%%DATADIR%%/AMD.png
%%X11%%%%DATADIR%%/CPU-X.png
@ -32,5 +36,7 @@ share/locale/pt_BR/LC_MESSAGES/cpu-x.mo
%%X11%%%%DATADIR%%/UMC.png
%%X11%%%%DATADIR%%/Unknown.png
%%X11%%%%DATADIR%%/cpu-x-gtk-3.12.css
%%X11%%%%DATADIR%%/cpu-x-gtk-3.12-dark.css
%%X11%%%%DATADIR%%/cpu-x-gtk-3.12.ui
%%X11%%%%DATADIR%%/cpu-x-gtk-3.20.css
%%X11%%%%DATADIR%%/cpu-x-gtk-3.20-dark.css