# -*- 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           perl5 1.0

perl5.branches      5.28 5.30 5.32 5.34
perl5.setup         Proc-Daemon 0.23

platforms           {darwin any}
maintainers         nomaintainer
license             {Artistic-1 GPL}

description         Run Perl program(s) as a daemon process

long_description    This module can be used by a Perl program to initialize \
                    itself as a daemon or to execute (exec) a system command \
                    as daemon. You can also check the status of the daemon \
                    (alive or dead) and you can kill the daemon.

checksums           sha256  34c0b85b7948b431cbabc97cee580835e515ccf43badbd8339eb109474089b69 \
                    rmd160  a4222dde2215f7b2e2f1f36fa6e334244e6a921e

if {${perl5.major} != ""} {
    depends_lib-append \
                    port:p${perl5.major}-proc-processtable

    supported_archs noarch
}
