From 351046a283a9036ba98ffa98a0b36ab74a23451e Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Thu, 6 Feb 2014 13:15:54 +0000 Subject: [PATCH] Support staging. --- net-mgmt/p5-jmx4perl/Makefile | 60 ++-------------------------------- net-mgmt/p5-jmx4perl/pkg-descr | 2 +- net-mgmt/p5-jmx4perl/pkg-plist | 53 ++++++++++++++++++++++++++++++ 3 files changed, 56 insertions(+), 59 deletions(-) diff --git a/net-mgmt/p5-jmx4perl/Makefile b/net-mgmt/p5-jmx4perl/Makefile index 4394eea23429..ad3d5dc16564 100644 --- a/net-mgmt/p5-jmx4perl/Makefile +++ b/net-mgmt/p5-jmx4perl/Makefile @@ -41,61 +41,6 @@ BUILD_DEPENDS:= ${RUN_DEPENDS} USES= perl5 USE_PERL5= modbuild -MAN1 = cacti_jmx4perl.1 \ - check_jmx4perl.1 \ - j4psh.1 \ - jmx4perl.1 \ - jolokia.1 - -MAN3= JMX::Jmx4Perl.3 \ - JMX::Jmx4Perl::Agent.3 \ - JMX::Jmx4Perl::Agent::Jolokia::ArtifactHandler.3 \ - JMX::Jmx4Perl::Agent::Jolokia::DownloadAgent.3 \ - JMX::Jmx4Perl::Agent::Jolokia::Logger.3 \ - JMX::Jmx4Perl::Agent::Jolokia::Meta.3 \ - JMX::Jmx4Perl::Agent::Jolokia::Verifier.3 \ - JMX::Jmx4Perl::Agent::Jolokia::Verifier::ChecksumVerifier.3 \ - JMX::Jmx4Perl::Agent::Jolokia::Verifier::GnuPGVerifier.3 \ - JMX::Jmx4Perl::Agent::Jolokia::Verifier::MD5Verifier.3 \ - JMX::Jmx4Perl::Agent::Jolokia::Verifier::OpenPGPVerifier.3 \ - JMX::Jmx4Perl::Agent::Jolokia::Verifier::SHA1Verifier.3 \ - JMX::Jmx4Perl::Agent::Jolokia::WebXmlHandler.3 \ - JMX::Jmx4Perl::Agent::UserAgent.3 \ - JMX::Jmx4Perl::Alias.3 \ - JMX::Jmx4Perl::Alias::Object.3 \ - JMX::Jmx4Perl::Config.3 \ - JMX::Jmx4Perl::J4psh.3 \ - JMX::Jmx4Perl::J4psh::Command.3 \ - JMX::Jmx4Perl::J4psh::Command::Global.3 \ - JMX::Jmx4Perl::J4psh::Command::MBean.3 \ - JMX::Jmx4Perl::J4psh::Command::Server.3 \ - JMX::Jmx4Perl::J4psh::CommandHandler.3 \ - JMX::Jmx4Perl::J4psh::CompletionHandler.3 \ - JMX::Jmx4Perl::J4psh::ServerHandler.3 \ - JMX::Jmx4Perl::J4psh::Shell.3 \ - JMX::Jmx4Perl::Manual.3 \ - JMX::Jmx4Perl::Nagios::CactiJmx4Perl.3 \ - JMX::Jmx4Perl::Nagios::CheckJmx4Perl.3 \ - JMX::Jmx4Perl::Nagios::SingleCheck.3 \ - JMX::Jmx4Perl::Product::ActiveMQ.3 \ - JMX::Jmx4Perl::Product::BaseHandler.3 \ - JMX::Jmx4Perl::Product::Geronimo.3 \ - JMX::Jmx4Perl::Product::Glassfish.3 \ - JMX::Jmx4Perl::Product::Hadoop.3 \ - JMX::Jmx4Perl::Product::JBoss.3 \ - JMX::Jmx4Perl::Product::Jetty.3 \ - JMX::Jmx4Perl::Product::Jonas.3 \ - JMX::Jmx4Perl::Product::Resin.3 \ - JMX::Jmx4Perl::Product::SpringDM.3 \ - JMX::Jmx4Perl::Product::Terracotta.3 \ - JMX::Jmx4Perl::Product::Tomcat.3 \ - JMX::Jmx4Perl::Product::Unknown.3 \ - JMX::Jmx4Perl::Product::Weblogic.3 \ - JMX::Jmx4Perl::Product::Websphere.3 \ - JMX::Jmx4Perl::Request.3 \ - JMX::Jmx4Perl::Response.3 \ - JMX::Jmx4Perl::Util.3 - ETC_FILES= common.cfg \ glassfish.cfg \ jboss.cfg \ @@ -109,11 +54,10 @@ ETC_FILES= common.cfg \ SUB_FILES= pkg-install pkg-deinstall SUB_LIST= ETC_FILES="${ETC_FILES}" -NO_STAGE= yes post-install: - @${MKDIR} ${ETCDIR} + @${MKDIR} ${STAGEDIR}${ETCDIR} .for f in ${ETC_FILES} - ${INSTALL_DATA} ${WRKSRC}/config/${f} ${ETCDIR}/${f}.sample + ${INSTALL_DATA} ${WRKSRC}/config/${f} ${STAGEDIR}${ETCDIR}/${f}.sample .endfor .include diff --git a/net-mgmt/p5-jmx4perl/pkg-descr b/net-mgmt/p5-jmx4perl/pkg-descr index fb5cbc39bc89..170eea2f0162 100644 --- a/net-mgmt/p5-jmx4perl/pkg-descr +++ b/net-mgmt/p5-jmx4perl/pkg-descr @@ -4,4 +4,4 @@ transparent access to the Java Management Extensions (JMX) from the perl side. It uses a traditional request-response paradigma for performing JMX operations on a remote Java Virtual machine. -WWW: http://search.cpan.org/dist/jmx4perl/ +WWW: http://search.cpan.org/dist/jmx4perl/ diff --git a/net-mgmt/p5-jmx4perl/pkg-plist b/net-mgmt/p5-jmx4perl/pkg-plist index 1014a752e733..c9b40317b3af 100644 --- a/net-mgmt/p5-jmx4perl/pkg-plist +++ b/net-mgmt/p5-jmx4perl/pkg-plist @@ -3,6 +3,59 @@ bin/check_jmx4perl bin/j4psh bin/jmx4perl bin/jolokia +man/man1/cacti_jmx4perl.1.gz +man/man1/check_jmx4perl.1.gz +man/man1/j4psh.1.gz +man/man1/jmx4perl.1.gz +man/man1/jolokia.1.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Agent.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Agent::Jolokia::ArtifactHandler.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Agent::Jolokia::DownloadAgent.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Agent::Jolokia::Logger.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Agent::Jolokia::Meta.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Agent::Jolokia::Verifier.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Agent::Jolokia::Verifier::ChecksumVerifier.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Agent::Jolokia::Verifier::GnuPGVerifier.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Agent::Jolokia::Verifier::MD5Verifier.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Agent::Jolokia::Verifier::OpenPGPVerifier.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Agent::Jolokia::Verifier::SHA1Verifier.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Agent::Jolokia::WebXmlHandler.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Agent::UserAgent.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Alias.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Alias::Object.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Config.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::J4psh.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::J4psh::Command.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::J4psh::Command::Global.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::J4psh::Command::MBean.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::J4psh::Command::Server.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::J4psh::CommandHandler.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::J4psh::CompletionHandler.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::J4psh::ServerHandler.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::J4psh::Shell.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Manual.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Nagios::CactiJmx4Perl.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Nagios::CheckJmx4Perl.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Nagios::SingleCheck.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Product::ActiveMQ.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Product::BaseHandler.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Product::Geronimo.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Product::Glassfish.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Product::Hadoop.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Product::JBoss.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Product::Jetty.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Product::Jonas.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Product::Resin.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Product::SpringDM.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Product::Terracotta.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Product::Tomcat.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Product::Unknown.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Product::Weblogic.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Product::Websphere.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Request.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Response.3.gz +%%PERL5_MAN3%%/JMX::Jmx4Perl::Util.3.gz %%SITE_PERL%%/JMX/Jmx4Perl/Agent/Jolokia/Verifier/GnuPGVerifier.pm %%SITE_PERL%%/JMX/Jmx4Perl/Agent/Jolokia/Verifier/SHA1Verifier.pm %%SITE_PERL%%/JMX/Jmx4Perl/Agent/Jolokia/Verifier/ChecksumVerifier.pm