Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2014 13:58:10 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342701 - head/net-mgmt/p5-Nagios-Plugin
Message-ID:  <201402051358.s15DwAQO061236@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Wed Feb  5 13:58:09 2014
New Revision: 342701
URL: http://svnweb.freebsd.org/changeset/ports/342701
QAT: https://qat.redports.org/buildarchive/r342701/

Log:
  - Stage support

Modified:
  head/net-mgmt/p5-Nagios-Plugin/Makefile
  head/net-mgmt/p5-Nagios-Plugin/pkg-plist

Modified: head/net-mgmt/p5-Nagios-Plugin/Makefile
==============================================================================
--- head/net-mgmt/p5-Nagios-Plugin/Makefile	Wed Feb  5 13:50:29 2014	(r342700)
+++ head/net-mgmt/p5-Nagios-Plugin/Makefile	Wed Feb  5 13:58:09 2014	(r342701)
@@ -19,24 +19,11 @@ RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 USES=		perl5
 USE_PERL5=	configure
-NO_STAGE=	yes
 
-MAN3=		Nagios::Plugin.3 \
-		Nagios::Plugin::Config.3 \
-		Nagios::Plugin::ExitResult.3 \
-		Nagios::Plugin::Functions.3 \
-		Nagios::Plugin::Getopt.3 \
-		Nagios::Plugin::Performance.3 \
-		Nagios::Plugin::Range.3 \
-		Nagios::Plugin::Threshold.3 \
-
-.if !defined(NOPORTDOCS)
 PORTDOCS=	Changes README
 
 post-install:
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-	@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/net-mgmt/p5-Nagios-Plugin/pkg-plist
==============================================================================
--- head/net-mgmt/p5-Nagios-Plugin/pkg-plist	Wed Feb  5 13:50:29 2014	(r342700)
+++ head/net-mgmt/p5-Nagios-Plugin/pkg-plist	Wed Feb  5 13:58:09 2014	(r342701)
@@ -7,6 +7,14 @@
 %%SITE_PERL%%/Nagios/Plugin/Range.pm
 %%SITE_PERL%%/Nagios/Plugin/Threshold.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Nagios/Plugin/.packlist
+%%PERL5_MAN3%%/Nagios::Plugin.3.gz
+%%PERL5_MAN3%%/Nagios::Plugin::Config.3.gz
+%%PERL5_MAN3%%/Nagios::Plugin::ExitResult.3.gz
+%%PERL5_MAN3%%/Nagios::Plugin::Functions.3.gz
+%%PERL5_MAN3%%/Nagios::Plugin::Getopt.3.gz
+%%PERL5_MAN3%%/Nagios::Plugin::Performance.3.gz
+%%PERL5_MAN3%%/Nagios::Plugin::Range.3.gz
+%%PERL5_MAN3%%/Nagios::Plugin::Threshold.3.gz
 @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Nagios/Plugin
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Nagios
 @dirrm %%SITE_PERL%%/Nagios/Plugin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402051358.s15DwAQO061236>