Bug 25589

Summary: New port: ccmath: A mathematics library with many different functions
Product: Ports & Packages Reporter: George Reid <greid>
Component: Individual Port(s)Assignee: Peter Pentchev <roam>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.shar none

Description George Reid 2001-03-07 16:30:01 UTC
CCMATH is a mathematics library, coded in C, that contains functions
for linear algebra, numerical integration, geometry and trigonometry,
curve fitting, roots and optimization, Fourier analysis, simulation
generation, statistics, special functions, sorts and searches, time
series models, complex arithmetic, and high precision computations.

- George Reid
greid@ukug.uk.freebsd.org

How-To-Repeat: n/a
Comment 1 Peter Pentchev freebsd_committer freebsd_triage 2001-03-15 08:44:00 UTC
Responsible Changed
From-To: freebsd-ports->roam

I'll take care of this; I considered porting ccmath myself a while ago.
Comment 2 Peter Pentchev 2001-03-20 18:07:20 UTC
On Wed, Mar 07, 2001 at 04:35:51PM +0000, George Reid wrote:
> 
> >Number:         25589
> >Category:       ports
> >Synopsis:       New port: ccmath: A mathematics library with many different functions
> >Originator:     George Reid
> >Organization:
> FreeBSD UKUG
> >Environment:
> n/a
> >Description:
> CCMATH is a mathematics library, coded in C, that contains functions
> for linear algebra, numerical integration, geometry and trigonometry,
> curve fitting, roots and optimization, Fourier analysis, simulation
> generation, statistics, special functions, sorts and searches, time
> series models, complex arithmetic, and high precision computations.
> 
> - George Reid
> greid@ukug.uk.freebsd.org

Looks fine; how about the following patch though? :)  Call me paranoid
and overly picky, but I like to avoid a loop/fork/exec anywhere I can :)

G'luck,
Peter

-- 
Do you think anybody has ever had *precisely this thought* before?

--- ccmath/Makefile	Tue Mar 20 18:53:08 2001
+++ ccmath/Makefile	Tue Mar 20 19:53:41 2001
@@ -15,10 +15,6 @@
 
 INSTALLS_SHLIB=	yes
 
-PORTDOCS=	C00-intro C01-matrix C02-intg C03-geom C04-cfit C05-roots \
-		C06-fft C07-simu C08-statf C09-sfunc C10-sort C11-tseries \
-		C12-complex C13-xarm C14-util
-
 post-configure:
 .if (${MACHINE_ARCH} != "i386")
 	(cd ${WRKSRC} && ${SH} non_intel.sh)
@@ -33,9 +29,7 @@
 	${INSTALL_PROGRAM} ${WRKSRC}/tmp/libccm.so ${PREFIX}/lib
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${PREFIX}/share/doc/ccmath
-.for D in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/manual/$D ${PREFIX}/share/doc/ccmath
-.endfor
+	${INSTALL_DATA} ${WRKSRC}/manual/* ${PREFIX}/share/doc/ccmath
 .endif
 
 .include <bsd.port.mk>
Comment 3 George Reid 2001-03-20 18:10:14 UTC
On Tue, 20 Mar 2001, Peter Pentchev wrote:

> Looks fine; how about the following patch though? :)  Call me paranoid
> and overly picky, but I like to avoid a loop/fork/exec anywhere I can :)

Looks fine to me.

greid
Comment 4 Peter Pentchev freebsd_committer freebsd_triage 2001-03-20 18:25:26 UTC
State Changed
From-To: open->closed

Committed, thanks!