diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2005-09-15 10:28:07 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2005-09-15 10:28:07 +0000 |
commit | eee599e00d18a3672667d0bf52e87b55808850bc (patch) | |
tree | 29503f9c600ab49ae3b20de9b8c05d2d0ae00415 /databases/p5-Class-DBI | |
parent | - Builds and runs on !i386 (diff) |
Upgrade to 3.0.5, drop support for obsolete perl-5.00503
Changes: http://search.cpan.org/src/TMTM/Class-DBI-v3.0.5/Changes
Notes
Notes:
svn path=/head/; revision=142801
Diffstat (limited to 'databases/p5-Class-DBI')
-rw-r--r-- | databases/p5-Class-DBI/Makefile | 25 | ||||
-rw-r--r-- | databases/p5-Class-DBI/distinfo | 4 | ||||
-rw-r--r-- | databases/p5-Class-DBI/files/5.005-Makefile.PL | 11 | ||||
-rw-r--r-- | databases/p5-Class-DBI/files/5.005-lib::Class::DBI.pm | 11 |
4 files changed, 14 insertions, 37 deletions
diff --git a/databases/p5-Class-DBI/Makefile b/databases/p5-Class-DBI/Makefile index 6baf7eb8ef11..e031179fb925 100644 --- a/databases/p5-Class-DBI/Makefile +++ b/databases/p5-Class-DBI/Makefile @@ -6,29 +6,36 @@ # PORTNAME= Class-DBI -PORTVERSION= 0.96 -PORTREVISION= 2 +PORTVERSION= 3.0.5 CATEGORIES= databases perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Class PKGNAMEPREFIX= p5- +DISTNAME= ${PORTNAME}-v${PORTVERSION} MAINTAINER= skv@FreeBSD.org COMMENT= Simple Database Abstraction BUILD_DEPENDS= ${SITE_PERL}/Class/Accessor.pm:${PORTSDIR}/devel/p5-Class-Accessor \ + ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \ ${SITE_PERL}/Class/Data/Inheritable.pm:${PORTSDIR}/devel/p5-Class-Data-Inheritable \ ${SITE_PERL}/Ima/DBI.pm:${PORTSDIR}/databases/p5-Ima-DBI \ ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \ ${SITE_PERL}/UNIVERSAL/moniker.pm:${PORTSDIR}/devel/p5-UNIVERSAL-moniker \ ${SITE_PERL}/${PERL_ARCH}/List/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils \ + ${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version \ ${SITE_PERL}/Class/Trigger.pm:${PORTSDIR}/devel/p5-Class-Trigger RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes -MAN3= Class::DBI.3 Class::DBI::Column.3 Class::DBI::ColumnGrouper.3 \ - Class::DBI::Iterator.3 Class::DBI::Query.3 Class::DBI::Relationship.3 +MAN3= Class::DBI.3 Class::DBI::Attribute.3 \ + Class::DBI::Cascade::Delete.3 Class::DBI::Cascade::Fail.3 \ + Class::DBI::Cascade::None.3 Class::DBI::Column.3 \ + Class::DBI::ColumnGrouper.3 Class::DBI::Iterator.3 \ + Class::DBI::Query.3 Class::DBI::Relationship.3 \ + Class::DBI::Search::Basic.3 Class::DBI::SearchGenerator.3 \ + Class::DBI::Test::SQLite.3 post-configure: # dirty hack to deceive irritable pod2man @@ -36,16 +43,8 @@ post-configure: .include <bsd.port.pre.mk> -.if ${PERL_LEVEL} < 500800 -BUILD_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp .if ${PERL_LEVEL} < 500600 -EXTRA_PATCHES= ${PATCHDIR}/5.005-lib::Class::DBI.pm ${PATCHDIR}/5.005-Makefile.PL - -post-patch: - @${FIND} ${WRKSRC} -name "*.pm" | ${XARGS} \ - ${PERL} -pi -e 's/\buse warnings[^;]*;//g' - @${FIND} ${WRKSRC} -name "*.orig" | ${XARGS} ${RM} -.endif +IGNORE= Perl 5.6 or newer required. Install lang/perl5.8 or lang/perl5 and try again. .endif .include <bsd.port.post.mk> diff --git a/databases/p5-Class-DBI/distinfo b/databases/p5-Class-DBI/distinfo index 2190bfd77e21..124d15f025b7 100644 --- a/databases/p5-Class-DBI/distinfo +++ b/databases/p5-Class-DBI/distinfo @@ -1,2 +1,2 @@ -MD5 (Class-DBI-0.96.tar.gz) = 5026f142435b589c31aae1a97b2f1344 -SIZE (Class-DBI-0.96.tar.gz) = 70279 +MD5 (Class-DBI-v3.0.5.tar.gz) = 414d239293915330b5a6a2b555638428 +SIZE (Class-DBI-v3.0.5.tar.gz) = 102217 diff --git a/databases/p5-Class-DBI/files/5.005-Makefile.PL b/databases/p5-Class-DBI/files/5.005-Makefile.PL deleted file mode 100644 index 617597ffc8c4..000000000000 --- a/databases/p5-Class-DBI/files/5.005-Makefile.PL +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.PL~ Wed Jan 7 15:01:06 2004 -+++ Makefile.PL Tue Mar 16 17:11:54 2004 -@@ -7,8 +7,6 @@ - ($PACKAGE_FILE) = $PACKAGE =~ /::([^:]+)/; - $LAST_API_CHANGE = 0.93; - --require 5.006; -- - eval "require $PACKAGE"; - - unless ($@) { # Make sure we did find the module. diff --git a/databases/p5-Class-DBI/files/5.005-lib::Class::DBI.pm b/databases/p5-Class-DBI/files/5.005-lib::Class::DBI.pm deleted file mode 100644 index 130b4d488e5b..000000000000 --- a/databases/p5-Class-DBI/files/5.005-lib::Class::DBI.pm +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/Class/DBI.pm~ Tue Mar 16 17:01:40 2004 -+++ lib/Class/DBI.pm Tue Mar 16 17:02:02 2004 -@@ -153,7 +153,7 @@ - my ($class, $alias) = split /=/, shift, 2; - my $table = $class ? $class->table : $self->table; - $cmap{ $alias || $table } = $class || ref $self || $self; -- ($alias ||= "") &&= " AS $alias"; -+ if ($alias ||= "") { $alias = " AS $alias" }; - return $table . $alias; - }; - |