summaryrefslogtreecommitdiff
path: root/science/harminv/Makefile
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2010-01-02 02:54:00 +0000
committerWen Heping <wen@FreeBSD.org>2010-01-02 02:54:00 +0000
commit085fe92c9327478b15a9dc42124eb4d384087f57 (patch)
tree0cdcf5c0285720626393943aa5df670bf4efd900 /science/harminv/Makefile
parentReset maintainer at his request. (diff)
Harminv is a free program (and accompanying library) to solve the problem
of harmonic inversion - given a discrete-time, finite-length signal that consists of a sum of finitely-many sinusoids (possibly exponentially decaying) in a given bandwidth, it determines the frequencies, decay constants, amplitudes, and phases of those sinusoids. WWW: http://ab-initio.mit.edu/wiki/index.php/Harminv PR: ports/142154 Submitted by: Stas Timokhin <devel@stasyan.com>
Notes
Notes: svn path=/head/; revision=246972
Diffstat (limited to 'science/harminv/Makefile')
-rw-r--r--science/harminv/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/science/harminv/Makefile b/science/harminv/Makefile
new file mode 100644
index 000000000000..584e68aa69f3
--- /dev/null
+++ b/science/harminv/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: science/harminv
+# Date created: 26 Dec 2009
+# Whom: Stas Timokhin <devel@stasyan.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= harminv
+PORTVERSION= 1.3.1
+CATEGORIES= science
+MASTER_SITES= http://ab-initio.mit.edu/harminv/
+
+MAINTAINER= devel@stasyan.com
+COMMENT= Solver of harmonic inversion
+
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+USE_FORTRAN= yes
+USE_GCC= 4.4+
+CPPFLAGS+= -I${LOCALBASE}/include
+LD_LIBRARY_PATH= -L${LOCALBASE}/lib -L/usr/lib
+LDFLAGS+= -L${LOCALBASE}/lib
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH}" LDFLAGS="${LDFLAGS}"
+USE_LDCONFIG= yes
+
+MAN1= harminv.1
+
+LIB_DEPENDS+= guile.20:${PORTSDIR}/lang/guile \
+ blas.2:${PORTSDIR}/math/blas \
+ lapack.4:${PORTSDIR}/math/lapack
+
+post-patch:
+ ${REINPLACE_CMD} -e 's#%%PKGDIR%%#${PREFIX}/libdata#g' \
+ ${WRKSRC}/Makefile.in
+
+.include <bsd.port.mk>