diff options
author | erwin <erwin@FreeBSD.org> | 2003-06-19 22:30:46 +0800 |
---|---|---|
committer | erwin <erwin@FreeBSD.org> | 2003-06-19 22:30:46 +0800 |
commit | 58577d3019ce72fb504f09cfa1fb28855ddb9869 (patch) | |
tree | 5305fa309050743b0ef5446a5533475ece0e08d4 /databases | |
parent | af7af4b9f5ee723fb0f16aa6290ed96138313aa5 (diff) | |
download | freebsd-ports-gnome-58577d3019ce72fb504f09cfa1fb28855ddb9869.tar.gz freebsd-ports-gnome-58577d3019ce72fb504f09cfa1fb28855ddb9869.tar.zst freebsd-ports-gnome-58577d3019ce72fb504f09cfa1fb28855ddb9869.zip |
Add p5-SQL-Abstract 1.10,
perl extension to generate SQL from Perl
data structures.
PR: 48411
Submitted by: Dominic Mitchell <dom@happygiraffe.net>
Diffstat (limited to 'databases')
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/p5-SQL-Abstract/Makefile | 23 | ||||
-rw-r--r-- | databases/p5-SQL-Abstract/distinfo | 1 | ||||
-rw-r--r-- | databases/p5-SQL-Abstract/pkg-descr | 11 | ||||
-rw-r--r-- | databases/p5-SQL-Abstract/pkg-plist | 5 |
5 files changed, 41 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 02c2891256b0..3273ccf0b7ae 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -114,6 +114,7 @@ SUBDIR += p5-Mysql SUBDIR += p5-Pg SUBDIR += p5-ResourcePool-Resource-DBI + SUBDIR += p5-SQL-Abstract SUBDIR += p5-SQL-Statement SUBDIR += p5-Search-Namazu SUBDIR += p5-Tangram diff --git a/databases/p5-SQL-Abstract/Makefile b/databases/p5-SQL-Abstract/Makefile new file mode 100644 index 000000000000..1c12384daf88 --- /dev/null +++ b/databases/p5-SQL-Abstract/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: SQL-Abstract +# Date created: 18 Feb 2003 +# Whom: Dominic Mitchell <dom@happygiraffe.net> +# +# $FreeBSD$ +# + +PORTNAME= SQL-Abstract +PORTVERSION= 1.10 +CATEGORIES= databases perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= SQL +PKGNAMEPREFIX= p5- + +MAINTAINER= dom@happygiraffe.net +COMMENT= Perl extension to generate SQL from Perl data structures + +PERL_CONFIGURE= yes + +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} +MAN3= SQL::Abstract.3 + +.include <bsd.port.mk> diff --git a/databases/p5-SQL-Abstract/distinfo b/databases/p5-SQL-Abstract/distinfo new file mode 100644 index 000000000000..b20f6665d2d4 --- /dev/null +++ b/databases/p5-SQL-Abstract/distinfo @@ -0,0 +1 @@ +MD5 (SQL-Abstract-1.10.tar.gz) = 4f6ec9ae01de6811f4d3c15ffd4c0a11 diff --git a/databases/p5-SQL-Abstract/pkg-descr b/databases/p5-SQL-Abstract/pkg-descr new file mode 100644 index 000000000000..00669c5e6823 --- /dev/null +++ b/databases/p5-SQL-Abstract/pkg-descr @@ -0,0 +1,11 @@ +This module was inspired by the excellent DBIx::Abstract. However, in +using the module I found that what I wanted to do was generate SQL, but +still retain complete control over my statement handles and use the DBI +interface. So, I set out to create an abstract SQL generation module. + +This module is based largely on DBIx::Abstract. However, there are +several important differences, especially when it comes to WHERE +clauses. I have modified the concepts used to make the SQL easier to +generate from Perl data structures and, IMO, more intuitive. + +WWW: http://search.cpan.org/search?dist=SQL-Abstract diff --git a/databases/p5-SQL-Abstract/pkg-plist b/databases/p5-SQL-Abstract/pkg-plist new file mode 100644 index 000000000000..00e745551201 --- /dev/null +++ b/databases/p5-SQL-Abstract/pkg-plist @@ -0,0 +1,5 @@ +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SQL/Abstract/.packlist +lib/perl5/site_perl/%%PERL_VER%%/SQL/Abstract.pm +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SQL/Abstract +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/SQL 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SQL 2>/dev/null || true |