summaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authoraaron <aaron@FreeBSD.org>2005-11-06 14:50:02 +0000
committeraaron <aaron@FreeBSD.org>2005-11-06 14:50:02 +0000
commit472b6404ba2f95d0b9efc702b93b6f2b7a9766e6 (patch)
treef3ad87c950916d4cf181fdbd2d4a3a407c12fcdf /math
parent832a5d88ed67abc54f858fe64e1d72a78862e330 (diff)
downloadFreeBSD-ports-472b6404ba2f95d0b9efc702b93b6f2b7a9766e6.zip
FreeBSD-ports-472b6404ba2f95d0b9efc702b93b6f2b7a9766e6.tar.gz
Add port math/p5-Algorithm-Combinatorics, efficient generation of combinatorial sequences
Approved by: tobez
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/p5-Algorithm-Combinatorics/Makefile32
-rw-r--r--math/p5-Algorithm-Combinatorics/distinfo2
-rw-r--r--math/p5-Algorithm-Combinatorics/pkg-descr13
-rw-r--r--math/p5-Algorithm-Combinatorics/pkg-plist8
5 files changed, 56 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 0c84fcf..6df8453 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -144,6 +144,7 @@
SUBDIR += p5-AI-NeuralNet-BackProp
SUBDIR += p5-AI-NeuralNet-Mesh
SUBDIR += p5-AI-Perceptron
+ SUBDIR += p5-Algorithm-Combinatorics
SUBDIR += p5-Bit-ShiftReg
SUBDIR += p5-Bit-Vector
SUBDIR += p5-Bit-Vector-Minimal
diff --git a/math/p5-Algorithm-Combinatorics/Makefile b/math/p5-Algorithm-Combinatorics/Makefile
new file mode 100644
index 0000000..56d85a5
--- /dev/null
+++ b/math/p5-Algorithm-Combinatorics/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: Algorithm-Combinatorics
+# Date created: 05 Nov 2005
+# Whom: Aaron Dalton <aaron@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Algorithm-Combinatorics
+PORTVERSION= 0.08
+CATEGORIES= math perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Algorithm
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= aaron@FreeBSD.org
+COMMENT= Efficient generation of combinatorial sequences
+
+BUILD_DEPENDS= ${SITE_PERL}/Inline/C.pm:${PORTSDIR}/devel/p5-Inline \
+ ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+MAN3= Algorithm::Combinatorics.3
+
+PERL_CONFIGURE= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires perl 5.6 or above
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/math/p5-Algorithm-Combinatorics/distinfo b/math/p5-Algorithm-Combinatorics/distinfo
new file mode 100644
index 0000000..fbf939b
--- /dev/null
+++ b/math/p5-Algorithm-Combinatorics/distinfo
@@ -0,0 +1,2 @@
+MD5 (Algorithm-Combinatorics-0.08.tar.gz) = 4b6a961344283e88e6f6b000821f2fde
+SIZE (Algorithm-Combinatorics-0.08.tar.gz) = 8306
diff --git a/math/p5-Algorithm-Combinatorics/pkg-descr b/math/p5-Algorithm-Combinatorics/pkg-descr
new file mode 100644
index 0000000..97f2894
--- /dev/null
+++ b/math/p5-Algorithm-Combinatorics/pkg-descr
@@ -0,0 +1,13 @@
+Algorithm::Combinatorics is an efficient generator of combinatorial
+sequences, where efficient means:
+
+ * Speed: The core loops are written in C.
+ * Memory: No recursion and no stacks are used.
+
+Tuples are generated in lexicographic order.
+
+Author: Xavier Noria (FXN) <fxn@cpan.org>
+WWW: http://search.cpan.org/dist/Algorithm-Combinatorics/
+
+- Aaron Dalton
+aaron@FreeBSD.org
diff --git a/math/p5-Algorithm-Combinatorics/pkg-plist b/math/p5-Algorithm-Combinatorics/pkg-plist
new file mode 100644
index 0000000..f755cfe
--- /dev/null
+++ b/math/p5-Algorithm-Combinatorics/pkg-plist
@@ -0,0 +1,8 @@
+%%SITE_PERL%%/Algorithm/Combinatorics.pm
+%%SITE_PERL%%/Algorithm/Combinatorics/C.pm
+%%SITE_PERL%%/Algorithm/Combinatorics/Iterator.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/Combinatorics/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/Combinatorics
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm 2>/dev/null || true
+@dirrm %%SITE_PERL%%/Algorithm/Combinatorics
+@unexec rmdir %D/%%SITE_PERL%%/Algorithm 2>/dev/null || true
OpenPOWER on IntegriCloud