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 gkwebmon
version 0.2
categories net
maintainers nomaintainer@macports.org
description Web monitor plugin for GKrellM
long_description ${description}
homepage http://gkwebmon.sourceforge.net/
platforms darwin
master_sites sourceforge
checksums md5 2fa572746e14e8db9ed9ab78cc934a5f
extract.suffix .tgz
patchfiles patch-Makefile
depends_lib port:gkrellm
use_configure no
build.target ""
build.type gnu
build.env CPPFLAGS="-L${prefix}/lib" \
CFLAGS="-I${prefix}/include" \
LDFLAGS="-L${prefix}/lib"
set plugin_dir ${prefix}/libexec/gkrellm2/plugins
post-patch {
reinplace "s|\$(PLUGIN_DIR)|${plugin_dir}|g" \
${worksrcpath}/Makefile
}
pre-destroot {
xinstall -m 755 -d ${destroot}${plugin_dir}
}