summaryrefslogtreecommitdiff
path: root/www/p5-Rose-HTML-Objects
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2008-07-15 08:43:35 +0000
committerabs <abs@pkgsrc.org>2008-07-15 08:43:35 +0000
commitc9a9b10f67683227a67fed503f1ec42e09e58bfe (patch)
tree080ad492d9c0e65bd915a02c42ed4e0501d14186 /www/p5-Rose-HTML-Objects
parentaff4ca57ef2931a4305dae22d42ee77f0fef2cba (diff)
downloadpkgsrc-c9a9b10f67683227a67fed503f1ec42e09e58bfe.tar.gz
Added www/p5-Rose-HTML-Objects version 0.554
The Rose::HTML::Object::* family of classes represent HTML tags, or groups of tags. These objects allow HTML to be arbitrarily manipulated, then serialized to actual HTML (or XHTML). Currently, the process only works in one direction. Objects cannot be constructed from their serialized representations. In practice, given the purpose of these modules, this is not an important limitation. Any HTML tag can theoretically be represented by a Rose::HTML::Object-derived class, but this family of modules was originally motivated by a desire to simplify the use of HTML forms. The form/field object interfaces have been heavily abstracted to allow for input and output filtering, inflation/deflation of values, and compound fields (fields that contain other fields). The classes are also designed to be subclassed. The creation of custom form and field subclasses is really the "big win" for these modules. There is also a simple image tag class which is useful for auto-populating the width and height attributes of img tags. Future releases may include object representations of other HTML tags. Contributions are welcome.
Diffstat (limited to 'www/p5-Rose-HTML-Objects')
-rw-r--r--www/p5-Rose-HTML-Objects/DESCR21
-rw-r--r--www/p5-Rose-HTML-Objects/Makefile30
-rw-r--r--www/p5-Rose-HTML-Objects/distinfo5
3 files changed, 56 insertions, 0 deletions
diff --git a/www/p5-Rose-HTML-Objects/DESCR b/www/p5-Rose-HTML-Objects/DESCR
new file mode 100644
index 00000000000..ddffd2b78ed
--- /dev/null
+++ b/www/p5-Rose-HTML-Objects/DESCR
@@ -0,0 +1,21 @@
+The Rose::HTML::Object::* family of classes represent HTML tags,
+or groups of tags. These objects allow HTML to be arbitrarily
+manipulated, then serialized to actual HTML (or XHTML). Currently,
+the process only works in one direction. Objects cannot be constructed
+from their serialized representations. In practice, given the
+purpose of these modules, this is not an important limitation.
+
+Any HTML tag can theoretically be represented by a
+Rose::HTML::Object-derived class, but this family of modules was
+originally motivated by a desire to simplify the use of HTML forms.
+
+The form/field object interfaces have been heavily abstracted to
+allow for input and output filtering, inflation/deflation of values,
+and compound fields (fields that contain other fields). The classes
+are also designed to be subclassed. The creation of custom form
+and field subclasses is really the "big win" for these modules.
+
+There is also a simple image tag class which is useful for
+auto-populating the width and height attributes of img tags. Future
+releases may include object representations of other HTML tags.
+Contributions are welcome.
diff --git a/www/p5-Rose-HTML-Objects/Makefile b/www/p5-Rose-HTML-Objects/Makefile
new file mode 100644
index 00000000000..5470749616f
--- /dev/null
+++ b/www/p5-Rose-HTML-Objects/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/07/15 08:43:35 abs Exp $
+
+DISTNAME= Rose-HTML-Objects-0.554
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Rose/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/perldoc?Rose::HTML::Objects
+COMMENT= Object-oriented interfaces for HTML
+
+DEPENDS+= p5-DateTime>=0.20:../../time/p5-DateTime
+DEPENDS+= p5-Clone-PP>=0:../../devel/p5-Clone-PP
+DEPENDS+= p5-Encode>=0:../../textproc/p5-Encode
+DEPENDS+= p5-Email-Valid>=0:../../mail/p5-Email-Valid
+DEPENDS+= p5-HTML-Parser>=0:../../www/p5-HTML-Parser
+DEPENDS+= p5-Image-Size>=0:../../graphics/p5-Image-Size
+DEPENDS+= p5-URI>=0:../../www/p5-URI
+DEPENDS+= p5-Scalar-List-Utils>=0:../../devel/p5-Scalar-List-Utils
+DEPENDS+= p5-Rose-Object>=0.82:../../devel/p5-Rose-Object
+DEPENDS+= p5-Rose-DateTime>=0.532:../../time/p5-Rose-DateTime
+DEPENDS+= p5-Rose-URI>=0.021:../../www/p5-Rose-URI
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/Rose/HTML/Objects/.packlist
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/p5-Rose-HTML-Objects/distinfo b/www/p5-Rose-HTML-Objects/distinfo
new file mode 100644
index 00000000000..aacc8812f70
--- /dev/null
+++ b/www/p5-Rose-HTML-Objects/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/07/15 08:43:35 abs Exp $
+
+SHA1 (Rose-HTML-Objects-0.554.tar.gz) = ce0425059452ea41a0cf3a8b05b515939a982873
+RMD160 (Rose-HTML-Objects-0.554.tar.gz) = 06e47aee5f1a3c3cd9199196d4a8fd7bf995bb16
+Size (Rose-HTML-Objects-0.554.tar.gz) = 165506 bytes