diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2004-10-12 11:18:19 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2004-10-12 11:18:19 +0000 |
commit | 177409f50f030970be5e2ea957e477326a269a72 (patch) | |
tree | 0a62ed28b7737a9643d801f13eab5163e2a831a4 /databases/p5-Class-DBI-AutoLoader | |
parent | 668cc3dfba48e136e3196342083c23376a6e90a8 (diff) | |
download | ports-177409f50f030970be5e2ea957e477326a269a72.tar.gz ports-177409f50f030970be5e2ea957e477326a269a72.zip |
Notes
Diffstat (limited to 'databases/p5-Class-DBI-AutoLoader')
-rw-r--r-- | databases/p5-Class-DBI-AutoLoader/Makefile | 36 | ||||
-rw-r--r-- | databases/p5-Class-DBI-AutoLoader/distinfo | 2 | ||||
-rw-r--r-- | databases/p5-Class-DBI-AutoLoader/pkg-descr | 5 | ||||
-rw-r--r-- | databases/p5-Class-DBI-AutoLoader/pkg-plist | 7 |
4 files changed, 50 insertions, 0 deletions
diff --git a/databases/p5-Class-DBI-AutoLoader/Makefile b/databases/p5-Class-DBI-AutoLoader/Makefile new file mode 100644 index 000000000000..68aadbe29d85 --- /dev/null +++ b/databases/p5-Class-DBI-AutoLoader/Makefile @@ -0,0 +1,36 @@ +# ex:ts=8 +# Ports collection makefile for: Class::DBI::AutoLoader +# Date created: Sep 23, 2004 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= Class-DBI-AutoLoader +PORTVERSION= 0.12 +CATEGORIES= databases perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Class +PKGNAMEPREFIX= p5- + +MAINTAINER= perl@FreeBSD.org +COMMENT= Generates Class::DBI subclasses dynamically + +BUILD_DEPENDS= ${SITE_PERL}/Class/DBI.pm:${PORTSDIR}/databases/p5-Class-DBI \ + ${SITE_PERL}/Class/DBI/BaseDSN.pm:${PORTSDIR}/databases/p5-Class-DBI-BaseDSN +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Class::DBI::AutoLoader.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +post-patch: + @${PERL} -pi -e '$$_ = "" if /use warnings/;' \ + -e 's/^our (\S+)/use vars qw($$1); $$1/;' \ + ${WRKSRC}/AutoLoader.pm +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-Class-DBI-AutoLoader/distinfo b/databases/p5-Class-DBI-AutoLoader/distinfo new file mode 100644 index 000000000000..c9344e317a32 --- /dev/null +++ b/databases/p5-Class-DBI-AutoLoader/distinfo @@ -0,0 +1,2 @@ +MD5 (Class-DBI-AutoLoader-0.12.tar.gz) = 5ab15935a73837c1803162fa2793540f +SIZE (Class-DBI-AutoLoader-0.12.tar.gz) = 4120 diff --git a/databases/p5-Class-DBI-AutoLoader/pkg-descr b/databases/p5-Class-DBI-AutoLoader/pkg-descr new file mode 100644 index 000000000000..95f2b0381636 --- /dev/null +++ b/databases/p5-Class-DBI-AutoLoader/pkg-descr @@ -0,0 +1,5 @@ +Class::DBI::AutoLoader scans the tables in a given database, and auto-generates +the Class::DBI classes. These are loaded into your package when you import +Class::DBI::AutoLoader. + +WWW: http://search.cpan.org/dist/Class-DBI-AutoLoader/ diff --git a/databases/p5-Class-DBI-AutoLoader/pkg-plist b/databases/p5-Class-DBI-AutoLoader/pkg-plist new file mode 100644 index 000000000000..a08839305b9b --- /dev/null +++ b/databases/p5-Class-DBI-AutoLoader/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/Class/DBI/AutoLoader.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/AutoLoader/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/AutoLoader +@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 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Class 2>/dev/null || true |