summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2002-05-27 14:52:23 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2002-05-27 14:52:23 +0000
commitcb5babcdc5e09b2858a4dc63137e8915eed25e74 (patch)
tree243e4ed728f8bce44085efd76586f808b546f73b /math
parentAdd p5-Math-SimpleVariable 0.03, (diff)
Add p5-Math-LinearCombination 0.03,
sum of variables with a numerical coefficient. PR: 32975 Submitted by: Sergey Skvortsov <skv@FreeBSD.org>
Notes
Notes: svn path=/head/; revision=60138
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/p5-Math-LinearCombination/Makefile30
-rw-r--r--math/p5-Math-LinearCombination/distinfo1
-rw-r--r--math/p5-Math-LinearCombination/pkg-comment1
-rw-r--r--math/p5-Math-LinearCombination/pkg-descr8
-rw-r--r--math/p5-Math-LinearCombination/pkg-plist5
6 files changed, 46 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index c0e23774d916..f889c4a6f234 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -86,6 +86,7 @@
SUBDIR += p5-Math-FixedPrecision
SUBDIR += p5-Math-GMP
SUBDIR += p5-Math-Interpolate
+ SUBDIR += p5-Math-LinearCombination
SUBDIR += p5-Math-Logic
SUBDIR += p5-Math-Pari
SUBDIR += p5-Math-Random
diff --git a/math/p5-Math-LinearCombination/Makefile b/math/p5-Math-LinearCombination/Makefile
new file mode 100644
index 000000000000..34e2287aa3c8
--- /dev/null
+++ b/math/p5-Math-LinearCombination/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: Math::LinearCombination
+# Date created: 5 Nov 2001
+# Whom: Sergey Skvortsov <skv@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Math-LinearCombination
+PORTVERSION= 0.03
+CATEGORIES= math perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Math
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@FreeBSD.org
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/fields.pm:${PORTSDIR}/devel/p5-Class-Fields \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Math/SimpleVariable.pm:${PORTSDIR}/math/p5-Math-SimpleVariable
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= Math::LinearCombination.3
+
+pre-patch:
+ @${FIND} ${WRKSRC} -name "*.pm" | xargs ${PERL} -pi -e \
+ 's!^require 5.005_62;!!; s!^use warnings;!!; s!^our\s+!my !;'
+
+.include <bsd.port.mk>
diff --git a/math/p5-Math-LinearCombination/distinfo b/math/p5-Math-LinearCombination/distinfo
new file mode 100644
index 000000000000..6bd83e11b525
--- /dev/null
+++ b/math/p5-Math-LinearCombination/distinfo
@@ -0,0 +1 @@
+MD5 (Math-LinearCombination-0.03.tar.gz) = 8a8b0e49dda41f288cbb8f1d384209f9
diff --git a/math/p5-Math-LinearCombination/pkg-comment b/math/p5-Math-LinearCombination/pkg-comment
new file mode 100644
index 000000000000..7d6c1226789b
--- /dev/null
+++ b/math/p5-Math-LinearCombination/pkg-comment
@@ -0,0 +1 @@
+Sum of variables with a numerical coefficient
diff --git a/math/p5-Math-LinearCombination/pkg-descr b/math/p5-Math-LinearCombination/pkg-descr
new file mode 100644
index 000000000000..e631d16887e4
--- /dev/null
+++ b/math/p5-Math-LinearCombination/pkg-descr
@@ -0,0 +1,8 @@
+Math::LinearCombination is a module for representing mathematical linear
+combinations of variables. Evaluation and manipulation of linear
+combinations is also supported.
+
+WWW: http://search.cpan.org/search?dist=Math-LinearCombination
+
+-- Sergey Skvortsov
+skv@FreeBSD.org
diff --git a/math/p5-Math-LinearCombination/pkg-plist b/math/p5-Math-LinearCombination/pkg-plist
new file mode 100644
index 000000000000..d0c1db22281c
--- /dev/null
+++ b/math/p5-Math-LinearCombination/pkg-plist
@@ -0,0 +1,5 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/LinearCombination/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/Math/LinearCombination.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/LinearCombination
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Math 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math 2>/dev/null || true