Date: Tue, 10 Oct 2017 11:16:13 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r451664 - in head/textproc: . p5-String-Tagged Message-ID: <201710101116.v9ABGDOi036427@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Tue Oct 10 11:16:12 2017 New Revision: 451664 URL: https://svnweb.freebsd.org/changeset/ports/451664 Log: Add p5-String-Tagged 0.15 String::Tagged implements an object class, instances of which store a (mutable) string buffer that supports tags. A tag is a name/value pair that applies to some non-empty extent of the underlying string. The types of tag names ought to be strings, or at least values that are well-behaved as strings, as the names will often be used as the keys in hashes or applied to the eq operator. The types of tag values are not restricted - any scalar will do. This could be a simple integer or string, ARRAY or HASH reference, or even a CODE reference containing an event handler of some kind. Tags may be arbitrarily overlapped. Any given offset within the string has in effect, a set of uniquely named tags. Tags of different names are independent. For tags of the same name, only the latest, shortest tag takes effect. WWW: http://search.cpan.org/dist/String-Tagged/ Added: head/textproc/p5-String-Tagged/ head/textproc/p5-String-Tagged/Makefile (contents, props changed) head/textproc/p5-String-Tagged/distinfo (contents, props changed) head/textproc/p5-String-Tagged/pkg-descr (contents, props changed) head/textproc/p5-String-Tagged/pkg-plist (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Tue Oct 10 11:16:07 2017 (r451663) +++ head/textproc/Makefile Tue Oct 10 11:16:12 2017 (r451664) @@ -819,6 +819,7 @@ SUBDIR += p5-String-ShellQuote SUBDIR += p5-String-ShowDiff SUBDIR += p5-String-Strip + SUBDIR += p5-String-Tagged SUBDIR += p5-String-ToIdentifier-EN SUBDIR += p5-String-Tokenizer SUBDIR += p5-String-Trim Added: head/textproc/p5-String-Tagged/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/p5-String-Tagged/Makefile Tue Oct 10 11:16:12 2017 (r451664) @@ -0,0 +1,23 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= String-Tagged +PORTVERSION= 0.15 +CATEGORIES= textproc perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Sstring buffers with value tags on extents + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +TEST_DEPENDS= p5-Test-Identity>=0:devel/p5-Test-Identity + +NO_ARCH= yes +USE_PERL5= configure +USES= perl5 + +.include <bsd.port.mk> Added: head/textproc/p5-String-Tagged/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/p5-String-Tagged/distinfo Tue Oct 10 11:16:12 2017 (r451664) @@ -0,0 +1,3 @@ +TIMESTAMP = 1507626874 +SHA256 (String-Tagged-0.15.tar.gz) = 0f4bb11a80ec54403d3e32a0db3091570c2c7218b5b2a411480e6bb9bd89d3a0 +SIZE (String-Tagged-0.15.tar.gz) = 40354 Added: head/textproc/p5-String-Tagged/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/p5-String-Tagged/pkg-descr Tue Oct 10 11:16:12 2017 (r451664) @@ -0,0 +1,17 @@ +String::Tagged implements an object class, instances of which store a (mutable) +string buffer that supports tags. A tag is a name/value pair that applies to +some non-empty extent of the underlying string. + +The types of tag names ought to be strings, or at least values that are +well-behaved as strings, as the names will often be used as the keys in hashes +or applied to the eq operator. + +The types of tag values are not restricted - any scalar will do. This could be a +simple integer or string, ARRAY or HASH reference, or even a CODE reference +containing an event handler of some kind. + +Tags may be arbitrarily overlapped. Any given offset within the string has in +effect, a set of uniquely named tags. Tags of different names are independent. +For tags of the same name, only the latest, shortest tag takes effect. + +WWW: http://search.cpan.org/dist/String-Tagged/ Added: head/textproc/p5-String-Tagged/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/p5-String-Tagged/pkg-plist Tue Oct 10 11:16:12 2017 (r451664) @@ -0,0 +1,4 @@ +%%SITE_PERL%%/String/Tagged.pm +%%SITE_PERL%%/String/Tagged/Formatting.pod +%%PERL5_MAN3%%/String::Tagged.3.gz +%%PERL5_MAN3%%/String::Tagged::Formatting.3.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710101116.v9ABGDOi036427>