summaryrefslogtreecommitdiff
path: root/www/p5-URI-FromHash
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2009-08-27 10:36:42 +0000
committerabs <abs@pkgsrc.org>2009-08-27 10:36:42 +0000
commitc77d3c8d7401e9587fb28abc8e759ea14d475ede (patch)
treead0b7e2e825e1b5d5993bfe510064326f8731331 /www/p5-URI-FromHash
parentc50025cd6945df8c805bb2d931290eea50a7635a (diff)
downloadpkgsrc-c77d3c8d7401e9587fb28abc8e759ea14d475ede.tar.gz
Added www/p5-URI-FromHash version 0.03
This module provides a simple one-subroutine "named parameters" style interface for creating URIs. Underneath the hood it uses URI.pm, though because of the simplified interface it may not support all possible options for all types of URIs. It was created for the common case where you simply want to have a simple interface for creating syntactically correct URIs from known components (like a path and query string). Doing this using the native URI.pm interface is rather tedious, requiring a number of method calls, which is particularly ugly when done inside a templating system such as Mason or TT2.
Diffstat (limited to 'www/p5-URI-FromHash')
-rw-r--r--www/p5-URI-FromHash/DESCR11
-rw-r--r--www/p5-URI-FromHash/Makefile23
-rw-r--r--www/p5-URI-FromHash/distinfo5
3 files changed, 39 insertions, 0 deletions
diff --git a/www/p5-URI-FromHash/DESCR b/www/p5-URI-FromHash/DESCR
new file mode 100644
index 00000000000..fbf5f4eb499
--- /dev/null
+++ b/www/p5-URI-FromHash/DESCR
@@ -0,0 +1,11 @@
+This module provides a simple one-subroutine "named parameters"
+style interface for creating URIs. Underneath the hood it uses
+URI.pm, though because of the simplified interface it may not
+support all possible options for all types of URIs.
+
+It was created for the common case where you simply want to have
+a simple interface for creating syntactically correct URIs from
+known components (like a path and query string). Doing this using
+the native URI.pm interface is rather tedious, requiring a number
+of method calls, which is particularly ugly when done inside a
+templating system such as Mason or TT2.
diff --git a/www/p5-URI-FromHash/Makefile b/www/p5-URI-FromHash/Makefile
new file mode 100644
index 00000000000..98ab420a041
--- /dev/null
+++ b/www/p5-URI-FromHash/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/08/27 10:36:42 abs Exp $
+#
+
+DISTNAME= URI-FromHash-0.03
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= www net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=URI/}
+
+MAINTAINER= heinz@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/URI/
+COMMENT= Build a URI from a set of named parameters
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= p5-URI>0:../../www/p5-URI
+DEPENDS+= p5-Params-Validate>0:../../devel/p5-Params-Validate
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/URI/FromHash/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/p5-URI-FromHash/distinfo b/www/p5-URI-FromHash/distinfo
new file mode 100644
index 00000000000..9445262a78a
--- /dev/null
+++ b/www/p5-URI-FromHash/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/08/27 10:36:42 abs Exp $
+
+SHA1 (URI-FromHash-0.03.tar.gz) = aae0fc31be1fbb997c39960096d2bc7500bad777
+RMD160 (URI-FromHash-0.03.tar.gz) = 46e6fcfbd8504c4b9c6521f0e7f16f02b3b79de9
+Size (URI-FromHash-0.03.tar.gz) = 13080 bytes