From 626ddb2523938e90e958427d8795447f4de99a28 Mon Sep 17 00:00:00 2001 From: ijliao Date: Fri, 4 Apr 2003 10:22:55 +0000 Subject: add mpb 1.4.2 MIT Photonic-Bands --- science/Makefile | 1 + science/mpb/Makefile | 32 ++++++++++++++++++++++++++++++++ science/mpb/distinfo | 1 + science/mpb/pkg-descr | 14 ++++++++++++++ science/mpb/pkg-plist | 5 +++++ 5 files changed, 53 insertions(+) create mode 100644 science/mpb/Makefile create mode 100644 science/mpb/distinfo create mode 100644 science/mpb/pkg-descr create mode 100644 science/mpb/pkg-plist 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 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 -- cgit