309a9ff76a
- Sort $BUILD_DEPENDS as in Makefile.PL.
140 lines
5.1 KiB
Makefile
140 lines
5.1 KiB
Makefile
# New ports collection makefile for: DBIx-Class
|
|
# Date created: 14 Aug 2005
|
|
# Whom: Lars Balker Rasmussen <lbr@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= DBIx-Class
|
|
PORTVERSION= 0.08108
|
|
CATEGORIES= databases perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Extensible and flexible object <-> relational mapper
|
|
|
|
BUILD_DEPENDS= p5-Carp-Clan>=6:${PORTSDIR}/devel/p5-Carp-Clan \
|
|
p5-Class-Accessor-Grouped>=0.08003:${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-Data-Page>=2.00:${PORTSDIR}/databases/p5-Data-Page \
|
|
p5-DBD-SQLite>=1.25:${PORTSDIR}/databases/p5-DBD-SQLite \
|
|
p5-DBI>=1.60.5:${PORTSDIR}/databases/p5-DBI \
|
|
p5-JSON-Any>=1.18:${PORTSDIR}/converters/p5-JSON-Any \
|
|
p5-MRO-Compat>=0.09:${PORTSDIR}/devel/p5-MRO-Compat \
|
|
p5-Module-Find>=0.06:${PORTSDIR}/devel/p5-Module-Find \
|
|
p5-Path-Class>=0.16:${PORTSDIR}/devel/p5-Path-Class \
|
|
p5-Scope-Guard>=0.03:${PORTSDIR}/devel/p5-Scope-Guard \
|
|
p5-SQL-Abstract>=1.56:${PORTSDIR}/databases/p5-SQL-Abstract \
|
|
p5-SQL-Abstract-Limit>=0.13:${PORTSDIR}/databases/p5-SQL-Abstract-Limit \
|
|
p5-Sub-Name>=0.04:${PORTSDIR}/devel/p5-Sub-Name
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
OPTIONS= SQLT "SQL::Translator (generate DDL from schema)" Off
|
|
|
|
PERL_CONFIGURE= 5.8.1+
|
|
CONFIGURE_ENV= DBICTEST_NO_SQLITE_CHECK=1
|
|
|
|
MAN1= dbicadmin.1
|
|
MAN3= DBIx::Class.3 \
|
|
DBIx::Class::AccessorGroup.3 \
|
|
DBIx::Class::CDBICompat.3 \
|
|
DBIx::Class::CDBICompat::AbstractSearch.3 \
|
|
DBIx::Class::CDBICompat::ColumnsAsHash.3 \
|
|
DBIx::Class::CDBICompat::Copy.3 \
|
|
DBIx::Class::CDBICompat::Iterator.3 \
|
|
DBIx::Class::CDBICompat::NoObjectIndex.3 \
|
|
DBIx::Class::CDBICompat::Relationship.3 \
|
|
DBIx::Class::CDBICompat::Relationships.3 \
|
|
DBIx::Class::CDBICompat::SQLTransformer.3 \
|
|
DBIx::Class::Core.3 \
|
|
DBIx::Class::Cursor.3 \
|
|
DBIx::Class::DB.3 \
|
|
DBIx::Class::Exception.3 \
|
|
DBIx::Class::InflateColumn.3 \
|
|
DBIx::Class::InflateColumn::DateTime.3 \
|
|
DBIx::Class::InflateColumn::File.3 \
|
|
DBIx::Class::Manual.3 \
|
|
DBIx::Class::Manual::Component.3 \
|
|
DBIx::Class::Manual::Cookbook.3 \
|
|
DBIx::Class::Manual::DocMap.3 \
|
|
DBIx::Class::Manual::Example.3 \
|
|
DBIx::Class::Manual::FAQ.3 \
|
|
DBIx::Class::Manual::Glossary.3 \
|
|
DBIx::Class::Manual::Intro.3 \
|
|
DBIx::Class::Manual::Joining.3 \
|
|
DBIx::Class::Manual::Reading.3 \
|
|
DBIx::Class::Manual::Troubleshooting.3 \
|
|
DBIx::Class::Ordered.3 \
|
|
DBIx::Class::PK.3 \
|
|
DBIx::Class::PK::Auto.3 \
|
|
DBIx::Class::PK::Auto::DB2.3 \
|
|
DBIx::Class::PK::Auto::MSSQL.3 \
|
|
DBIx::Class::PK::Auto::MySQL.3 \
|
|
DBIx::Class::PK::Auto::Oracle.3 \
|
|
DBIx::Class::PK::Auto::Pg.3 \
|
|
DBIx::Class::PK::Auto::SQLite.3 \
|
|
DBIx::Class::Relationship.3 \
|
|
DBIx::Class::Relationship::Base.3 \
|
|
DBIx::Class::ResultClass::HashRefInflator.3 \
|
|
DBIx::Class::ResultSet.3 \
|
|
DBIx::Class::ResultSetColumn.3 \
|
|
DBIx::Class::ResultSetManager.3 \
|
|
DBIx::Class::ResultSource.3 \
|
|
DBIx::Class::ResultSource::Table.3 \
|
|
DBIx::Class::ResultSource::View.3 \
|
|
DBIx::Class::ResultSourceHandle.3 \
|
|
DBIx::Class::ResultSourceProxy::Table.3 \
|
|
DBIx::Class::Row.3 \
|
|
DBIx::Class::SQLAHacks::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::AmbiguousGlob.3 \
|
|
DBIx::Class::Storage::DBI::Cursor.3 \
|
|
DBIx::Class::Storage::DBI::DB2.3 \
|
|
DBIx::Class::Storage::DBI::MSSQL.3 \
|
|
DBIx::Class::Storage::DBI::MultiColumnIn.3 \
|
|
DBIx::Class::Storage::DBI::NoBindVars.3 \
|
|
DBIx::Class::Storage::DBI::ODBC.3 \
|
|
DBIx::Class::Storage::DBI::ODBC::ACCESS.3 \
|
|
DBIx::Class::Storage::DBI::ODBC::DB2_400_SQL.3 \
|
|
DBIx::Class::Storage::DBI::ODBC::Microsoft_SQL_Server.3 \
|
|
DBIx::Class::Storage::DBI::Oracle.3 \
|
|
DBIx::Class::Storage::DBI::Oracle::Generic.3 \
|
|
DBIx::Class::Storage::DBI::Oracle::WhereJoins.3 \
|
|
DBIx::Class::Storage::DBI::Pg.3 \
|
|
DBIx::Class::Storage::DBI::Replicated.3 \
|
|
DBIx::Class::Storage::DBI::Replicated::Balancer.3 \
|
|
DBIx::Class::Storage::DBI::Replicated::Balancer::First.3 \
|
|
DBIx::Class::Storage::DBI::Replicated::Balancer::Random.3 \
|
|
DBIx::Class::Storage::DBI::Replicated::Pool.3 \
|
|
DBIx::Class::Storage::DBI::Replicated::Replicant.3 \
|
|
DBIx::Class::Storage::DBI::Replicated::WithDSN.3 \
|
|
DBIx::Class::Storage::DBI::Role::QueryCounter.3 \
|
|
DBIx::Class::Storage::DBI::SQLite.3 \
|
|
DBIx::Class::Storage::DBI::Sybase.3 \
|
|
DBIx::Class::Storage::DBI::Sybase::Base.3 \
|
|
DBIx::Class::Storage::DBI::Sybase::MSSQL.3 \
|
|
DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server.3 \
|
|
DBIx::Class::Storage::DBI::mysql.3 \
|
|
DBIx::Class::Storage::Statistics.3 \
|
|
DBIx::Class::Storage::TxnScopeGuard.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.pre.mk>
|
|
|
|
.ifdef(WITH_SQLT)
|
|
RUN_DEPENDS+= p5-SQL-Translator>=0.09.004:${PORTSDIR}/databases/p5-SQL-Translator
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|