aboutsummaryrefslogtreecommitdiffstats
path: root/science/mpb
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2003-04-04 18:22:55 +0800
committerijliao <ijliao@FreeBSD.org>2003-04-04 18:22:55 +0800
commit626ddb2523938e90e958427d8795447f4de99a28 (patch)
tree9ba97bc55cddf4be1a6df76307e78ff96d7fceb4 /science/mpb
parent0436e7a34b488084a461f35aa2bf9d81f856f721 (diff)
downloadfreebsd-ports-gnome-626ddb2523938e90e958427d8795447f4de99a28.tar.gz
freebsd-ports-gnome-626ddb2523938e90e958427d8795447f4de99a28.tar.zst
freebsd-ports-gnome-626ddb2523938e90e958427d8795447f4de99a28.zip
add mpb 1.4.2
MIT Photonic-Bands
Diffstat (limited to 'science/mpb')
-rw-r--r--science/mpb/Makefile32
-rw-r--r--science/mpb/distinfo1
-rw-r--r--science/mpb/pkg-descr14
-rw-r--r--science/mpb/pkg-plist5
4 files changed, 52 insertions, 0 deletions
diff --git a/science/mpb/Makefile b/science/mpb/Makefile
new file mode 100644
index 000000000000..b325c600c32c
--- /dev/null
+++ b/science/mpb/Makefile
@@ -0,0 +1,32 @@
+# ex:ts=8
+# Ports collection makefile for: mpb
+# Date created: Apr 4, 2003
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= mpb
+PORTVERSION= 1.4.2
+CATEGORIES= science
+MASTER_SITES= http://ab-initio.mit.edu/mpb/
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= MIT Photonic-Bands
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/libctl.a:${PORTSDIR}/science/libctl \
+ bash:${PORTSDIR}/shells/bash2
+LIB_DEPENDS= blas.1:${PORTSDIR}/math/blas \
+ lapack.3:${PORTSDIR}/math/lapack \
+ atlas.1:${PORTSDIR}/math/atlas \
+ fftw.2:${PORTSDIR}/math/fftw \
+ hdf5.0:${PORTSDIR}/graphics/hdf5 \
+ guile.10:${PORTSDIR}/lang/guile
+
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+MAN1= mpb.1 mpb-data.1 mpb-split.1
+
+.include <bsd.port.mk>
diff --git a/science/mpb/distinfo b/science/mpb/distinfo
new file mode 100644
index 000000000000..09dc6488d2ab
--- /dev/null
+++ b/science/mpb/distinfo
@@ -0,0 +1 @@
+MD5 (mpb-1.4.2.tar.gz) = e1e618b0db343a7a3fc38eabd69d008b
diff --git a/science/mpb/pkg-descr b/science/mpb/pkg-descr
new file mode 100644
index 000000000000..ef08c2cefc87
--- /dev/null
+++ b/science/mpb/pkg-descr
@@ -0,0 +1,14 @@
+The MIT Photonic-Bands (MPB) package is a free program for computing the band
+structures (dispersion relations) and electromagnetic modes of periodic
+dielectric structures, on both serial and parallel computers. It was developed
+by Steven G. Johnson at MIT in the Joannopoulos Ab Initio Physics group.
+
+This program computes definite-frequency eigenstates of Maxwell's equations in
+periodic dielectric structures for arbitrary wavevectors, using fully-vectorial
+and three-dimensional methods. It is especially designed for the study of
+photonic crystals (a.k.a. photonic band-gap materials), but is also applicable
+to many other problems in optics, such as waveguides and resonator systems.
+(For example, it can solve for the modes of waveguides with arbitrary cross-
+sections.)
+
+WWW: http://ab-initio.mit.edu/mpb/
diff --git a/science/mpb/pkg-plist b/science/mpb/pkg-plist
new file mode 100644
index 000000000000..f8d2245f5294
--- /dev/null
+++ b/science/mpb/pkg-plist
@@ -0,0 +1,5 @@
+bin/mpb
+bin/mpb-split
+bin/mpb-data
+share/libctl/specs/mpb.scm
+@unexec rmdir %D/share/libctl/specs 2>/dev/null || true