Files

79 lines
2.4 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup github 1.0
PortGroup perl5 1.0
github.setup oetiker rrdtool-1.x 1.10.3 v
name rrdtool
revision 0
checksums rmd160 e552dd4b1f00bdef37a2fafca26ee0168b541a00 \
sha256 843b7caa2a80a815d44ac5c65daa42920cb64586fe804e36d0bc0783554e0635 \
size 2996378
categories net
license GPL-2+
maintainers nomaintainer
description Round Robin Database
long_description RRDtool is a system to store and display time-series data
homepage http://oss.oetiker.ch/rrdtool/
github.tarball_from releases
distname ${name}-${version}
perl5.branches 5.34
depends_build-append \
port:gettext \
port:pkgconfig
if {${os.platform} eq "darwin" && ${os.major} >= 22} {
depends_build-append \
port:groff
}
depends_lib-append \
path:lib/pkgconfig/cairo.pc:cairo \
port:gettext-runtime \
path:lib/pkgconfig/glib-2.0.pc:glib2 \
port:fribidi \
port:libpng \
port:libxml2 \
path:lib/pkgconfig/pango.pc:pango \
port:tcp_wrappers
depends_run-append \
port:dejavu-fonts \
port:perl${perl5.major}
patchfiles-append configure-remove-cute-output.patch \
implicit.patch \
patch-doc-Makefile.in.diff
configure.perl ${perl5.bin}
configure.args --disable-libdbi \
--disable-librados \
--enable-perl-site-install \
--with-perl-options="INSTALLDIRS=vendor" \
--disable-silent-rules \
--disable-lua \
--disable-python \
--disable-ruby \
--disable-tcl \
--without-systemdsystemunitdir
post-destroot {
fs-traverse f ${destroot}${prefix} {
if {[file isfile ${f}]} {
switch [file tail ${f}] {
.packlist -
perllocal.pod {
delete ${f}
}
}
}
}
}