aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-DBIx-Class/Makefile
blob: 1d2b59b209d3ca00bde40679b4ed1019d116bb78 (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
# 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.08005
CATEGORIES= databases perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= lbr@FreeBSD.org
COMMENT=    Extensible and flexible object <-> relational mapper

BUILD_DEPENDS=  ${RUN_DEPENDS}
RUN_DEPENDS=    p5-Data-Page>=2.00:${PORTSDIR}/databases/p5-Data-Page \
        p5-SQL-Abstract>=1.20:${PORTSDIR}/databases/p5-SQL-Abstract \
        p5-SQL-Abstract-Limit>=0.101:${PORTSDIR}/databases/p5-SQL-Abstract-Limit \
        p5-Scope-Guard>=0.03:${PORTSDIR}/devel/p5-Scope-Guard \
        p5-Class-C3>=0.13:${PORTSDIR}/devel/p5-Class-C3 \
        p5-Carp-Clan>=0:${PORTSDIR}/devel/p5-Carp-Clan \
        p5-DBI>=1.40:${PORTSDIR}/databases/p5-DBI \
        p5-Module-Find>=0:${PORTSDIR}/devel/p5-Module-Find \
        p5-Class-Inspector>=0:${PORTSDIR}/devel/p5-Class-Inspector \
        p5-Class-Accessor-Grouped>=0.05002:${PORTSDIR}/devel/p5-Class-Accessor-Grouped \
        p5-JSON>=1.00:${PORTSDIR}/converters/p5-JSON

PERL_CONFIGURE= yes

MAN1=   dbicadmin.1
MAN3=   DBIx::Class.3 \
    DBIx::Class::AccessorGroup.3 \
    DBIx::Class::CDBICompat.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::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::Relationship::BelongsTo.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::ResultSourceHandle.3 \
    DBIx::Class::ResultSourceProxy::Table.3 \
    DBIx::Class::Row.3 \
    DBIx::Class::Schema.3 \
    DBIx::Class::Schema::Versioned.3 \
    DBIx::Class::Serialize::Storable.3 \
    DBIx::Class::Storage.3 \
    DBIx::Class::Storage::DBI.3 \
    DBIx::Class::Storage::DBI::Cursor.3 \
    DBIx::Class::Storage::DBI::DB2.3 \
    DBIx::Class::Storage::DBI::MSSQL.3 \
    DBIx::Class::Storage::DBI::MultiDistinctEmulation.3 \
    DBIx::Class::Storage::DBI::NoBindVars.3 \
    DBIx::Class::Storage::DBI::ODBC.3 \
    DBIx::Class::Storage::DBI::ODBC::DB2_400_SQL.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::Replication.3 \
    DBIx::Class::Storage::DBI::SQLite.3 \
    DBIx::Class::Storage::DBI::Sybase.3 \
    DBIx::Class::Storage::DBI::Sybase::MSSQL.3 \
    DBIx::Class::Storage::DBI::mysql.3 \
    DBIx::Class::Storage::Statistics.3 \
    DBIx::Class::Test::SQLite.3 \
    DBIx::Class::UTF8Columns.3 \
    SQL::Translator::Producer::DBIx::Class::File.3

post-extract:
    @${PERL} -i.bak -ne 'print unless /^\s*build_requires/' ${WRKSRC}/Makefile.PL

.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500801
IGNORE= requires at least Perl 5.8.1. Install lang/perl5.8, and try again
.endif
.include <bsd.port.post.mk>