aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2010-10-01 19:21:23 +0800
committerolgeni <olgeni@FreeBSD.org>2010-10-01 19:21:23 +0800
commit1a8eb1db86deb6494b8101bb06964e08c8d522fc (patch)
tree230760e747b52d67febce45f88627b870614807b
parent838b5bf0102b70fa6a0e8d2c3802ed2cd9b2c742 (diff)
downloadfreebsd-ports-gnome-1a8eb1db86deb6494b8101bb06964e08c8d522fc.tar.gz
freebsd-ports-gnome-1a8eb1db86deb6494b8101bb06964e08c8d522fc.tar.zst
freebsd-ports-gnome-1a8eb1db86deb6494b8101bb06964e08c8d522fc.zip
Add JTransforms, an open source, multithreaded FFT library written
in pure Java.
-rw-r--r--math/Makefile1
-rw-r--r--math/jtransforms/Makefile29
-rw-r--r--math/jtransforms/distinfo3
-rw-r--r--math/jtransforms/pkg-descr8
4 files changed, 41 insertions, 0 deletions
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 <olgeni@FreeBSD.org>
+#
+# $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 <bsd.port.mk>
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