Tweak net-mgmt/icingaweb2-module-businessprocess version 2.2.0_2
[dports.git] / net-mgmt / p5-Monitoring-Livestatus / Makefile
1 PORTNAME=       Monitoring-Livestatus
2 PORTVERSION=    0.84
3 CATEGORIES=     net-mgmt perl5
4 MASTER_SITES=   CPAN
5 MASTER_SITE_SUBDIR=     CPAN:NIERLEIN
6 PKGNAMEPREFIX=  p5-
7
8 MAINTAINER=     egypcio@FreeBSD.org
9 COMMENT=        Perl API for check_mk livestatus
10 WWW=            https://metacpan.org/release/Monitoring-Livestatus
11
12 LICENSE=        GPLv1+
13 LICENSE_FILE=   ${WRKSRC}/README
14
15 BUILD_DEPENDS=  ${RUN_DEPENDS}
16 RUN_DEPENDS=    p5-Cpanel-JSON-XS>=0:converters/p5-Cpanel-JSON-XS
17 TEST_DEPENDS=   p5-Test-More-UTF8>=0:devel/p5-Test-More-UTF8
18
19 USES=           perl5
20 USE_PERL5=      configure
21
22 PORTDOCS=       Changes README
23 PORTEXAMPLES=   dump.pl test.pl
24
25 PLIST_FILES=    ${SITE_PERL}/Monitoring/Livestatus.pm \
26                 ${SITE_PERL}/Monitoring/Livestatus/INET.pm \
27                 ${SITE_PERL}/Monitoring/Livestatus/UNIX.pm \
28                 ${SITE_PERL}/man/man3/Monitoring::Livestatus.3.gz \
29                 ${SITE_PERL}/man/man3/Monitoring::Livestatus::INET.3.gz \
30                 ${SITE_PERL}/man/man3/Monitoring::Livestatus::UNIX.3.gz
31
32 OPTIONS_DEFINE= DOCS EXAMPLES
33
34 post-install-DOCS-on:
35         ${MKDIR} ${STAGEDIR}${DOCSDIR}
36         ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
37
38 post-install-EXAMPLES-on:
39         ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
40         ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} \
41                 ${STAGEDIR}${EXAMPLESDIR}
42
43 .include <bsd.port.mk>