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/

===> The following configuration options are available for mpb-1.5_2:
ATLAS=off: Use math/atlas instead of math/lapack
NLOPT=off: Use math/nlopt (check also in science/libctl)
===> Use 'make config' to modify these settings

Update the default version of GCC used in the Ports Collection from
GCC 4.6.4 to GCC 4.7.3. This entails updating the lang/gcc port as
well as changing the default in Mk/bsd.default-versions.mk.
Part II, Bump PORTREVISIONs.
PR: 182136
Supported by: Christoph Moench-Tegeder <cmt@burggraben.net> (fixing many ports)
Tested by: bdrewery (two -exp runs)

Update to libmpc version 1.0.1 which brings the following fixes:
- Switched to automake 1.11.6, see CVE-2012-3386.
- #14669: Fixed extraction of CC from gmp.h.
- Fixed case of intermediate zero real or imaginary part in mpc_fma,
found by hydra with GMP_CHECK_RANDOMIZE=1346362345.
This is on top of the following changes from version 1.0
- Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
invariant sections) for the documentation.
- 100% of all lines are covered by tests
- Renamed functions
. mpc_mul_2exp to mpc_mul_2ui
. mpc_div_2exp to mpc_div_2ui

adjust linking and comments in dependent ports after the math/atlas update;
math/atlas-devel will be updated to use the same constructs at a later date
PR: 162706
Approved by: miwi (portmgr)
Feature safe: yes

Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).
PR: ports/124340
Submitted by: edwin@
Approved by: portmgr (pav)

- Make it do actually something useful.
Make science/mpb has been pretty much useless because it wasn't
correctly linked with hdf5 as it appears in the Makefile. Now this
is properly done by linking pthread lib too, which is required by
hdf5. Also, correctly link with ATLAS version of LAPACK.
PR: ports/58337
Submitted by: AMAKAWA Shuhei <sa264@cam.ac.uk>