summaryrefslogtreecommitdiff
path: root/science/meep
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-07-23 23:56:46 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2022-07-23 23:57:18 -0700
commit2a165c431a7f3788eed7925824c018a64081a6ec (patch)
tree914a014e4e7b663812678ead24ee942d182ac861 /science/meep
parenteditors/imhex: Update to 1.19.2 (diff)
science/meep: Re-add port: Finite-difference time-domain software for electromagnetic simulations
Diffstat (limited to 'science/meep')
-rw-r--r--science/meep/Makefile35
-rw-r--r--science/meep/distinfo3
-rw-r--r--science/meep/pkg-descr5
-rw-r--r--science/meep/pkg-plist12
4 files changed, 55 insertions, 0 deletions
diff --git a/science/meep/Makefile b/science/meep/Makefile
new file mode 100644
index 000000000000..1bb2e5d8e06a
--- /dev/null
+++ b/science/meep/Makefile
@@ -0,0 +1,35 @@
+PORTNAME= meep
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.24.0
+CATEGORIES= science cad
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Finite-difference time-domain software for electromagnetic simulations
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/libharminv.a:science/harminv
+LIB_DEPENDS= libblas.so:math/blas \
+ libctlgeom.so:science/libctl \
+ libfftw3.so:math/fftw3 \
+ libhdf5.so:science/hdf5 \
+ liblapack.so:math/lapack \
+ libopenblas.so:math/openblas
+
+USES= autoreconf compiler:c++11-lang fortran gmake libtool localbase
+USE_LDCONFIG= yes
+
+USE_GITHUB= yes
+GH_ACCOUNT= NanoComp
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --without-scheme \
+ --without-python
+
+INSTALL_TARGET= install-strip
+TEST_TARGET= check
+
+BINARY_ALIAS= make=${GMAKE}
+
+.include <bsd.port.mk>
diff --git a/science/meep/distinfo b/science/meep/distinfo
new file mode 100644
index 000000000000..ae0b315b9e3f
--- /dev/null
+++ b/science/meep/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1658642939
+SHA256 (NanoComp-meep-v1.24.0_GH0.tar.gz) = 309e67320ba2b307b542446a00aa101321a8ddeb9759f2ec29016224d9914ac5
+SIZE (NanoComp-meep-v1.24.0_GH0.tar.gz) = 41240264
diff --git a/science/meep/pkg-descr b/science/meep/pkg-descr
new file mode 100644
index 000000000000..e88c4276f2e5
--- /dev/null
+++ b/science/meep/pkg-descr
@@ -0,0 +1,5 @@
+Meep is a free and open-source software package for electromagnetics
+simulation via the finite-difference time-domain (FDTD) method
+spanning a broad range of applications.
+
+WWW: https://github.com/NanoComp/meep
diff --git a/science/meep/pkg-plist b/science/meep/pkg-plist
new file mode 100644
index 000000000000..ffc37a7b5bd7
--- /dev/null
+++ b/science/meep/pkg-plist
@@ -0,0 +1,12 @@
+include/meep.hpp
+include/meep/adjust_verbosity.hpp
+include/meep/material_data.hpp
+include/meep/meep-config.h
+include/meep/meepgeom.hpp
+include/meep/mympi.hpp
+include/meep/vec.hpp
+lib/libmeep.a
+lib/libmeep.so
+lib/libmeep.so.29
+lib/libmeep.so.29.0.0
+libdata/pkgconfig/meep.pc