From 29887f750856bf42e7c273e4b966eefea4fb51b6 Mon Sep 17 00:00:00 2001 From: Jimmy Olgeni Date: Fri, 1 Oct 2010 11:21:23 +0000 Subject: [PATCH] Add JTransforms, an open source, multithreaded FFT library written in pure Java. --- math/Makefile | 1 + math/jtransforms/Makefile | 29 +++++++++++++++++++++++++++++ math/jtransforms/distinfo | 3 +++ math/jtransforms/pkg-descr | 8 ++++++++ 4 files changed, 41 insertions(+) create mode 100644 math/jtransforms/Makefile create mode 100644 math/jtransforms/distinfo create mode 100644 math/jtransforms/pkg-descr diff --git a/math/Makefile b/math/Makefile index b10cb783b213..2caaf935b5ee 100644 --- a/math/Makefile +++ b/math/Makefile @@ -143,6 +143,7 @@ SUBDIR += jsmath SUBDIR += jsmath-fonts SUBDIR += jsmath-fonts-sprite + SUBDIR += jtransforms SUBDIR += jts SUBDIR += k3dsurf SUBDIR += kash3 diff --git a/math/jtransforms/Makefile b/math/jtransforms/Makefile new file mode 100644 index 000000000000..88f7e6eff810 --- /dev/null +++ b/math/jtransforms/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: jtransforms +# Date created: 2010-10-01 +# Whom: Jimmy Olgeni +# +# $FreeBSD$ +# + +PORTNAME= jtransforms +PORTVERSION= 2.3 +CATEGORIES= math java +MASTER_SITES= SF +MASTER_SITE_SUBDIR=jtransforms/jtransforms/${PORTVERSION} +DISTNAME= jtransforms-${PORTVERSION}-src + +MAINTAINER= olgeni@FreeBSD.org +COMMENT= A multithreaded FFT library written in pure Java + +USE_BZIP2= yes +USE_JAVA= 1.5+ +USE_ANT= yes + +WRKSRC= ${WRKDIR}/JTransforms + +PLIST_FILES= %%JAVAJARDIR%%/jtransforms.jar + +do-install: + @${INSTALL_DATA} ${WRKSRC}/lib/jtransforms-2.3.jar ${JAVAJARDIR}/jtransforms.jar + +.include diff --git a/math/jtransforms/distinfo b/math/jtransforms/distinfo new file mode 100644 index 000000000000..4645ed7f51db --- /dev/null +++ b/math/jtransforms/distinfo @@ -0,0 +1,3 @@ +MD5 (jtransforms-2.3-src.tar.bz2) = c02cd8bee14bc4165fb486100e9fe399 +SHA256 (jtransforms-2.3-src.tar.bz2) = 1064a288d35fd82163bc0fc27464e35cfa9ed2fbfbaa5f563b6e3e3a94a06330 +SIZE (jtransforms-2.3-src.tar.bz2) = 79884 diff --git a/math/jtransforms/pkg-descr b/math/jtransforms/pkg-descr new file mode 100644 index 000000000000..ccf033db785b --- /dev/null +++ b/math/jtransforms/pkg-descr @@ -0,0 +1,8 @@ +JTransforms is the first, open source, multithreaded FFT library +written in pure Java. Currently, four types of transforms are +available: Discrete Fourier Transform (DFT), Discrete Cosine Transform +(DCT), Discrete Sine Transform (DST) and Discrete Hartley Transform +(DHT). The code is derived from General Purpose FFT Package written +by Takuya Ooura and from Java FFTPack written by Baoshe Zhang. + +WWW: http://sites.google.com/site/piotrwendykier/software/jtransforms