# $Id: Portfile 115546 2014-01-04 13:50:40Z jmr@macports.org $ PortSystem 1.0 name gkwebmon version 0.2.1 categories net license GPL-2 maintainers nomaintainer description Web monitor plugin for GKrellM long_description ${description} homepage http://gkwebmon.sourceforge.net/ platforms darwin master_sites sourceforge checksums md5 22ffd3d96c1a04383daa3ce98d0e1364 \ sha1 f1586c1562172522977cb4ca0fc1097d33d28959 \ rmd160 7112dc753002033e28752752fa6ba350401468b4 extract.suffix .tgz patchfiles patch-Makefile depends_build port:pkgconfig 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} }