aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2016-07-16 23:13:46 +0800
committeradamw <adamw@FreeBSD.org>2016-07-16 23:13:46 +0800
commitca3031ca405a9bc757069c68898152cdc75c9566 (patch)
tree6cd4cc18767e923b2d883df84c516efb323a3506 /devel
parentc45881b53869375eb9629cdc251476faea55cb05 (diff)
downloadfreebsd-ports-gnome-ca3031ca405a9bc757069c68898152cdc75c9566.tar.gz
freebsd-ports-gnome-ca3031ca405a9bc757069c68898152cdc75c9566.tar.zst
freebsd-ports-gnome-ca3031ca405a9bc757069c68898152cdc75c9566.zip
Add devel/p5-ReadonlyX, an improved replacement for p5-Readonly/p5-Readonly-XS,
from the person behind p5-Readonly.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-ReadonlyX/Makefile23
-rw-r--r--devel/p5-ReadonlyX/distinfo3
-rw-r--r--devel/p5-ReadonlyX/pkg-descr10
-rw-r--r--devel/p5-ReadonlyX/pkg-plist2
5 files changed, 39 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index ad8509b19aa6..da72c1c1098d 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2983,6 +2983,7 @@
SUBDIR += p5-Rcs-Agent
SUBDIR += p5-Readonly
SUBDIR += p5-Readonly-XS
+ SUBDIR += p5-ReadonlyX
SUBDIR += p5-Reflex
SUBDIR += p5-Regexp-Assemble
SUBDIR += p5-Regexp-Assemble-Compressed
diff --git a/devel/p5-ReadonlyX/Makefile b/devel/p5-ReadonlyX/Makefile
new file mode 100644
index 000000000000..5607a68bd124
--- /dev/null
+++ b/devel/p5-ReadonlyX/Makefile
@@ -0,0 +1,23 @@
+# Created by: Adam Weinberger <adamw@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= ReadonlyX
+PORTVERSION= 1.02
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:SANKO
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= adamw@FreeBSD.org
+COMMENT= Faster facility for creating read-only scalars, arrays, hashes
+
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+TEST_DEPENDS= p5-Test-Fatal>=0:devel/p5-Test-Fatal
+
+USES= perl5
+USE_PERL5= modbuildtiny
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/p5-ReadonlyX/distinfo b/devel/p5-ReadonlyX/distinfo
new file mode 100644
index 000000000000..862a322d94d0
--- /dev/null
+++ b/devel/p5-ReadonlyX/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1468681203
+SHA256 (ReadonlyX-1.02.tar.gz) = 3e4ea0870de746d60d354465ab40e71131908f077c8d57211bd119d3d5425480
+SIZE (ReadonlyX-1.02.tar.gz) = 17378
diff --git a/devel/p5-ReadonlyX/pkg-descr b/devel/p5-ReadonlyX/pkg-descr
new file mode 100644
index 000000000000..1595c0ad5438
--- /dev/null
+++ b/devel/p5-ReadonlyX/pkg-descr
@@ -0,0 +1,10 @@
+ReadonlyX combines the best features of p5-Readonly and p5-Readonly-XS,
+and is a drop-in replacement. It creates read-only scalars, arrays, and
+hashes. It was created by maintainer of Readonly itself.
+
+The author says: "ReadonlyX is the best of recent versions of Readonly
+without the old API and without the speed penalty of tie(...). It's what
+I'd like to do with Readonly if resolving bugs in it wouldn't break 16
+years of code out there in Darkpan."
+
+WWW: https://metacpan.org/pod/ReadonlyX
diff --git a/devel/p5-ReadonlyX/pkg-plist b/devel/p5-ReadonlyX/pkg-plist
new file mode 100644
index 000000000000..2118f311a36e
--- /dev/null
+++ b/devel/p5-ReadonlyX/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/ReadonlyX.pm
+%%PERL5_MAN3%%/ReadonlyX.3.gz