Portfile

# $Id: Portfile 19466 2006-09-09 05:34:10Z waqar@macports.org $

PortSystem 1.0
name MenuMeters
version 1.3
categories aqua sysutils
maintainers waqar@macports.org
description Set of CPU, memory, disk, and network monitoring tools
long_description \
The MenuMeters monitors are true SystemUIServer plugins \
(also known as Menu Extras). This means they can be reordered \
using command-drag and remember their positions in the menubar \
across logins and restarts.
homepage http://www.ragingmenace.com/software/menumeters
platforms macosx
master_sites http://www.ragingmenace.com/software/download
distname ${name}
checksums md5 e2957c514a1222b3ab8d4414dd1806eb \
sha1 fc00ebd506f89014a92372bc1bbe738f53409155

post-extract {
file rename ${workpath}/${name}\ ${version}\ Source ${worksrcpath}
}
worksrcdir ${name}-${version}
use_configure no

build.type pbx
build.target -target PrefPane
build.args build INSTALL_MODE_FLAG=go-w,a+rX

destroot {
xinstall -m 755 -d ${destroot}/Library/PreferencePanes
file copy ${worksrcpath}/build/Release/${name}.prefPane \
${destroot}/Library/PreferencePanes
}