1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

Add port net/p5-URI-FromHash:

This module provides a simple functional "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.

WWW: http://search.cpan.org/dist/URI-FromHash/

Justification:	socialtext dependency
This commit is contained in:
Andrew Pantyukhin 2006-08-02 11:37:28 +00:00
parent aaed6be69d
commit 16304de1c5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=169460
5 changed files with 43 additions and 0 deletions

View File

@ -510,6 +510,7 @@
SUBDIR += p5-Spread-Message
SUBDIR += p5-Spread-Session
SUBDIR += p5-URI
SUBDIR += p5-URI-FromHash
SUBDIR += p5-URI-OpenURL
SUBDIR += p5-Validate-Net
SUBDIR += p5-What

View File

@ -0,0 +1,24 @@
# New ports collection makefile for: p5-URI-FromHash
# Date created: 2 August 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= URI-FromHash
DISTVERSION= 0.02
CATEGORIES= net perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Create URI from hash of components
BUILD_DEPENDS= p5-URI>=1.22:${PORTSDIR}/net/p5-URI
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_MODBUILD= YES
MAN3= ${PORTNAME:S/-/::/g}.3
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (URI-FromHash-0.02.tar.gz) = d2181ba65982192f966039d653fb4ea9
SHA256 (URI-FromHash-0.02.tar.gz) = 5803b59206e29078b7db584af09da9bc4c0fde23e0b7d2a83ff7e24d8c411d4b
SIZE (URI-FromHash-0.02.tar.gz) = 5221

View File

@ -0,0 +1,13 @@
This module provides a simple functional "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.
WWW: http://search.cpan.org/dist/URI-FromHash/

View File

@ -0,0 +1,2 @@
%%SITE_PERL%%/URI/FromHash.pm
@dirrmtry %%SITE_PERL%%/URI