summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-04-04 10:22:55 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-04-04 10:22:55 +0000
commitcdcb44c618cc75e934eeb82f420b12289fd39388 (patch)
tree42aaf5f3a46cbf2fe19106fc61561f2961c55bfc
parentUpgrade to 0.11.1.6. (diff)
add mpb 1.4.2
MIT Photonic-Bands
Notes
Notes: svn path=/head/; revision=78158
-rw-r--r--science/Makefile1
-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
5 files changed, 53 insertions, 0 deletions
diff --git a/science/Makefile b/science/Makefile
index 86690534dbb4..873a39b0f40a 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -12,6 +12,7 @@
SUBDIR += libsvm
SUBDIR += mayavi
SUBDIR += mmtk
+ SUBDIR += mpb
SUBDIR += mpqc
SUBDIR += mpqc-mpich
SUBDIR += oases
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