diff options
author | Erwin Lansing <erwin@FreeBSD.org> | 2004-04-04 20:44:12 +0000 |
---|---|---|
committer | Erwin Lansing <erwin@FreeBSD.org> | 2004-04-04 20:44:12 +0000 |
commit | 891528b0a7e7236cabbea2ea7cf32e523d12f63b (patch) | |
tree | 2153922d9ab74212d198f505d4f9f43fcc9a10c7 /databases/p5-Class-DBI-Plugin-Type | |
parent | 30e8356dd1df98740d20d1b5099b610c9a906c8d (diff) | |
download | ports-891528b0a7e7236cabbea2ea7cf32e523d12f63b.tar.gz ports-891528b0a7e7236cabbea2ea7cf32e523d12f63b.zip |
Notes
Diffstat (limited to 'databases/p5-Class-DBI-Plugin-Type')
-rw-r--r-- | databases/p5-Class-DBI-Plugin-Type/Makefile | 36 | ||||
-rw-r--r-- | databases/p5-Class-DBI-Plugin-Type/distinfo | 2 | ||||
-rw-r--r-- | databases/p5-Class-DBI-Plugin-Type/pkg-descr | 4 | ||||
-rw-r--r-- | databases/p5-Class-DBI-Plugin-Type/pkg-plist | 9 |
4 files changed, 51 insertions, 0 deletions
diff --git a/databases/p5-Class-DBI-Plugin-Type/Makefile b/databases/p5-Class-DBI-Plugin-Type/Makefile new file mode 100644 index 000000000000..4380b555a116 --- /dev/null +++ b/databases/p5-Class-DBI-Plugin-Type/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: p5-Class-DBI-Plugin-Type +# Date created: Apr 3 2004 +# Whom: Lars Thegler <lars@thegler.dk> +# +# $FreeBSD$ + +PORTNAME= Class-DBI-Plugin-Type +PORTVERSION= 0.02 +CATEGORIES= databases perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Class +PKGNAMEPREFIX= p5- + +MAINTAINER= lars@thegler.dk +COMMENT= Determine type information for columns + +BUILD_DEPENDS= ${SITE_PERL}/Class/DBI.pm:${PORTSDIR}/databases/p5-Class-DBI +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Class::DBI::Plugin::Type.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +post-patch: + ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);$$1/;' \ + -e '$$_="" if /use warnings/;' \ + ${WRKSRC}/Type.pm + +post-configure: + ${PERL} -pi -e 's,/usr/local/,\$$(PREFIX)/,g' ${WRKSRC}/Makefile +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-Class-DBI-Plugin-Type/distinfo b/databases/p5-Class-DBI-Plugin-Type/distinfo new file mode 100644 index 000000000000..c51c25184f00 --- /dev/null +++ b/databases/p5-Class-DBI-Plugin-Type/distinfo @@ -0,0 +1,2 @@ +MD5 (Class-DBI-Plugin-Type-0.02.tar.gz) = 2f80426ccc67629543404ee9376a6d3e +SIZE (Class-DBI-Plugin-Type-0.02.tar.gz) = 2811 diff --git a/databases/p5-Class-DBI-Plugin-Type/pkg-descr b/databases/p5-Class-DBI-Plugin-Type/pkg-descr new file mode 100644 index 000000000000..a35bd2d11346 --- /dev/null +++ b/databases/p5-Class-DBI-Plugin-Type/pkg-descr @@ -0,0 +1,4 @@ +This module allows Class::DBI-based classes to query their columns +for data type information in a database-independent manner. + +WWW: http://search.cpan.org/dist/Class-DBI-Plugin-Type/ diff --git a/databases/p5-Class-DBI-Plugin-Type/pkg-plist b/databases/p5-Class-DBI-Plugin-Type/pkg-plist new file mode 100644 index 000000000000..e2fb6b34d682 --- /dev/null +++ b/databases/p5-Class-DBI-Plugin-Type/pkg-plist @@ -0,0 +1,9 @@ +%%SITE_PERL%%/Class/DBI/Plugin/Type.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/Plugin/Type/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/Plugin/Type +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/Plugin 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Class/DBI/Plugin 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Class/DBI 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Class 2>/dev/null || true |