aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authordbn <dbn@FreeBSD.org>2017-01-25 23:46:41 +0800
committerdbn <dbn@FreeBSD.org>2017-01-25 23:46:41 +0800
commit5c9e603e4f7c00322e3b4cfda0e2a9fe5a193786 (patch)
tree6dc97702e77d90e4e4170a5a5cfc20541b03aacd /sysutils
parent18311f07c1565e893da8bbb67a9787f83ac30938 (diff)
downloadfreebsd-ports-gnome-5c9e603e4f7c00322e3b4cfda0e2a9fe5a193786.tar.gz
freebsd-ports-gnome-5c9e603e4f7c00322e3b4cfda0e2a9fe5a193786.tar.zst
freebsd-ports-gnome-5c9e603e4f7c00322e3b4cfda0e2a9fe5a193786.zip
sysutils/intel-pcm: update to 2.11.1
- move to official github project - update comment to changes in project focus - add license file - drop use of compiler:c1++11-lib, no longer needed - remove patch for pci.cpp, no longer needed - update pkg-descr with text from new website PR: 215897 Approved by: imp (maintainer, timeout: 16 days)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/intel-pcm/Makefile15
-rw-r--r--sysutils/intel-pcm/distinfo5
-rw-r--r--sysutils/intel-pcm/files/patch-pci.cpp10
-rw-r--r--sysutils/intel-pcm/pkg-descr15
4 files changed, 15 insertions, 30 deletions
diff --git a/sysutils/intel-pcm/Makefile b/sysutils/intel-pcm/Makefile
index 6042a9cf8afd..8985eaae8d81 100644
--- a/sysutils/intel-pcm/Makefile
+++ b/sysutils/intel-pcm/Makefile
@@ -2,22 +2,23 @@
# $FreeBSD$
PORTNAME= intel-pcm
-PORTVERSION= 2.11
+PORTVERSION= 2.11.1
CATEGORIES= sysutils
-MASTER_SITES= LOCAL/imp
-DISTNAME= IntelPerformanceCounterMonitor-V${PORTVERSION}
MAINTAINER= imp@FreeBSD.org
-COMMENT= Intel PCM toolkit
+COMMENT= Process Count Monitor (PCM) for Intel processors
LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= compiler:c++11-lib gmake tar:xz
+USES= gmake
ONLY_FOR_ARCHS= i386 amd64
-WRKSRC= ${WRKDIR}/IntelPerformanceCounterMonitor-V${PORTVERSION}
-MAKE_ARGS= CXX="${CXX}" LIB=-lpthread
+USE_GITHUB= yes
+GH_ACCOUNT= opcm
+GH_PROJECT= pcm
+GH_TAGNAME= 5581ad7
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/*.x ${STAGEDIR}${PREFIX}/sbin
diff --git a/sysutils/intel-pcm/distinfo b/sysutils/intel-pcm/distinfo
index 48c8cbb263d2..6ab72efc8844 100644
--- a/sysutils/intel-pcm/distinfo
+++ b/sysutils/intel-pcm/distinfo
@@ -1,2 +1,3 @@
-SHA256 (IntelPerformanceCounterMonitor-V2.11.tar.xz) = f750e2afe9819df44f235899ac878103917d77ffe71e2ac45b851021eaa2463a
-SIZE (IntelPerformanceCounterMonitor-V2.11.tar.xz) = 774156
+TIMESTAMP = 1483897863
+SHA256 (opcm-pcm-2.11.1-5581ad7_GH0.tar.gz) = 1bdc8412abc825a243ea0327d56315f7777e8e9b65810a66a7159faea5b3a18a
+SIZE (opcm-pcm-2.11.1-5581ad7_GH0.tar.gz) = 878049
diff --git a/sysutils/intel-pcm/files/patch-pci.cpp b/sysutils/intel-pcm/files/patch-pci.cpp
deleted file mode 100644
index c31d913e3cbb..000000000000
--- a/sysutils/intel-pcm/files/patch-pci.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- pci.cpp.orig 2016-04-20 10:01:09 UTC
-+++ pci.cpp
-@@ -20,6 +20,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIG
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <fcntl.h>
-+#include <strings.h> // for bzero()
- #include "pci.h"
-
- #ifndef _MSC_VER
diff --git a/sysutils/intel-pcm/pkg-descr b/sysutils/intel-pcm/pkg-descr
index f92dc24b1aca..847c206890f2 100644
--- a/sysutils/intel-pcm/pkg-descr
+++ b/sysutils/intel-pcm/pkg-descr
@@ -1,14 +1,7 @@
-This is the Intel Performance Counter Monitoring toolkit.
-
-The original software is available here:
-
-http://software.intel.com/en-us/articles/intel-performance-counter-monitor
-
-This install comes from Adrian Chadd's copy, which includes some portability
-fixes related to FreeBSD. This can be found in the local/freebsd branch of:
-
-https://github.com/erikarn/intel-pcm
+Processor Counter Monitor (PCM) is an application programming interface (API)
+and a set of tools based on the API to monitor performance and energy metrics
+of Intel(r) Core(tm), Xeon(r) and Atom(tm) processors.
This requires the 'cpuctl' module to be loaded.
-WWW: https://github.com/erikarn/intel-pcm
+WWW: https://github.com/opcm/pcm