From c102937c0af1404c9ca0cc7df98d858b93538aef Mon Sep 17 00:00:00 2001 From: Thomas Zander Date: Mon, 28 Jul 2014 17:26:23 +0000 Subject: Import xfce4-bsdcpufreq-plugin, a tiny panel plugin for the XFCE desktop to monitor the CPU clock frequency Approved by: mentors (implicit) --- sysutils/xfce4-bsdcpufreq-plugin/Makefile | 37 ++++++++++++++++++++++++++++++ sysutils/xfce4-bsdcpufreq-plugin/distinfo | 2 ++ sysutils/xfce4-bsdcpufreq-plugin/pkg-descr | 3 +++ 3 files changed, 42 insertions(+) create mode 100644 sysutils/xfce4-bsdcpufreq-plugin/Makefile create mode 100644 sysutils/xfce4-bsdcpufreq-plugin/distinfo create mode 100644 sysutils/xfce4-bsdcpufreq-plugin/pkg-descr (limited to 'sysutils/xfce4-bsdcpufreq-plugin') diff --git a/sysutils/xfce4-bsdcpufreq-plugin/Makefile b/sysutils/xfce4-bsdcpufreq-plugin/Makefile new file mode 100644 index 000000000000..39f6cbdc7707 --- /dev/null +++ b/sysutils/xfce4-bsdcpufreq-plugin/Makefile @@ -0,0 +1,37 @@ +# Created by: Thomas Zander +# $FreeBSD$ +# + +PORTNAME= xfce4-bsdcpufreq-plugin +PORTVERSION= 0.1.1 +CATEGORIES= sysutils xfce + +MAINTAINER= riggs@FreeBSD.org +COMMENT= Displays the current CPU clock frequency in the panel + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USE_GITHUB= yes +GH_ACCOUNT= riggs- +GH_COMMIT= 66ef781 +GH_TAGNAME= ${GH_COMMIT} + +USE_GNOME= gtk20 + +USES= pkgconfig + +LIB_DEPENDS+= libxfce4util.so:${PORTSDIR}/x11/libxfce4util \ + libxfce4panel-1.0.so:${PORTSDIR}/x11-wm/xfce4-panel \ + libxfce4ui-1.so:${PORTSDIR}/x11/libxfce4menu + +PLIST_FILES= lib/xfce4/panel/plugins/libbsdcpufreq.so \ + share/xfce4/panel/plugins/bsdcpufreq.desktop + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/lib/xfce4/panel/plugins + ${MKDIR} ${STAGEDIR}${PREFIX}/share/xfce4/panel/plugins + ${INSTALL_LIB} ${WRKSRC}/libbsdcpufreq.so ${STAGEDIR}${PREFIX}/lib/xfce4/panel/plugins + ${INSTALL_DATA} ${WRKSRC}/bsdcpufreq.desktop ${STAGEDIR}${PREFIX}/share/xfce4/panel/plugins + +.include diff --git a/sysutils/xfce4-bsdcpufreq-plugin/distinfo b/sysutils/xfce4-bsdcpufreq-plugin/distinfo new file mode 100644 index 000000000000..c0504d0f0e7f --- /dev/null +++ b/sysutils/xfce4-bsdcpufreq-plugin/distinfo @@ -0,0 +1,2 @@ +SHA256 (xfce4-bsdcpufreq-plugin-0.1.1.tar.gz) = 3f992c56167de1173aacc3a3812b6a1dc233bbd403bd9acc351862998d1eff3a +SIZE (xfce4-bsdcpufreq-plugin-0.1.1.tar.gz) = 5737 diff --git a/sysutils/xfce4-bsdcpufreq-plugin/pkg-descr b/sysutils/xfce4-bsdcpufreq-plugin/pkg-descr new file mode 100644 index 000000000000..98389e336697 --- /dev/null +++ b/sysutils/xfce4-bsdcpufreq-plugin/pkg-descr @@ -0,0 +1,3 @@ +xfce4-bsdcpufreq-plugin uses the FreeBSD sysctl +interface to the cpufreq(4) driver to display the +current CPU frequency in an XFCE panel. -- cgit v1.2.3