diff options
author | lth <lth@FreeBSD.org> | 2005-08-29 18:21:51 +0800 |
---|---|---|
committer | lth <lth@FreeBSD.org> | 2005-08-29 18:21:51 +0800 |
commit | 924c10b5564b83bd54cd3656d418416934d563f6 (patch) | |
tree | bf98eb2b665729c9b59d3353642dbd71f9616df9 /databases/p5-DBIx-Class | |
parent | 81167c9e34618c5d2237ff42c3db016de0600f00 (diff) | |
download | freebsd-ports-gnome-924c10b5564b83bd54cd3656d418416934d563f6.tar.gz freebsd-ports-gnome-924c10b5564b83bd54cd3656d418416934d563f6.tar.zst freebsd-ports-gnome-924c10b5564b83bd54cd3656d418416934d563f6.zip |
Add p5-DBIx-Class 0.02, SQL to OOP mapper, replacement for Class::DBI.
PR: ports/84912
Submitted by: Lars Balker Rasmussen <lars@balker.dk>
Diffstat (limited to 'databases/p5-DBIx-Class')
-rw-r--r-- | databases/p5-DBIx-Class/Makefile | 53 | ||||
-rw-r--r-- | databases/p5-DBIx-Class/distinfo | 2 | ||||
-rw-r--r-- | databases/p5-DBIx-Class/pkg-descr | 11 | ||||
-rw-r--r-- | databases/p5-DBIx-Class/pkg-plist | 60 |
4 files changed, 126 insertions, 0 deletions
diff --git a/databases/p5-DBIx-Class/Makefile b/databases/p5-DBIx-Class/Makefile new file mode 100644 index 000000000000..b620ddec5153 --- /dev/null +++ b/databases/p5-DBIx-Class/Makefile @@ -0,0 +1,53 @@ +# New ports collection makefile for: DBIx-Class +# Date created: 14 Aug 2005 +# Whom: Lars Balker Rasmussen <lars@balker.dk> +# +# $FreeBSD$ +# + +PORTNAME= DBIx-Class +PORTVERSION= 0.02 +CATEGORIES= databases perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= ../by-authors/id/A/AG/AGRUNDMA +PKGNAMEPREFIX= p5- + +MAINTAINER= lars@balker.dk +COMMENT= SQL to OOP mapper, replacement for Class::DBI + +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBD/SQLite.pm:${PORTSDIR}/databases/p5-DBD-SQLite \ + ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ + ${SITE_PERL}/NEXT.pm:${PORTSDIR}/devel/p5-NEXT \ + ${SITE_PERL}/SQL/Abstract/Limit.pm:${PORTSDIR}/databases/p5-SQL-Abstract-Limit \ + ${SITE_PERL}/Tie/IxHash.pm:${PORTSDIR}/devel/p5-Tie-IxHash \ + ${SITE_PERL}/UNIVERSAL/require.pm:${PORTSDIR}/devel/p5-UNIVERSAL-exports +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_MODBUILD= yes + +MAN3= DBIx::Class::Storage::DBI.3 \ + DBIx::Class::PK::Auto::MySQL.3 \ + DBIx::Class::PK.3 \ + DBIx::Class.3 \ + DBIx::Class::PK::Auto::Oracle.3 \ + DBIx::Class::Exception.3 \ + DBIx::Class::Relationship::Base.3 \ + DBIx::Class::PK::Auto::Pg.3 \ + DBIx::Class::PK::Auto::MSSQL.3 \ + DBIx::Class::CDBICompat.3 \ + DBIx::Class::Relationship.3 \ + DBIx::Class::Core.3 \ + DBIx::Class::PK::Auto.3 \ + DBIx::Class::DB.3 \ + DBIx::Class::Table.3 \ + DBIx::Class::AccessorGroup.3 \ + DBIx::Class::Schema.3 \ + DBIx::Class::PK::Auto::SQLite.3 \ + DBIx::Class::Test::SQLite.3 \ + DBIx::Class::Row.3 + +.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> diff --git a/databases/p5-DBIx-Class/distinfo b/databases/p5-DBIx-Class/distinfo new file mode 100644 index 000000000000..c57dae860e95 --- /dev/null +++ b/databases/p5-DBIx-Class/distinfo @@ -0,0 +1,2 @@ +MD5 (DBIx-Class-0.02.tar.gz) = b01bead9264d6199923d5abcbd75c0ff +SIZE (DBIx-Class-0.02.tar.gz) = 49417 diff --git a/databases/p5-DBIx-Class/pkg-descr b/databases/p5-DBIx-Class/pkg-descr new file mode 100644 index 000000000000..a943020eb048 --- /dev/null +++ b/databases/p5-DBIx-Class/pkg-descr @@ -0,0 +1,11 @@ +This is a sql to oop mapper, inspired by the Class::DBI framework, and +meant to support compability with it, while restructuring the insides, +and making it possible to support some new features like self-joins, +distinct, group bys and more. + +It's currently considered EXPERIMENTAL - bring this near a production +database at your own risk! The API is *not* fixed yet, although most of +the primitives should be good for the future and any API changes will be +posted to the mailing list before they're committed. + +WWW: http://search.cpan.org/dist/DBIx-Class/ diff --git a/databases/p5-DBIx-Class/pkg-plist b/databases/p5-DBIx-Class/pkg-plist new file mode 100644 index 000000000000..23eff954cdf3 --- /dev/null +++ b/databases/p5-DBIx-Class/pkg-plist @@ -0,0 +1,60 @@ +%%SITE_PERL%%/DBIx/Class.pm +%%SITE_PERL%%/DBIx/Class/AccessorGroup.pm +%%SITE_PERL%%/DBIx/Class/CDBICompat.pm +%%SITE_PERL%%/DBIx/Class/CDBICompat/AccessorMapping.pm +%%SITE_PERL%%/DBIx/Class/CDBICompat/AttributeAPI.pm +%%SITE_PERL%%/DBIx/Class/CDBICompat/AutoUpdate.pm +%%SITE_PERL%%/DBIx/Class/CDBICompat/ColumnCase.pm +%%SITE_PERL%%/DBIx/Class/CDBICompat/ColumnGroups.pm +%%SITE_PERL%%/DBIx/Class/CDBICompat/Constraints.pm +%%SITE_PERL%%/DBIx/Class/CDBICompat/Constructor.pm +%%SITE_PERL%%/DBIx/Class/CDBICompat/DestroyWarning.pm +%%SITE_PERL%%/DBIx/Class/CDBICompat/GetSet.pm +%%SITE_PERL%%/DBIx/Class/CDBICompat/HasA.pm +%%SITE_PERL%%/DBIx/Class/CDBICompat/HasMany.pm +%%SITE_PERL%%/DBIx/Class/CDBICompat/ImaDBI.pm +%%SITE_PERL%%/DBIx/Class/CDBICompat/LazyLoading.pm +%%SITE_PERL%%/DBIx/Class/CDBICompat/LiveObjectIndex.pm +%%SITE_PERL%%/DBIx/Class/CDBICompat/MightHave.pm +%%SITE_PERL%%/DBIx/Class/CDBICompat/ObjIndexStubs.pm +%%SITE_PERL%%/DBIx/Class/CDBICompat/ReadOnly.pm +%%SITE_PERL%%/DBIx/Class/CDBICompat/Retrieve.pm +%%SITE_PERL%%/DBIx/Class/CDBICompat/Stringify.pm +%%SITE_PERL%%/DBIx/Class/CDBICompat/TempColumns.pm +%%SITE_PERL%%/DBIx/Class/CDBICompat/Triggers.pm +%%SITE_PERL%%/DBIx/Class/ClassResolver/PassThrough.pm +%%SITE_PERL%%/DBIx/Class/Componentised.pm +%%SITE_PERL%%/DBIx/Class/Core.pm +%%SITE_PERL%%/DBIx/Class/Cursor.pm +%%SITE_PERL%%/DBIx/Class/DB.pm +%%SITE_PERL%%/DBIx/Class/Exception.pm +%%SITE_PERL%%/DBIx/Class/InflateColumn.pm +%%SITE_PERL%%/DBIx/Class/PK.pm +%%SITE_PERL%%/DBIx/Class/PK/Auto.pm +%%SITE_PERL%%/DBIx/Class/PK/Auto/MSSQL.pm +%%SITE_PERL%%/DBIx/Class/PK/Auto/MySQL.pm +%%SITE_PERL%%/DBIx/Class/PK/Auto/Oracle.pm +%%SITE_PERL%%/DBIx/Class/PK/Auto/Pg.pm +%%SITE_PERL%%/DBIx/Class/PK/Auto/SQLite.pm +%%SITE_PERL%%/DBIx/Class/Relationship.pm +%%SITE_PERL%%/DBIx/Class/Relationship/Accessor.pm +%%SITE_PERL%%/DBIx/Class/Relationship/Base.pm +%%SITE_PERL%%/DBIx/Class/Relationship/CascadeActions.pm +%%SITE_PERL%%/DBIx/Class/Relationship/ProxyMethods.pm +%%SITE_PERL%%/DBIx/Class/ResultSet.pm +%%SITE_PERL%%/DBIx/Class/Row.pm +%%SITE_PERL%%/DBIx/Class/Schema.pm +%%SITE_PERL%%/DBIx/Class/Storage/DBI.pm +%%SITE_PERL%%/DBIx/Class/Storage/DBI/Cursor.pm +%%SITE_PERL%%/DBIx/Class/Table.pm +%%SITE_PERL%%/DBIx/Class/Test/SQLite.pm +@unexec rmdir %D/%%SITE_PERL%%/DBIx/Class/Test 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/DBIx/Class/Storage/DBI 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/DBIx/Class/Storage 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/DBIx/Class/Relationship 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/DBIx/Class/PK/Auto 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/DBIx/Class/PK 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/DBIx/Class/ClassResolver 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/DBIx/Class/CDBICompat 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/DBIx/Class 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/DBIx 2>/dev/null || true |