From f7da8366766891c593b99c8ad82684fb23ae83db Mon Sep 17 00:00:00 2001 From: Erwin Lansing Date: Mon, 28 Feb 2005 07:30:14 +0000 Subject: [PATCH] The manpage is only installed for perl 5.6.0 and higher, so make it conditional. This also explains why neither the submitter nor me found it, while both pointyhat and leeym did. --- devel/p5-Parse-PerlConfig/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/devel/p5-Parse-PerlConfig/Makefile b/devel/p5-Parse-PerlConfig/Makefile index 198b24578b3c..09948e5fd8db 100644 --- a/devel/p5-Parse-PerlConfig/Makefile +++ b/devel/p5-Parse-PerlConfig/Makefile @@ -7,6 +7,7 @@ PORTNAME= Parse-PerlConfig PORTVERSION= 0.05 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Parse @@ -17,6 +18,10 @@ COMMENT= Perl5 module to use perl scripts as config files PERL_CONFIGURE= yes -MAN3= Parse::PerlConfig.3 +.include -.include +.if ${PERL_LEVEL} >= 500600 +MAN3+= Parse::PerlConfig.3 +.endif + +.include