summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2005-02-28 07:30:14 +0000
committerErwin Lansing <erwin@FreeBSD.org>2005-02-28 07:30:14 +0000
commitf7da8366766891c593b99c8ad82684fb23ae83db (patch)
treee6354e08a2f4a31405c4012b2b3f6be1dd414f74
parentAdd manpages I missed in the last update. (diff)
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.
Notes
Notes: svn path=/head/; revision=129993
-rw-r--r--devel/p5-Parse-PerlConfig/Makefile9
1 files 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 <bsd.port.pre.mk>
-.include <bsd.port.mk>
+.if ${PERL_LEVEL} >= 500600
+MAN3+= Parse::PerlConfig.3
+.endif
+
+.include <bsd.port.post.mk>