diff options
Diffstat (limited to 'databases/p5-DBIx-Class/Makefile')
-rw-r--r-- | databases/p5-DBIx-Class/Makefile | 132 |
1 files changed, 62 insertions, 70 deletions
diff --git a/databases/p5-DBIx-Class/Makefile b/databases/p5-DBIx-Class/Makefile index 2cca78697ba3..d1509057999a 100644 --- a/databases/p5-DBIx-Class/Makefile +++ b/databases/p5-DBIx-Class/Makefile @@ -6,8 +6,7 @@ # PORTNAME= DBIx-Class -PORTVERSION= 0.08127 -PORTREVISION= 1 +PORTVERSION= 0.08194 CATEGORIES= databases perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:ABRAXXA @@ -16,78 +15,51 @@ PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Extensible and flexible object <-> relational mapper -TEST_DEPENDS= p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \ - p5-Test-Simple>=0.90:${PORTSDIR}/devel/p5-Test-Simple \ - p5-Test-Warn>=0.21:${PORTSDIR}/devel/p5-Test-Warn \ - p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite \ - p5-SQL-Translator>=0.09.004:${PORTSDIR}/databases/p5-SQL-Translator \ - p5-DateTime>=0.55:${PORTSDIR}/devel/p5-DateTime \ - p5-DateTime-Format-Strptime>0:${PORTSDIR}/devel/p5-DateTime-Format-Strptime \ - p5-DateTime-Format-SQLite>0:${PORTSDIR}/devel/p5-DateTime-Format-SQLite \ - p5-JSON-Any>0:${PORTSDIR}/converters/p5-JSON-Any \ - p5-Moose>0:${PORTSDIR}/devel/p5-Moose \ - p5-MooseX-Types>0:${PORTSDIR}/devel/p5-MooseX-Types \ - p5-MooseX-Types-JSON>0:${PORTSDIR}/devel/p5-MooseX-Types-JSON \ - p5-MooseX-Types-Path-Class>=0.04:${PORTSDIR}/devel/p5-MooseX-Types-Path-Class \ - p5-namespace-autoclean>0:${PORTSDIR}/devel/p5-namespace-autoclean \ - p5-Class-Trigger>=0.12:${PORTSDIR}/devel/p5-Class-Trigger \ - p5-DBIx-ContextualFetch>0:${PORTSDIR}/databases/p5-DBIx-ContextualFetch \ - p5-Time-Piece>0:${PORTSDIR}/devel/p5-Time-Piece \ - p5-Time-Piece-MySQL>0:${PORTSDIR}/databases/p5-Time-Piece-MySQL \ - p5-Clone>=0.30:${PORTSDIR}/devel/p5-Clone \ - p5-Math-Base36>=0.07:${PORTSDIR}/math/p5-Math-Base36 \ - p5-Text-CSV>=0:${PORTSDIR}/textproc/p5-Text-CSV \ - p5-Class-DBI-Plugin-DeepAbstractSearch>=0:${PORTSDIR}/databases/p5-Class-DBI-Plugin-DeepAbstractSearch \ - p5-DateTime-Format-MySQL>0:${PORTSDIR}/devel/p5-DateTime-Format-MySQL \ - p5-DateTime-Format-Pg>0:${PORTSDIR}/devel/p5-DateTime-Format-Pg -BUILD_DEPENDS= p5-Carp-Clan>=6.0:${PORTSDIR}/devel/p5-Carp-Clan \ - p5-Class-Accessor-Grouped>=0.09003:${PORTSDIR}/devel/p5-Class-Accessor-Grouped \ - p5-Class-C3-Componentised>=1.0005:${PORTSDIR}/devel/p5-Class-C3-Componentised \ - p5-Class-Inspector>=1.24:${PORTSDIR}/devel/p5-Class-Inspector \ - p5-Config-Any>0:${PORTSDIR}/devel/p5-Config-Any \ - p5-Context-Preserve>=0.01:${PORTSDIR}/devel/p5-Context-Preserve \ - p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite \ - p5-DBI>=1.60.9:${PORTSDIR}/databases/p5-DBI \ - p5-Data-Dumper-Concise>=1.000:${PORTSDIR}/devel/p5-Data-Dumper-Concise \ - p5-Data-Page>=2.00:${PORTSDIR}/databases/p5-Data-Page \ - p5-Hash-Merge>0:${PORTSDIR}/textproc/p5-Hash-Merge \ - p5-MRO-Compat>=0.09:${PORTSDIR}/devel/p5-MRO-Compat \ - p5-Module-Find>=0.06:${PORTSDIR}/devel/p5-Module-Find \ - p5-Path-Class>=0.18:${PORTSDIR}/devel/p5-Path-Class \ - p5-SQL-Abstract>=1.67:${PORTSDIR}/databases/p5-SQL-Abstract \ - p5-Scope-Guard>=0.03:${PORTSDIR}/devel/p5-Scope-Guard \ - p5-Sub-Name>=0.04:${PORTSDIR}/devel/p5-Sub-Name \ - p5-Try-Tiny>=0.04:${PORTSDIR}/lang/p5-Try-Tiny \ - p5-Variable-Magic>=0.28:${PORTSDIR}/devel/p5-Variable-Magic \ - p5-namespace-clean>=0.20:${PORTSDIR}/devel/p5-namespace-clean -RUN_DEPENDS= p5-Carp-Clan>=6.0:${PORTSDIR}/devel/p5-Carp-Clan \ - p5-Class-Accessor-Grouped>=0.09003:${PORTSDIR}/devel/p5-Class-Accessor-Grouped \ - p5-Class-C3-Componentised>=1.0005:${PORTSDIR}/devel/p5-Class-C3-Componentised \ +RUN_DEPENDS= p5-Class-Accessor-Grouped>=0.10002:${PORTSDIR}/devel/p5-Class-Accessor-Grouped \ + p5-Class-C3-Componentised>=1.0009:${PORTSDIR}/devel/p5-Class-C3-Componentised \ p5-Class-Inspector>=1.24:${PORTSDIR}/devel/p5-Class-Inspector \ - p5-Config-Any>0:${PORTSDIR}/devel/p5-Config-Any \ + p5-Config-Any>=0.20:${PORTSDIR}/devel/p5-Config-Any \ p5-Context-Preserve>=0.01:${PORTSDIR}/devel/p5-Context-Preserve \ - p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite \ - p5-DBI>=1.60.9:${PORTSDIR}/databases/p5-DBI \ - p5-Data-Dumper-Concise>=1.000:${PORTSDIR}/devel/p5-Data-Dumper-Concise \ + p5-DBI>=1.57:${PORTSDIR}/databases/p5-DBI \ + p5-Data-Compare>=1.2200:${PORTSDIR}/devel/p5-Data-Compare \ + p5-Data-Dumper-Concise>=2.020:${PORTSDIR}/devel/p5-Data-Dumper-Concise \ p5-Data-Page>=2.00:${PORTSDIR}/databases/p5-Data-Page \ - p5-Hash-Merge>0:${PORTSDIR}/textproc/p5-Hash-Merge \ + p5-Hash-Merge>=0.12:${PORTSDIR}/textproc/p5-Hash-Merge \ p5-MRO-Compat>=0.09:${PORTSDIR}/devel/p5-MRO-Compat \ p5-Module-Find>=0.06:${PORTSDIR}/devel/p5-Module-Find \ p5-Path-Class>=0.18:${PORTSDIR}/devel/p5-Path-Class \ - p5-SQL-Abstract>=1.67:${PORTSDIR}/databases/p5-SQL-Abstract \ + p5-SQL-Abstract>=1.72:${PORTSDIR}/databases/p5-SQL-Abstract \ p5-Scope-Guard>=0.03:${PORTSDIR}/devel/p5-Scope-Guard \ p5-Sub-Name>=0.04:${PORTSDIR}/devel/p5-Sub-Name \ p5-Try-Tiny>=0.04:${PORTSDIR}/lang/p5-Try-Tiny \ - p5-Variable-Magic>=0.28:${PORTSDIR}/devel/p5-Variable-Magic \ + p5-Variable-Magic>=0.44:${PORTSDIR}/devel/p5-Variable-Magic \ p5-namespace-clean>=0.20:${PORTSDIR}/devel/p5-namespace-clean +TEST_DEPENDS= p5-Class-DBI-Plugin-DeepAbstractSearch>=0:${PORTSDIR}/databases/p5-Class-DBI-Plugin-DeepAbstractSearch \ + p5-Class-Trigger>=0.12:${PORTSDIR}/devel/p5-Class-Trigger \ + p5-Clone>=0.30:${PORTSDIR}/devel/p5-Clone \ + p5-DateTime>=0.55:${PORTSDIR}/devel/p5-DateTime \ + p5-DateTime-Format-MySQL>=0:${PORTSDIR}/devel/p5-DateTime-Format-MySQL \ + p5-DateTime-Format-Pg>=0:${PORTSDIR}/devel/p5-DateTime-Format-Pg \ + p5-DateTime-Format-SQLite>=0:${PORTSDIR}/devel/p5-DateTime-Format-SQLite \ + p5-DateTime-Format-Strptime>=0:${PORTSDIR}/devel/p5-DateTime-Format-Strptime \ + p5-DBD-SQLite>=1.29:${PORTSDIR}/databases/p5-DBD-SQLite \ + p5-DBIx-ContextualFetch>=0:${PORTSDIR}/databases/p5-DBIx-ContextualFetch \ + p5-JSON-Any>=0:${PORTSDIR}/converters/p5-JSON-Any \ + p5-Math-Base36>=0.07:${PORTSDIR}/math/p5-Math-Base36 \ + p5-Moose>=0:${PORTSDIR}/devel/p5-Moose \ + p5-MooseX-Types>=0:${PORTSDIR}/devel/p5-MooseX-Types \ + p5-MooseX-Types-JSON>=0:${PORTSDIR}/devel/p5-MooseX-Types-JSON \ + p5-MooseX-Types-Path-Class>=0.04:${PORTSDIR}/devel/p5-MooseX-Types-Path-Class \ + p5-Package-Stash>=0.28:${PORTSDIR}/devel/p5-Package-Stash \ + p5-SQL-Translator>=0.09.004:${PORTSDIR}/databases/p5-SQL-Translator \ + p5-Test-Exception>=0.31:${PORTSDIR}/devel/p5-Test-Exception \ + p5-Test-Warn>=0.21:${PORTSDIR}/devel/p5-Test-Warn \ + p5-Text-CSV>=0:${PORTSDIR}/textproc/p5-Text-CSV \ + p5-Time-Piece>=0:${PORTSDIR}/devel/p5-Time-Piece \ + p5-Time-Piece-MySQL>=0:${PORTSDIR}/databases/p5-Time-Piece-MySQL \ + p5-namespace-autoclean>=0:${PORTSDIR}/devel/p5-namespace-autoclean -OPTIONS= SQLT "SQL::Translator (generate DDL from schema)" Off - -.include <bsd.port.options.mk> - -.ifdef(WITH_SQLT) -RUN_DEPENDS+= p5-SQL-Translator>=0.09.004:${PORTSDIR}/databases/p5-SQL-Translator -.endif +OPTIONS= SQLT "SQL::Translator (generate DDL from schema)" off PERL_CONFIGURE= 5.8.1+ CONFIGURE_ENV= DBICTEST_NO_SQLITE_CHECK=1 @@ -105,14 +77,15 @@ MAN3= DBIx::Class.3 \ DBIx::Class::CDBICompat::Relationship.3 \ DBIx::Class::CDBICompat::Relationships.3 \ DBIx::Class::CDBICompat::SQLTransformer.3 \ + DBIx::Class::Carp.3 \ DBIx::Class::Core.3 \ DBIx::Class::Cursor.3 \ DBIx::Class::DB.3 \ DBIx::Class::Exception.3 \ + DBIx::Class::FilterColumn.3 \ DBIx::Class::InflateColumn.3 \ DBIx::Class::InflateColumn::DateTime.3 \ DBIx::Class::InflateColumn::File.3 \ - DBIx::Class::FilterColumn.3 \ DBIx::Class::Manual.3 \ DBIx::Class::Manual::Component.3 \ DBIx::Class::Manual::Cookbook.3 \ @@ -147,16 +120,25 @@ MAN3= DBIx::Class.3 \ DBIx::Class::ResultSourceHandle.3 \ DBIx::Class::ResultSourceProxy::Table.3 \ DBIx::Class::Row.3 \ + DBIx::Class::SQLMaker.3 \ + DBIx::Class::SQLMaker::LimitDialects.3 \ + DBIx::Class::SQLMaker::OracleJoins.3 \ DBIx::Class::Schema.3 \ DBIx::Class::Schema::Versioned.3 \ DBIx::Class::Serialize::Storable.3 \ DBIx::Class::StartupCheck.3 \ DBIx::Class::Storage.3 \ DBIx::Class::Storage::DBI.3 \ + DBIx::Class::Storage::DBI::ACCESS.3 \ + DBIx::Class::Storage::DBI::ADO.3 \ + DBIx::Class::Storage::DBI::ADO::MS_Jet.3 \ + DBIx::Class::Storage::DBI::ADO::MS_Jet::Cursor.3 \ DBIx::Class::Storage::DBI::ADO::Microsoft_SQL_Server.3 \ DBIx::Class::Storage::DBI::AutoCast.3 \ DBIx::Class::Storage::DBI::Cursor.3 \ DBIx::Class::Storage::DBI::DB2.3 \ + DBIx::Class::Storage::DBI::Firebird.3 \ + DBIx::Class::Storage::DBI::Firebird::Common.3 \ DBIx::Class::Storage::DBI::Informix.3 \ DBIx::Class::Storage::DBI::InterBase.3 \ DBIx::Class::Storage::DBI::MSSQL.3 \ @@ -181,10 +163,12 @@ MAN3= DBIx::Class.3 \ DBIx::Class::Storage::DBI::Replicated::Replicant.3 \ DBIx::Class::Storage::DBI::Replicated::WithDSN.3 \ DBIx::Class::Storage::DBI::SQLAnywhere.3 \ + DBIx::Class::Storage::DBI::SQLAnywhere::Cursor.3 \ DBIx::Class::Storage::DBI::SQLite.3 \ DBIx::Class::Storage::DBI::Sybase.3 \ DBIx::Class::Storage::DBI::Sybase::ASE.3 \ DBIx::Class::Storage::DBI::Sybase::ASE::NoBindVars.3 \ + DBIx::Class::Storage::DBI::Sybase::FreeTDS.3 \ DBIx::Class::Storage::DBI::Sybase::MSSQL.3 \ DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server.3 \ DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server::NoBindVars.3 \ @@ -192,14 +176,22 @@ MAN3= DBIx::Class.3 \ DBIx::Class::Storage::DBI::mysql.3 \ DBIx::Class::Storage::Statistics.3 \ DBIx::Class::Storage::TxnScopeGuard.3 \ - DBIx::Class::SQLMaker::OracleJoins.3 \ - DBIx::Class::SQLMaker::LimitDialects.3 \ - DBIx::Class::SQLMaker.3 \ DBIx::Class::UTF8Columns.3 \ SQL::Translator::Parser::DBIx::Class.3 \ SQL::Translator::Producer::DBIx::Class::File.3 -post-extract: - @${PERL} -i.bak -ne 'print unless /^(requires .DBD|test_requires|auto_install|recommends|configure_requires)/' ${WRKSRC}/Makefile.PL +.include <bsd.port.options.mk> + +.ifdef(WITH_SQLT) +RUN_DEPENDS+= p5-SQL-Translator>=0.09.004:${PORTSDIR}/databases/p5-SQL-Translator +.endif + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501001 +BUILD_DEPENDS+= p5-File-Temp>=0.22:${PORTSDIR}/devel/p5-File-Temp +RUN_DEPENDS+= p5-File-Path>=2.07:${PORTSDIR}/devel/p5-File-Path +TEST_DEPENDS+= p5-Test-Simple>=0.92:${PORTSDIR}/devel/p5-Test-Simple +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |