From b0d3108818c8e66cbd04a7323095c13bb0b695ba Mon Sep 17 00:00:00 2001 From: erwin Date: Sun, 4 Dec 2005 11:46:02 +0000 Subject: - MAN pages are not installed with perl 5.005_03, so move the MAN3 and MAN1 sections under the PERL_LEVEL test. - Bump portrevision. Submitted by: pointyhat (kris) --- devel/p5-Module-Build/Makefile | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'devel') diff --git a/devel/p5-Module-Build/Makefile b/devel/p5-Module-Build/Makefile index 6f94463..c88101a 100644 --- a/devel/p5-Module-Build/Makefile +++ b/devel/p5-Module-Build/Makefile @@ -7,6 +7,7 @@ PORTNAME= Module-Build PORTVERSION= 0.26.11 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Module/KWILLIAMS @@ -24,6 +25,20 @@ RUN_DEPENDS= ${BUILD_DEPENDS} PERL_MODBUILD= yes +.if !defined(NOPORTDOCS) +PORTDOCS= Changes INSTALL README + +post-install: + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} + @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." +.endif + +.include + +.if ${PERL_LEVEL} > 500600 +BUILD_DEPENDS+= ${SITE_PERL}/ExtUtils/ParseXS.pm:${PORTSDIR}/devel/p5-ExtUtils-ParseXS + MAN3= Module::Build.3 \ Module::Build::Base.3 \ Module::Build::Compat.3 \ @@ -44,22 +59,8 @@ MAN3= Module::Build.3 \ Module::Build::Platform::cygwin.3 \ Module::Build::Platform::darwin.3 \ Module::Build::Platform::os2.3 - MAN1= config_data.1 -.if !defined(NOPORTDOCS) -PORTDOCS= Changes INSTALL README - -post-install: - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} - @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." -.endif - -.include - -.if ${PERL_LEVEL} > 500600 -BUILD_DEPENDS+= ${SITE_PERL}/ExtUtils/ParseXS.pm:${PORTSDIR}/devel/p5-ExtUtils-ParseXS .endif .if ${PERL_LEVEL} < 500805 BUILD_DEPENDS+= ${SITE_PERL}/Pod/Man.pm:${PORTSDIR}/textproc/p5-podlators -- cgit v1.1