diff options
author | riggs <riggs@FreeBSD.org> | 2014-07-29 01:26:23 +0800 |
---|---|---|
committer | riggs <riggs@FreeBSD.org> | 2014-07-29 01:26:23 +0800 |
commit | f36402fadbb01e87689bdf1a9875a84d7ca6afcf (patch) | |
tree | bc2f9ab1f4f77216582aace813b9752ebb86b4e9 /sysutils | |
parent | 49fbc6dbd38488018391e7870659aec4f3865440 (diff) | |
download | freebsd-ports-gnome-f36402fadbb01e87689bdf1a9875a84d7ca6afcf.tar.gz freebsd-ports-gnome-f36402fadbb01e87689bdf1a9875a84d7ca6afcf.tar.zst freebsd-ports-gnome-f36402fadbb01e87689bdf1a9875a84d7ca6afcf.zip |
Import xfce4-bsdcpufreq-plugin,
a tiny panel plugin for the XFCE desktop to monitor the CPU clock frequency
Approved by: mentors (implicit)
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/xfce4-bsdcpufreq-plugin/Makefile | 37 | ||||
-rw-r--r-- | sysutils/xfce4-bsdcpufreq-plugin/distinfo | 2 | ||||
-rw-r--r-- | sysutils/xfce4-bsdcpufreq-plugin/pkg-descr | 3 |
4 files changed, 43 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 1599bfe19a8f..8f270af77bed 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1032,6 +1032,7 @@ SUBDIR += xen-tools SUBDIR += xfburn SUBDIR += xfce4-battery-plugin + SUBDIR += xfce4-bsdcpufreq-plugin SUBDIR += xfce4-cpugraph-plugin SUBDIR += xfce4-diskperf-plugin SUBDIR += xfce4-fsguard-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 <riggs@FreeBSD.org> +# $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 <bsd.port.mk> 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. |