diff options
author | Erwin Lansing <erwin@FreeBSD.org> | 2004-04-04 21:11:42 +0000 |
---|---|---|
committer | Erwin Lansing <erwin@FreeBSD.org> | 2004-04-04 21:11:42 +0000 |
commit | 2929a99bad579d593ba4e88f2f9eb14ba5e99134 (patch) | |
tree | dce843e4acbcaa214325bcaddecc708b26f0201d /databases/p5-Class-DBI-AsForm/Makefile | |
parent | While generating commit message, don't lowercase the first letter if the second (diff) |
Add p5-Class-DBI-AsForm 2.2, produce HTML form elements for database
columns.
This module helps to generate HTML forms for creating new database
rows or editing existing rows. It maps column names in a database
table to HTML form elements which fit the schema. Large text fields
are turned into textareas, and fields with a has-a relationship to
other Class::DBI tables are turned into select drop-downs populated
with objects from the joined class.
WWW: http://search.cpan.org/dist/Class-DBI-AsForm/
PR: ports/65147
Submitted by: Lars Thegler <lars@thegler.dk>
Notes
Notes:
svn path=/head/; revision=106154
Diffstat (limited to 'databases/p5-Class-DBI-AsForm/Makefile')
-rw-r--r-- | databases/p5-Class-DBI-AsForm/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/databases/p5-Class-DBI-AsForm/Makefile b/databases/p5-Class-DBI-AsForm/Makefile new file mode 100644 index 000000000000..057ec3428d0f --- /dev/null +++ b/databases/p5-Class-DBI-AsForm/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: p5-Class-DBI-AsForm +# Date created: Apr 3 2004 +# Whom: Lars Thegler <lars@thegler.dk> +# +# $FreeBSD$ + +PORTNAME= Class-DBI-AsForm +PORTVERSION= 2.2 +CATEGORIES= databases perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Class +PKGNAMEPREFIX= p5- + +MAINTAINER= lars@thegler.dk +COMMENT= Produce HTML form elements for database columns + +BUILD_DEPENDS= ${SITE_PERL}/Class/DBI.pm:${PORTSDIR}/databases/p5-Class-DBI \ + ${SITE_PERL}/HTML/Element.pm:${PORTSDIR}/www/p5-HTML-Tree \ + ${SITE_PERL}/Class/DBI/Plugin/Type.pm:${PORTSDIR}/databases/p5-Class-DBI-Plugin-Type +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Class::DBI::AsForm.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +EXTRA_PATCHES= ${PATCHDIR}/500503-AsForm.pm + +post-configure: + ${PERL} -pi -e 's,/usr/local/,\$$(PREFIX)/,g' ${WRKSRC}/Makefile +.endif + +.include <bsd.port.post.mk> |