aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2006-07-21 04:43:19 +0800
committersat <sat@FreeBSD.org>2006-07-21 04:43:19 +0800
commit075712b31654fbe23f71254b7c931b78330fa85b (patch)
tree47d50792f20addbf7d0ef8aee739aa27e5b6e4d7
parentf8e83bc884792454c016ad2aa9aef42e9a7cc7fe (diff)
downloadfreebsd-ports-gnome-075712b31654fbe23f71254b7c931b78330fa85b.tar.gz
freebsd-ports-gnome-075712b31654fbe23f71254b7c931b78330fa85b.tar.zst
freebsd-ports-gnome-075712b31654fbe23f71254b7c931b78330fa85b.zip
- Data::Dumper and Test::More is in perl base
- Scalar::Util is in perl base 5.7.2 and later versions PR: ports/100337 Submitted by: Gea-Suan Lin <gslin@gslin.org>
-rw-r--r--devel/p5-Class-Std/Makefile10
-rw-r--r--devel/p5-Class-Std/pkg-plist4
2 files changed, 8 insertions, 6 deletions
diff --git a/devel/p5-Class-Std/Makefile b/devel/p5-Class-Std/Makefile
index fc21ba996535..9d3190a73b0f 100644
--- a/devel/p5-Class-Std/Makefile
+++ b/devel/p5-Class-Std/Makefile
@@ -8,6 +8,7 @@
PORTNAME= Class-Std
DISTVERSIONPREFIX= v
DISTVERSION= 0.0.8
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Class
@@ -16,10 +17,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Support for creating standard "inside-out" classes
-BUILD_DEPENDS= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
- ${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version \
- ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils \
- ${SITE_PERL}/${PERL_ARCH}/Data/Dumper.pm:${PORTSDIR}/devel/p5-Data-Dumper
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= YES
@@ -32,4 +30,8 @@ MAN3= Class::Std.3
IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again
.endif
+.if ${PERL_LEVEL} < 500702
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
+.endif
+
.include <bsd.port.post.mk>
diff --git a/devel/p5-Class-Std/pkg-plist b/devel/p5-Class-Std/pkg-plist
index 1b4458f109b0..219c7e51ca39 100644
--- a/devel/p5-Class-Std/pkg-plist
+++ b/devel/p5-Class-Std/pkg-plist
@@ -1,5 +1,5 @@
-%%SITE_PERL%%/Class/Std.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Std/.packlist
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Std
+%%SITE_PERL%%/Class/Std.pm
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Std
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class
@dirrmtry %%SITE_PERL%%/Class