aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-DBIx-Class/Makefile
blob: 319b99bd05cb614ffc79e686496dc866943c2f4d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
# 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.08122
PORTREVISION=   1
CATEGORIES= databases perl5
MASTER_SITES=   CPAN
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-Warn>=0:${PORTSDIR}/devel/p5-Test-Warn
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 \
        p5-Class-Inspector>=1.24:${PORTSDIR}/devel/p5-Class-Inspector \
        p5-Data-Page>=2.00:${PORTSDIR}/databases/p5-Data-Page \
        p5-DBI>=1.60.9:${PORTSDIR}/databases/p5-DBI \
        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-Limit>=0.13:${PORTSDIR}/databases/p5-SQL-Abstract-Limit \
        p5-Sub-Name>=0.04:${PORTSDIR}/devel/p5-Sub-Name \
        p5-Data-Dumper-Concise>=1.000:${PORTSDIR}/devel/p5-Data-Dumper-Concise \
        p5-Scope-Guard>=0.03:${PORTSDIR}/devel/p5-Scope-Guard \
        p5-Context-Preserve>=0.01:${PORTSDIR}/devel/p5-Context-Preserve \
        p5-Try-Tiny>=0.04:${PORTSDIR}/lang/p5-Try-Tiny \
        p5-namespace-clean>=0.14:${PORTSDIR}/devel/p5-namespace-clean

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

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::Admin.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::FilterColumn.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::Optional::Dependencies.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::Oracle.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::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::Informix.3 \
    DBIx::Class::Storage::DBI::InterBase.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::Firebird.3 \
    DBIx::Class::Storage::DBI::ODBC::Microsoft_SQL_Server.3 \
    DBIx::Class::Storage::DBI::ODBC::SQL_Anywhere.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::Introduction.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::SQLAnywhere.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::MSSQL.3 \
    DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server.3 \
    DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server::NoBindVars.3 \
    DBIx::Class::Storage::DBI::UniqueIdentifier.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.mk>