svn commit: r380897 - in head/www: . p5-URL-Encode

Adam Weinberger adamw at adamw.org
Tue Mar 10 15:36:54 UTC 2015


Hi Vanilla,

You should consider adding an optional dependency on www/p5-URL-Encode-XS... see https://metacpan.org/pod/URL::Encode#PERFORMANCE for an explanation.

OPTIONS_DEFINE=		XS
XS_BUILD_DEPENDS=	p5-URL-Encode-XS>=0:${PORTSDIR}/www/p5-URL-Encode-XS
XS_RUN_DEPENDS=		${XS_BUILD_DEPENDS}

# Adam


-- 
Adam Weinberger
adamw at adamw.org
http://www.adamw.org

> On 10 Mar, 2015, at 0:21, Vanilla I. Shu <vanilla at FreeBSD.org> wrote:
> 
> Author: vanilla
> Date: Tue Mar 10 06:21:00 2015
> New Revision: 380897
> URL: https://svnweb.freebsd.org/changeset/ports/380897
> QAT: https://qat.redports.org/buildarchive/r380897/
> 
> Log:
>  Add p5-URL-Encode 0.03, encoding and decoding of
>  application/x-www-form-urlencoded encoding.
> 
>  PR:		198308
>  Submitted by:	Geoffroy Desvernay <dgeo at centrale-marseille.fr>
> 
> Added:
>  head/www/p5-URL-Encode/
>  head/www/p5-URL-Encode/Makefile   (contents, props changed)
>  head/www/p5-URL-Encode/distinfo   (contents, props changed)
>  head/www/p5-URL-Encode/pkg-descr   (contents, props changed)
>  head/www/p5-URL-Encode/pkg-plist   (contents, props changed)
> Modified:
>  head/www/Makefile
> 
> Modified: head/www/Makefile
> ==============================================================================
> --- head/www/Makefile	Tue Mar 10 06:16:46 2015	(r380896)
> +++ head/www/Makefile	Tue Mar 10 06:21:00 2015	(r380897)
> @@ -1216,6 +1216,7 @@
>     SUBDIR += p5-URI-Sequin
>     SUBDIR += p5-URI-Title
>     SUBDIR += p5-URI-ToDisk
> +    SUBDIR += p5-URL-Encode
>     SUBDIR += p5-URL-Encode-XS
>     SUBDIR += p5-VUser-Google-ProvisioningAPI
>     SUBDIR += p5-W3C-LinkChecker
> 
> Added: head/www/p5-URL-Encode/Makefile
> ==============================================================================
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ head/www/p5-URL-Encode/Makefile	Tue Mar 10 06:21:00 2015	(r380897)
> @@ -0,0 +1,20 @@
> +# Created by: Geoffroy Desvernay <dgeo at centrale-marseille.fr>
> +# $FreeBSD$
> +
> +PORTNAME=	URL-Encode
> +PORTVERSION=	0.03
> +CATEGORIES=	www perl5
> +MASTER_SITES=	CPAN
> +MASTER_SITE_SUBDIR=	CPAN:CHANSEN
> +PKGNAMEPREFIX=	p5-
> +
> +MAINTAINER=	dgeo at centrale-marseille.fr
> +COMMENT=	Encoding and decoding of application/x-www-form-urlencoded encoding
> +
> +LICENSE=	ART10 GPLv1
> +LICENSE_COMB=	dual
> +
> +USES=		perl5
> +USE_PERL5=	configure
> +
> +.include <bsd.port.mk>
> 
> Added: head/www/p5-URL-Encode/distinfo
> ==============================================================================
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ head/www/p5-URL-Encode/distinfo	Tue Mar 10 06:21:00 2015	(r380897)
> @@ -0,0 +1,2 @@
> +SHA256 (URL-Encode-0.03.tar.gz) = 7295d7f07796b179131d9c0f230a6effa56d204de2f8dc72f2e09c61458c8ee6
> +SIZE (URL-Encode-0.03.tar.gz) = 24012
> 
> Added: head/www/p5-URL-Encode/pkg-descr
> ==============================================================================
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ head/www/p5-URL-Encode/pkg-descr	Tue Mar 10 06:21:00 2015	(r380897)
> @@ -0,0 +1,13 @@
> +encode and decode strings into and from application/x-www-form-urlencoded
> +
> +The application/x-www-form-urlencoded format encodes a ordered data sets of
> +pairs consisting of a name and a value, with pairs seperated by ampersand or
> +semicolon and names and values seperated by the equal sign. Space characters
> +are replaced with plus sign and any characters not in the unreserved character
> +set is encoded using the percent-encoding scheme also used for resource
> +identifiers. 
> +A percent-encoded octet is encoded as a character triplet, consisting of the 
> +percent character "%" followed by the two hexadecimal digits representing that
> +octet's numeric value.
> +
> +WWW: https://metacpan.org/pod/URL::Encode
> 
> Added: head/www/p5-URL-Encode/pkg-plist
> ==============================================================================
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ head/www/p5-URL-Encode/pkg-plist	Tue Mar 10 06:21:00 2015	(r380897)
> @@ -0,0 +1,4 @@
> +%%PERL5_MAN3%%/URL::Encode.3.gz
> +%%SITE_PERL%%/URL/Encode.pm
> +%%SITE_PERL%%/URL/Encode.pod
> +%%SITE_PERL%%/URL/Encode/PP.pm
> 



More information about the svn-ports-head mailing list