diff options
author | clsung <clsung@FreeBSD.org> | 2005-04-23 07:12:31 +0000 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2005-04-23 07:12:31 +0000 |
commit | 1f767588f42b5481b5398b5042b542863784c795 (patch) | |
tree | 7ef85ba96cdc11a7d18e0a7e8769a900ca0ee626 /devel | |
parent | 715e7d9634af5592e02fd04d4c6ad6b49b13a0d1 (diff) | |
download | FreeBSD-ports-1f767588f42b5481b5398b5042b542863784c795.zip FreeBSD-ports-1f767588f42b5481b5398b5042b542863784c795.tar.gz |
* make dependency on File::Spec unconditional
* remove IGNORE if perl >= 5.8
* fix pkg-plist
- bump PORTREVISION
PR: 80188
Submitted by: skv
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-File-Temp/Makefile | 17 | ||||
-rw-r--r-- | devel/p5-File-Temp/pkg-plist | 1 |
2 files changed, 5 insertions, 13 deletions
diff --git a/devel/p5-File-Temp/Makefile b/devel/p5-File-Temp/Makefile index d132e2e..924b384 100644 --- a/devel/p5-File-Temp/Makefile +++ b/devel/p5-File-Temp/Makefile @@ -7,7 +7,7 @@ PORTNAME= File-Temp PORTVERSION= 0.16 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= File @@ -16,7 +16,8 @@ PKGNAMEPREFIX= p5- MAINTAINER= clsung@FreeBSD.org COMMENT= Perl5 module to generate temporary files or directories safely -BUILD_DEPENDS= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple +BUILD_DEPENDS= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec \ + ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes @@ -24,14 +25,4 @@ CONFIGURE_ARGS= INSTALLDIRS=site MAN3= File::Temp.3 -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500601 -BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec -RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec -.endif -.if ${PERL_LEVEL} > 500800 -IGNORE= "This module is already included in perl 5.8.x and later." -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/devel/p5-File-Temp/pkg-plist b/devel/p5-File-Temp/pkg-plist index 3d447a8..2b420e4 100644 --- a/devel/p5-File-Temp/pkg-plist +++ b/devel/p5-File-Temp/pkg-plist @@ -1,4 +1,5 @@ %%SITE_PERL%%/File/Temp.pm %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Temp/.packlist @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Temp +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/File 2>/dev/null || true @unexec rmdir %D/%%SITE_PERL%%/File 2>/dev/null || true |