summaryrefslogtreecommitdiffstats
path: root/devel/p5-Module-Build
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2005-12-04 11:46:02 +0000
committererwin <erwin@FreeBSD.org>2005-12-04 11:46:02 +0000
commitb0d3108818c8e66cbd04a7323095c13bb0b695ba (patch)
tree9c9de78d26231bdd1a5d014e217094fd6c60f1ec /devel/p5-Module-Build
parent47c3f80048c9fbb90aaeca91794d6f91a470373c (diff)
downloadFreeBSD-ports-b0d3108818c8e66cbd04a7323095c13bb0b695ba.zip
FreeBSD-ports-b0d3108818c8e66cbd04a7323095c13bb0b695ba.tar.gz
- 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)
Diffstat (limited to 'devel/p5-Module-Build')
-rw-r--r--devel/p5-Module-Build/Makefile29
1 files changed, 15 insertions, 14 deletions
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 <bsd.port.pre.mk>
+
+.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 <bsd.port.pre.mk>
-
-.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
OpenPOWER on IntegriCloud