aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2013-06-20 13:35:33 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2013-06-20 13:35:33 +0000
commit5ed24de45d22fff76975bd087b1bb70045089b2b (patch)
tree871702fdf1762077e480bae3eac67e47eadd7e85 /science
parent2d1343b7b94f1d7add2a6c86a1046b933812266c (diff)
downloadports-5ed24de45d22fff76975bd087b1bb70045089b2b.tar.gz
ports-5ed24de45d22fff76975bd087b1bb70045089b2b.zip
Notes
Diffstat (limited to 'science')
-rw-r--r--science/mpb/Makefile25
1 files changed, 11 insertions, 14 deletions
diff --git a/science/mpb/Makefile b/science/mpb/Makefile
index 51be6769cde4..e757754759da 100644
--- a/science/mpb/Makefile
+++ b/science/mpb/Makefile
@@ -1,25 +1,22 @@
-# ex:ts=8
-# Ports collection makefile for: mpb
-# Date created: Apr 4, 2003
-# Whom: ijliao
-#
+# Created by: ijliao
# $FreeBSD$
-#
PORTNAME= mpb
PORTVERSION= 1.4.2
-PORTREVISION= 11
+PORTREVISION= 12
CATEGORIES= science
MASTER_SITES= http://ab-initio.mit.edu/mpb/
MAINTAINER= ports@FreeBSD.org
COMMENT= MIT Photonic-Bands
+LICENSE= GPLv2
+
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
-LIB_DEPENDS= fftw.2:${PORTSDIR}/math/fftw \
- hdf5.0:${PORTSDIR}/science/hdf5 \
- ctl.4:${PORTSDIR}/science/libctl \
- guile.21:${PORTSDIR}/lang/guile
+LIB_DEPENDS= fftw:${PORTSDIR}/math/fftw \
+ hdf5:${PORTSDIR}/science/hdf5 \
+ ctl:${PORTSDIR}/science/libctl \
+ guile:${PORTSDIR}/lang/guile
USE_FORTRAN= yes
@@ -32,11 +29,11 @@ LDFLAGS+= -L${LOCALBASE}/lib
WITH_ATLAS= yes
.endif
.if defined(WITH_ATLAS)
-LIB_DEPENDS+= atlas.2:${PORTSDIR}/math/atlas
+LIB_DEPENDS+= atlas:${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:${PORTSDIR}/math/blas
+LIB_DEPENDS+= lapack:${PORTSDIR}/math/lapack
CONFIGURE_ARGS+= --with-lapack=-llapack
.endif