summaryrefslogtreecommitdiff
path: root/math/bihar/Makefile
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2007-01-19 06:10:03 +0000
committerMaho Nakata <maho@FreeBSD.org>2007-01-19 06:10:03 +0000
commit027e4ac4bf494f565bfb27f0d27a8d27ee7ff634 (patch)
tree79eabec3c8e6f6072d61a9b318fe40a94048d082 /math/bihar/Makefile
parentUpdate to 0.4.1 with support for 6.2R (diff)
* Migrate to gfortran.
* Bump port revision. Submitted by: kris via pointyhat
Notes
Notes: svn path=/head/; revision=182778
Diffstat (limited to 'math/bihar/Makefile')
-rw-r--r--math/bihar/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/math/bihar/Makefile b/math/bihar/Makefile
index 521c9012d176..d57fe091cb1a 100644
--- a/math/bihar/Makefile
+++ b/math/bihar/Makefile
@@ -7,6 +7,7 @@
PORTNAME= bihar
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= ftp://netlib.bell-labs.com/netlib/
DISTNAME= ${PORTNAME}
@@ -15,7 +16,7 @@ EXTRACT_SUFX= .tar
MAINTAINER= ports@FreeBSD.org
COMMENT= Biharmonic equation in rectangular geometry and polar coordinates
-LIB_DEPENDS= linpack.1:${PORTSDIR}/math/linpack
+LIB_DEPENDS= linpack.3:${PORTSDIR}/math/linpack
# ${DISTFILES} is automatically created from the directory contents
IGNOREFILES= ${DISTFILES}
@@ -24,6 +25,11 @@ EXTRACT_BEFORE_ARGS= -xf
EXTRACT_AFTER_ARGS= # empty
USE_LDCONFIG= yes
+WANT_FORTRAN= yes #dummy but future use
+BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
+FC= gfortran42
+F77= gfortran42
+MAKE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
PORTDOCS= fft.doc.gz
@@ -43,7 +49,7 @@ post-install:
${CP} $(WRKSRC)/fft.doc.gz ${DOCSDIR}
.endif
.if ${PORTOBJFORMAT} == "aout"
- ${LN} -sf libbihar.so.1 ${PREFIX}/lib/libbihar.so
+ ${LN} -sf libbihar.so.2 ${PREFIX}/lib/libbihar.so
.endif
.include <bsd.port.post.mk>