diff options
Diffstat (limited to 'devel/p5-Path-Class/Makefile')
-rw-r--r-- | devel/p5-Path-Class/Makefile | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/devel/p5-Path-Class/Makefile b/devel/p5-Path-Class/Makefile index b0c4b020f50e..512449a74a2f 100644 --- a/devel/p5-Path-Class/Makefile +++ b/devel/p5-Path-Class/Makefile @@ -6,7 +6,7 @@ # PORTNAME= Path-Class -PORTVERSION= 0.08 +PORTVERSION= 0.10 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= ../../authors/id/K/KW/KWILLIAMS/ @@ -15,10 +15,28 @@ PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Cross-platform path specification manipulation -PERL_CONFIGURE= yes +PERL_MODBUILD= yes MAN3= Path::Class.3 \ Path::Class::File.3 \ Path::Class::Dir.3 -.include <bsd.port.mk> +.if !defined(NOPORTDOCS) +PORTDOCS= Changes 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 +EXTRA_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/IO/Dir.pm:${PORTSDIR}/devel/p5-IO \ + ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec +BUILD_DEPENDS= ${EXTRA_DEPENDS} +RUN_DEPENDS= ${EXTRA_DEPENDS} +.endif + +.include <bsd.port.post.mk> |