mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
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}
|
|
}
|