summaryrefslogtreecommitdiffstats
path: root/x11/gnome-applets/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-02-13 17:02:16 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-02-13 17:02:16 +0800
commit5c5d5736e6677aff43dfb130613cf0863165267e (patch)
tree3bdb819137e0f3e9ca61d212c7aa7e46d5e09bed /x11/gnome-applets/Makefile
parent5b9682fa43f138d5bc48fff712900800e15b78c0 (diff)
downloadmarcuscom-ports-5c5d5736e6677aff43dfb130613cf0863165267e.tar
marcuscom-ports-5c5d5736e6677aff43dfb130613cf0863165267e.tar.gz
marcuscom-ports-5c5d5736e6677aff43dfb130613cf0863165267e.tar.bz2
marcuscom-ports-5c5d5736e6677aff43dfb130613cf0863165267e.tar.lz
marcuscom-ports-5c5d5736e6677aff43dfb130613cf0863165267e.tar.xz
marcuscom-ports-5c5d5736e6677aff43dfb130613cf0863165267e.tar.zst
marcuscom-ports-5c5d5736e6677aff43dfb130613cf0863165267e.zip
* Fix a crasher in just about any applet due to corrupted paths
* Add the first round of cpufreq support for i386 and amd64. This only displays the CPU frequency for now. The ability to set it from the applet is forthcoming. Big thanks to sajd on #freebsd-gnome for helping to test cpufreq support. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3648 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnome-applets/Makefile')
-rw-r--r--x11/gnome-applets/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/x11/gnome-applets/Makefile b/x11/gnome-applets/Makefile
index ba8a2a64d..7b54675b6 100644
--- a/x11/gnome-applets/Makefile
+++ b/x11/gnome-applets/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gnomeapplets2
PORTVERSION= 2.9.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-applets/2.9
@@ -65,4 +65,11 @@ pre-everything::
@${ECHO_MSG} ""
.endif
+.if ${ARCH} != "i386" && ${ARCH} != "amd64"
+PLIST_SUB+= CPUFREQ="@comment "
+.else
+PLIST_SUB+= CPUFREQ=""
+GCONF_SCHEMAS+= cpufreq-applet.schemas
+.endif
+
.include <bsd.port.post.mk>