aboutsummaryrefslogtreecommitdiff
path: root/lang/p5-Quantum-Superpositions
diff options
context:
space:
mode:
authorAaron Dalton <aaron@FreeBSD.org>2006-06-01 07:25:40 +0000
committerAaron Dalton <aaron@FreeBSD.org>2006-06-01 07:25:40 +0000
commitd478ddb277513e74bca31195d04e7d13f624d609 (patch)
treeeb9cc5fc9356787a0e3782705b32329f34c5fa1b /lang/p5-Quantum-Superpositions
parentd554909b425805b026a5ba71aac78096f81d7197 (diff)
downloadports-d478ddb277513e74bca31195d04e7d13f624d609.tar.gz
ports-d478ddb277513e74bca31195d04e7d13f624d609.zip
Adding port lang/p5-Quantum-Superpositions, QM-like superpositions in Perl.
Approved by: tobez (implicit)
Notes
Notes: svn path=/head/; revision=164142
Diffstat (limited to 'lang/p5-Quantum-Superpositions')
-rw-r--r--lang/p5-Quantum-Superpositions/Makefile34
-rw-r--r--lang/p5-Quantum-Superpositions/distinfo3
-rw-r--r--lang/p5-Quantum-Superpositions/pkg-descr23
-rw-r--r--lang/p5-Quantum-Superpositions/pkg-plist5
4 files changed, 65 insertions, 0 deletions
diff --git a/lang/p5-Quantum-Superpositions/Makefile b/lang/p5-Quantum-Superpositions/Makefile
new file mode 100644
index 000000000000..d59d803c1709
--- /dev/null
+++ b/lang/p5-Quantum-Superpositions/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: p5-Quantum-Superpositions
+# Date created: 01 Jun 2006
+# Whom: Aaron Dalton <aaron@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Quantum-Superpositions
+PORTVERSION= 2.02
+CATEGORIES= lang science perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Quantum
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= aaron@FreeBSD.org
+COMMENT= QM-like superpositions in Perl
+
+BUILD_DEPENDS= ${SITE_PERL}/Class/Multimethods.pm:${PORTSDIR}/devel/p5-Class-Multimethods
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+MAN3= Quantum::Superpositions.3
+
+PERL_CONFIGURE= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+post-patch:
+ @${PERL} -pi -e 's/^our (\$$VERSION)/use vars qw($$1); $$1/;' \
+ -e '$$_ = "" if /use warnings/;' \
+ ${WRKSRC}/lib/Quantum/Superpositions.pm
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/lang/p5-Quantum-Superpositions/distinfo b/lang/p5-Quantum-Superpositions/distinfo
new file mode 100644
index 000000000000..dc02e146b9ab
--- /dev/null
+++ b/lang/p5-Quantum-Superpositions/distinfo
@@ -0,0 +1,3 @@
+MD5 (Quantum-Superpositions-2.02.tar.gz) = 40a3a398ca24be6de510667d92c02f5e
+SHA256 (Quantum-Superpositions-2.02.tar.gz) = 52861934839451090e64d460513fec8606773191b5252f67d1a6480263d38473
+SIZE (Quantum-Superpositions-2.02.tar.gz) = 13742
diff --git a/lang/p5-Quantum-Superpositions/pkg-descr b/lang/p5-Quantum-Superpositions/pkg-descr
new file mode 100644
index 000000000000..53d432e7403d
--- /dev/null
+++ b/lang/p5-Quantum-Superpositions/pkg-descr
@@ -0,0 +1,23 @@
+The Quantum::Superpositions module adds two new operators to Perl: any and
+all.
+
+Each of these operators takes a list of values (states) and superimposes
+them into a single scalar value (a superposition), which can then be
+stored in a standard scalar variable.
+
+The any and all operators produce two distinct kinds of superposition. The
+any operator produces a disjunctive superposition, which may (notionally)
+be in any one of its states at any time, according to the needs of the
+algorithm that uses it.
+
+In contrast, the all operator creates a conjunctive superposition, which
+is always in every one of its states simultaneously.
+
+Superpositions are scalar values and hence can participate in arithmetic
+and logical operations just like any other type of scalar. However, when
+an operation is applied to a superposition, it is applied (notionally) in
+parallel to each of the states in that superposition.
+
+WWW: http://search.cpan.org/dist/Quantum-Superpositions
+Authors: Damian Conway <damian@conway.org>
+ Steven Lembark <lembark@wrkhors.com>
diff --git a/lang/p5-Quantum-Superpositions/pkg-plist b/lang/p5-Quantum-Superpositions/pkg-plist
new file mode 100644
index 000000000000..ced1551ae7f5
--- /dev/null
+++ b/lang/p5-Quantum-Superpositions/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Quantum/Superpositions.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Quantum/Superpositions/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Quantum/Superpositions
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Quantum
+@dirrmtry %%SITE_PERL%%/Quantum