2012-12-05 22:33:43 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= jmx4perl
|
2015-01-30 17:06:16 +00:00
|
|
|
PORTVERSION= 1.11
|
2012-12-05 22:33:43 +00:00
|
|
|
CATEGORIES= net-mgmt perl5
|
2015-05-14 10:15:04 +00:00
|
|
|
MASTER_SITES= CPAN
|
|
|
|
MASTER_SITE_SUBDIR= CPAN:ROLAND
|
2012-12-05 22:33:43 +00:00
|
|
|
PKGNAMEPREFIX= p5-
|
2015-01-30 17:06:16 +00:00
|
|
|
DISTFILES= ${DISTNAME}_2${EXTRACT_SUFX}
|
2012-12-05 22:33:43 +00:00
|
|
|
|
2013-03-17 16:44:03 +00:00
|
|
|
MAINTAINER= tj@FreeBSD.org
|
2012-12-05 22:33:43 +00:00
|
|
|
COMMENT= JMX access for Perl
|
|
|
|
|
|
|
|
RUN_DEPENDS= p5-Archive-Zip>=0:${PORTSDIR}/archivers/p5-Archive-Zip \
|
|
|
|
p5-Carp>=0:${PORTSDIR}/devel/p5-Carp \
|
|
|
|
p5-Config-General>=0:${PORTSDIR}/devel/p5-Config-General \
|
|
|
|
p5-Crypt-Blowfish_PP>=0:${PORTSDIR}/security/p5-Crypt-Blowfish_PP \
|
|
|
|
p5-Crypt-OpenPGP>=0:${PORTSDIR}/security/p5-Crypt-OpenPGP \
|
|
|
|
p5-Digest-MD5>=0:${PORTSDIR}/security/p5-Digest-MD5 \
|
|
|
|
p5-Digest-SHA1>=0:${PORTSDIR}/security/p5-Digest-SHA1 \
|
|
|
|
p5-File-SearchPath>=0:${PORTSDIR}/devel/p5-File-SearchPath \
|
|
|
|
p5-File-Temp>=0:${PORTSDIR}/devel/p5-File-Temp \
|
|
|
|
p5-Getopt-Long>=0:${PORTSDIR}/devel/p5-Getopt-Long \
|
|
|
|
p5-JSON>=0:${PORTSDIR}/converters/p5-JSON \
|
|
|
|
p5-Module-Find>=0:${PORTSDIR}/devel/p5-Module-Find \
|
|
|
|
p5-Nagios-Plugin>=0:${PORTSDIR}/net-mgmt/p5-Nagios-Plugin \
|
|
|
|
p5-Scalar-List-Utils>=0:${PORTSDIR}/lang/p5-Scalar-List-Utils \
|
2013-07-02 22:09:53 +00:00
|
|
|
p5-Sys-SigAction>=0:${PORTSDIR}/devel/p5-Sys-SigAction \
|
2012-12-05 22:33:43 +00:00
|
|
|
p5-Term-Clui>=0:${PORTSDIR}/devel/p5-Term-Clui \
|
|
|
|
p5-Term-ProgressBar>=0:${PORTSDIR}/devel/p5-Term-ProgressBar \
|
|
|
|
p5-Term-ShellUI>=0:${PORTSDIR}/shells/p5-Term-ShellUI \
|
|
|
|
p5-Term-Size>=0:${PORTSDIR}/devel/p5-Term-Size \
|
|
|
|
p5-Text-ParseWords>=0:${PORTSDIR}/textproc/p5-Text-ParseWords \
|
|
|
|
p5-Time-HiRes>=0:${PORTSDIR}/devel/p5-Time-HiRes \
|
|
|
|
p5-URI>=0:${PORTSDIR}/net/p5-URI \
|
|
|
|
p5-XML-LibXML>=0:${PORTSDIR}/textproc/p5-XML-LibXML \
|
|
|
|
p5-XML-Twig>=0:${PORTSDIR}/textproc/p5-XML-Twig \
|
|
|
|
p5-libwww>=0:${PORTSDIR}/www/p5-libwww
|
|
|
|
BUILD_DEPENDS:= ${RUN_DEPENDS}
|
|
|
|
|
2013-09-04 03:27:37 +00:00
|
|
|
USES= perl5
|
|
|
|
USE_PERL5= modbuild
|
2012-12-05 22:33:43 +00:00
|
|
|
|
2012-12-06 02:50:17 +00:00
|
|
|
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}"
|
2015-01-30 17:06:16 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}_2
|
2012-12-06 02:50:17 +00:00
|
|
|
|
|
|
|
post-install:
|
2014-02-06 13:15:54 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${ETCDIR}
|
2012-12-06 02:50:17 +00:00
|
|
|
.for f in ${ETC_FILES}
|
2014-02-06 13:15:54 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/config/${f} ${STAGEDIR}${ETCDIR}/${f}.sample
|
2012-12-06 02:50:17 +00:00
|
|
|
.endfor
|
|
|
|
|
2012-12-05 22:33:43 +00:00
|
|
|
.include <bsd.port.mk>
|