aboutsummaryrefslogtreecommitdiff
path: root/science/mpb
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2008-04-16 10:42:58 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2008-04-16 10:42:58 +0000
commit9e9bfda395a9faf0626c005535950cc7cf663d90 (patch)
treef3dfc249735cbbb44880f547b9396589aaf1241f /science/mpb
parent42dfec6f1e65bf79704778369d1ba3c2381d8e79 (diff)
downloadports-9e9bfda395a9faf0626c005535950cc7cf663d90.tar.gz
ports-9e9bfda395a9faf0626c005535950cc7cf663d90.zip
Notes
Diffstat (limited to 'science/mpb')
-rw-r--r--science/mpb/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/science/mpb/Makefile b/science/mpb/Makefile
index a2f0113bb59d..fc62a4edec8a 100644
--- a/science/mpb/Makefile
+++ b/science/mpb/Makefile
@@ -8,17 +8,17 @@
PORTNAME= mpb
PORTVERSION= 1.4.2
-PORTREVISION= 3
+PORTREVISION= 4
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/bash
+BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
LIB_DEPENDS= fftw.2:${PORTSDIR}/math/fftw \
hdf5.0:${PORTSDIR}/science/hdf5 \
+ ctl.3:${PORTSDIR}/science/libctl \
guile.18:${PORTSDIR}/lang/guile
USE_FORTRAN= yes
@@ -30,14 +30,14 @@ CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
CONFIGURE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
.if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS)
-WITH_ATLAS= yes
+WITH_ATLAS= yes
.endif
.if defined(WITH_ATLAS)
-LIB_DEPENDS+= atlas.2:${PORTSDIR}/math/atlas
+LIB_DEPENDS+= atlas.2:${PORTSDIR}/math/atlas
CONFIGURE_ARGS+= --with-lapack=-lalapack
.else
-LIB_DEPENDS+= blas.2:${PORTSDIR}/math/blas
-LIB_DEPENDS+= lapack.4:${PORTSDIR}/math/lapack
+LIB_DEPENDS+= blas.2:${PORTSDIR}/math/blas
+LIB_DEPENDS+= lapack.4:${PORTSDIR}/math/lapack
CONFIGURE_ARGS+= --with-lapack=-llapack
.endif