aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-File-Temp
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2005-04-23 15:12:31 +0800
committerclsung <clsung@FreeBSD.org>2005-04-23 15:12:31 +0800
commit1f767588f42b5481b5398b5042b542863784c795 (patch)
tree7ef85ba96cdc11a7d18e0a7e8769a900ca0ee626 /devel/p5-File-Temp
parent715e7d9634af5592e02fd04d4c6ad6b49b13a0d1 (diff)
downloadfreebsd-ports-gnome-1f767588f42b5481b5398b5042b542863784c795.tar.gz
freebsd-ports-gnome-1f767588f42b5481b5398b5042b542863784c795.tar.zst
freebsd-ports-gnome-1f767588f42b5481b5398b5042b542863784c795.zip
* 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/p5-File-Temp')
-rw-r--r--devel/p5-File-Temp/Makefile17
-rw-r--r--devel/p5-File-Temp/pkg-plist1
2 files changed, 5 insertions, 13 deletions
diff --git a/devel/p5-File-Temp/Makefile b/devel/p5-File-Temp/Makefile
index d132e2e32198..924b3846e14b 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 3d447a8abb2e..2b420e44f9e5 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