# -*- 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 # $Id$ PortSystem 1.0 PortGroup perl5 1.0 # should allow perl5 port group to set default perl variant # but for now locally set the default perl to perl5.24 # until the global default perl is updated (#52081) perl5.require_variant yes perl5.conflict_variants yes perl5.branches 5.24 perl5.default_branch 5.24 perl5.create_variants ${perl5.branches} name fusioninventory-agent perl5.setup FusionInventory-Agent 2.3.18 ../by-authors/id/G/GR/GROUSSE/ revision 1 platforms darwin maintainers nomaintainer license GPL-2+ supported_archs noarch description FusionInventory::Agent long_description Perl application that runs an agent connecting to a \ server running for example FusionInventory for GLPI \ for inventorying purposes. homepage http://www.fusioninventory.org/overview/ checksums rmd160 9874df7b115471d1cde9aeeac42f27610f8f98a5 \ sha256 543d96fa61b8f2a2bc599fe9f694f19d1f2094dc5506bc514d00b8a445bc5401 depends_build-append \ port:p${perl5.major}-http-proxy \ port:p${perl5.major}-http-server-simple \ port:p${perl5.major}-http-server-simple-authen \ port:p${perl5.major}-io-capture \ port:p${perl5.major}-io-socket-ssl \ port:p${perl5.major}-ipc-run \ port:p${perl5.major}-json \ port:p${perl5.major}-lwp-protocol-https \ port:p${perl5.major}-net-snmp \ port:p${perl5.major}-poe-component-client-ping \ port:p${perl5.major}-test-compile \ port:p${perl5.major}-test-deep \ port:p${perl5.major}-test-exception \ port:p${perl5.major}-test-http-server-simple \ port:p${perl5.major}-test-mockmodule \ port:p${perl5.major}-test-mockobject \ port:p${perl5.major}-test-nowarnings depends_lib-append \ port:p${perl5.major}-data-structure-util \ port:p${perl5.major}-file-copy-recursive \ port:p${perl5.major}-file-which \ port:p${perl5.major}-libwww-perl \ port:p${perl5.major}-net-ip \ port:p${perl5.major}-parallel-forkmanager \ port:p${perl5.major}-parse-edid \ port:p${perl5.major}-text-template \ port:p${perl5.major}-universal-require \ port:p${perl5.major}-xml-treepp patchfiles patch-Makefile.PL.diff post-patch { reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/Makefile.PL } pre-destroot { xinstall -d ${destroot}${perl5.lib} } destroot.target install destroot.keepdirs ${destroot}${prefix}/var/fusioninventory notes " On initial installation of ${name} cp ${prefix}/etc/fusioninventory/agent.cfg.new ${prefix}/etc/fusioninventory/agent.cfg and edit as desired before running the program. Subsequent updates will not overwrite agent.cfg "