Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Feb 2014 08:40:42 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343198 - head/www/p5-W3C-LogValidator
Message-ID:  <201402070840.s178egZT011409@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Fri Feb  7 08:40:42 2014
New Revision: 343198
URL: http://svnweb.freebsd.org/changeset/ports/343198
QAT: https://qat.redports.org/buildarchive/r343198/

Log:
  Support staging.

Modified:
  head/www/p5-W3C-LogValidator/Makefile
  head/www/p5-W3C-LogValidator/pkg-plist

Modified: head/www/p5-W3C-LogValidator/Makefile
==============================================================================
--- head/www/p5-W3C-LogValidator/Makefile	Fri Feb  7 08:37:22 2014	(r343197)
+++ head/www/p5-W3C-LogValidator/Makefile	Fri Feb  7 08:40:42 2014	(r343198)
@@ -23,23 +23,17 @@ RUN_DEPENDS:=	${BUILD_DEPENDS}
 USES=		perl5
 USE_PERL5=	configure
 
-MAN3=	W3C::LogValidator.3 \
-	W3C::LogValidator::Basic.3 \
-	W3C::LogValidator::CSSValidator.3 \
-	W3C::LogValidator::Config.3 \
-	W3C::LogValidator::HTMLValidator.3 \
-	W3C::LogValidator::Output::HTML.3 \
-	W3C::LogValidator::Output::Mail.3 \
-	W3C::LogValidator::Output::Raw.3 \
-	W3C::LogValidator::SurveyEngine.3
+OPTIONS_DEFINE=	EXAMPLES
+
+.include <bsd.port.options.mk>
 
-NO_STAGE=	yes
 post-install:
-.ifndef (NOPORTEXAMPLES)
-	@${MKDIR} ${EXAMPLESDIR}/
-	@${INSTALL_DATA} ${WRKSRC}/samples/NewModule.pm ${EXAMPLESDIR}/
-	@${INSTALL_DATA} ${WRKSRC}/samples/NewOutputModule.pm ${EXAMPLESDIR}/
-	@${INSTALL_DATA} ${WRKSRC}/samples/logprocess.conf ${EXAMPLESDIR}/
-.endif
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
+	${INSTALL_DATA} ${WRKSRC}/samples/NewModule.pm \
+		${STAGEDIR}${EXAMPLESDIR}/
+	${INSTALL_DATA} ${WRKSRC}/samples/NewOutputModule.pm \
+		${STAGEDIR}${EXAMPLESDIR}/
+	${INSTALL_DATA} ${WRKSRC}/samples/logprocess.conf \
+		${STAGEDIR}${EXAMPLESDIR}/
 
 .include <bsd.port.mk>

Modified: head/www/p5-W3C-LogValidator/pkg-plist
==============================================================================
--- head/www/p5-W3C-LogValidator/pkg-plist	Fri Feb  7 08:37:22 2014	(r343197)
+++ head/www/p5-W3C-LogValidator/pkg-plist	Fri Feb  7 08:40:42 2014	(r343198)
@@ -11,6 +11,15 @@ bin/logprocess.pl
 %%SITE_PERL%%/W3C/LogValidator/Output/Raw.pm
 %%SITE_PERL%%/W3C/LogValidator/SurveyEngine.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/W3C/LogValidator/.packlist
+%%PERL5_MAN3%%/W3C::LogValidator.3.gz
+%%PERL5_MAN3%%/W3C::LogValidator::Basic.3.gz
+%%PERL5_MAN3%%/W3C::LogValidator::CSSValidator.3.gz
+%%PERL5_MAN3%%/W3C::LogValidator::Config.3.gz
+%%PERL5_MAN3%%/W3C::LogValidator::HTMLValidator.3.gz
+%%PERL5_MAN3%%/W3C::LogValidator::Output::HTML.3.gz
+%%PERL5_MAN3%%/W3C::LogValidator::Output::Mail.3.gz
+%%PERL5_MAN3%%/W3C::LogValidator::Output::Raw.3.gz
+%%PERL5_MAN3%%/W3C::LogValidator::SurveyEngine.3.gz
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/NewModule.pm
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/NewOutputModule.pm
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/logprocess.conf



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