diff options
author | mat <mat@FreeBSD.org> | 2005-04-07 19:57:25 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2005-04-07 19:57:25 +0800 |
commit | d1feff4db22a4f5da7bf8453f6adcd1697a79403 (patch) | |
tree | 77ea6de8d05a4bab5beecd1135afb8d34d7e80f4 | |
parent | ae0e8bf556b09d00d7a21d3cb7df6ac8ddd36735 (diff) | |
download | freebsd-ports-gnome-d1feff4db22a4f5da7bf8453f6adcd1697a79403.tar.gz freebsd-ports-gnome-d1feff4db22a4f5da7bf8453f6adcd1697a79403.tar.zst freebsd-ports-gnome-d1feff4db22a4f5da7bf8453f6adcd1697a79403.zip |
Update to 0.10
Add some docs
-rw-r--r-- | devel/p5-Path-Class/Makefile | 24 | ||||
-rw-r--r-- | devel/p5-Path-Class/distinfo | 4 | ||||
-rw-r--r-- | devel/p5-Path-Class/pkg-plist | 5 |
3 files changed, 24 insertions, 9 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> diff --git a/devel/p5-Path-Class/distinfo b/devel/p5-Path-Class/distinfo index 2aafb3d01437..e36f660f1a7e 100644 --- a/devel/p5-Path-Class/distinfo +++ b/devel/p5-Path-Class/distinfo @@ -1,2 +1,2 @@ -MD5 (Path-Class-0.08.tar.gz) = c824a66dd7dda1fed675b9591ec29554 -SIZE (Path-Class-0.08.tar.gz) = 11519 +MD5 (Path-Class-0.10.tar.gz) = 8ee876a0e31a57357f0f4c172ba670b6 +SIZE (Path-Class-0.10.tar.gz) = 12591 diff --git a/devel/p5-Path-Class/pkg-plist b/devel/p5-Path-Class/pkg-plist index 745ee11f7a0c..2b6a9dd66a46 100644 --- a/devel/p5-Path-Class/pkg-plist +++ b/devel/p5-Path-Class/pkg-plist @@ -3,8 +3,5 @@ %%SITE_PERL%%/Path/Class/Entity.pm %%SITE_PERL%%/Path/Class/Dir.pm %%SITE_PERL%%/Path/Class/File.pm -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Path/Class/.packlist -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Path/Class -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Path @dirrm %%SITE_PERL%%/Path/Class -@dirrm %%SITE_PERL%%/Path +@unexec rmdir %D/%%SITE_PERL%%/Path 2>/dev/null || true |