summaryrefslogtreecommitdiff
path: root/net-mgmt/p5-jmx4perl/Makefile
blob: 007338c19f955df38dfaac2b7e93f5a8500da503 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# $FreeBSD$

PORTNAME=	jmx4perl
PORTVERSION=	1.11
DISTVERSIONSUFFIX=	_2
PORTREVISION=	3
CATEGORIES=	net-mgmt perl5
MASTER_SITES=	CPAN
MASTER_SITE_SUBDIR=	CPAN:ROLAND
PKGNAMEPREFIX=	p5-

MAINTAINER=	tj@FreeBSD.org
COMMENT=	JMX access for Perl

RUN_DEPENDS=	p5-Archive-Zip>=0:archivers/p5-Archive-Zip \
		p5-Config-General>=0:devel/p5-Config-General \
		p5-Crypt-Blowfish_PP>=0:security/p5-Crypt-Blowfish_PP \
		p5-Crypt-OpenPGP>=0:security/p5-Crypt-OpenPGP \
		p5-Digest-SHA1>=0:security/p5-Digest-SHA1 \
		p5-File-SearchPath>=0:devel/p5-File-SearchPath \
		p5-JSON>=0:converters/p5-JSON \
		p5-Module-Find>=0:devel/p5-Module-Find \
		p5-Nagios-Plugin>=0:net-mgmt/p5-Nagios-Plugin \
		p5-Sys-SigAction>=0:devel/p5-Sys-SigAction \
		p5-Term-Clui>=0:devel/p5-Term-Clui \
		p5-Term-ProgressBar>=0:devel/p5-Term-ProgressBar \
		p5-Term-ShellUI>=0:shells/p5-Term-ShellUI \
		p5-Term-Size>=0:devel/p5-Term-Size \
		p5-URI>=0:net/p5-URI \
		p5-XML-LibXML>=0:textproc/p5-XML-LibXML \
		p5-XML-Twig>=0:textproc/p5-XML-Twig \
		p5-libwww>=0:www/p5-libwww
BUILD_DEPENDS:=	${RUN_DEPENDS}

NO_ARCH=	yes
USES=		perl5
USE_PERL5=	modbuild

ETC_FILES=	common.cfg \
		glassfish.cfg \
		jboss.cfg \
		jetty.cfg \
		memory.cfg \
		metrics.cfg \
		threads.cfg \
		tomcat.cfg \
		weblogic.cfg

SUB_FILES=	pkg-install pkg-deinstall
SUB_LIST=	ETC_FILES="${ETC_FILES}"

post-install:
	@${MKDIR} ${STAGEDIR}${ETCDIR}
.for f in ${ETC_FILES}
	${INSTALL_DATA} ${WRKSRC}/config/${f} ${STAGEDIR}${ETCDIR}/${f}.sample
.endfor

.include <bsd.port.mk>