a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $
PortSystem 1.0
name gkrellm_snmp
version 1.0
categories net
maintainers nomaintainer@macports.org
description A gkrellm SNMP Monitor
long_description ${description}
homepage http://triq.net/gkrellm_snmp.html
platforms darwin
master_sites http://triq.net/gkrellm/
checksums md5 f385e0e5cc5c4d81773d82ef3f0c135e
depends_lib port:gkrellm
use_configure no
build.type gnu
build.env CPPFLAGS="-L${prefix}/lib" \
CFLAGS="-I${prefix}/include" \
LDFLAGS="-L${prefix}/lib"
build.target osx
set plugin_dir ${prefix}/libexec/gkrellm2/plugins
post-extract {
reinplace "s|/usr/lib/gkrellm2/plugins|${plugin_dir}|g" \
${worksrcpath}/Makefile
}