summaryrefslogtreecommitdiff
path: root/science/mbdyn/Makefile
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2007-10-08 18:26:19 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2007-10-08 18:26:19 +0000
commit1eb506944318152682e3c3815856d82e044a1d98 (patch)
tree9a52f792514dd99bec32451ff723a214dcafc4dd /science/mbdyn/Makefile
parentliboping is a C library to generate ICMP echo requests, better known as (diff)
- Update to 1.2.7.
- Now we use USE_FORTRAN=yes to use FORTRAN compiler. PR: ports/114805 Submitted by: Kay Lehmann <kay_lehmann@web.de> (maintainer) Approved by: stas (mentor)
Diffstat (limited to 'science/mbdyn/Makefile')
-rw-r--r--science/mbdyn/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/science/mbdyn/Makefile b/science/mbdyn/Makefile
index 97ce5da3fe50..2a801671c04e 100644
--- a/science/mbdyn/Makefile
+++ b/science/mbdyn/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= mbdyn
-PORTVERSION= 1.2.6
-PORTREVISION= 2
+PORTVERSION= 1.2.7
CATEGORIES= science
-MASTER_SITES= http://mbdyn.aero.polimi.it/~masarati/Download/mbdyn/
+MASTER_SITES= http://www.aero.polimi.it/~masarati/Download/mbdyn/
MAINTAINER= kay_lehmann@web.de
COMMENT= A MultiBody Dynamics analysis system
@@ -22,16 +21,14 @@ USE_GMAKE= yes
CONFIGURE_ARGS+= --program-prefix='' --with-umfpack=yes
CPPFLAGS+= -I${LOCALBASE}/include/suitesparse ${PTHREAD_CFLAGS}
LDFLAGS+= -lm -L${LOCALBASE}/lib ${PTHREAD_LIBS}
-WANT_FORTRAN= yes #dummy but future use
-BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
-FC= gfortran42
-F77= gfortran42
+USE_FORTRAN= yes
FORTRANLIBS= -lgfortranbegin -lgfortran
GCCLIBDIR= -L`${CAT} ${WRKSRC}/LIBDIR` -L`${CAT} ${WRKSRC}/LIBDIR`/../../..
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}" \
FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
+MAKE_ARGS+= AUTOMAKE="${TRUE}"
MAN1= mbdyn.1
@@ -97,4 +94,8 @@ CONFIGURE_ARGS+= --with-tcl=no
BROKEN= Does not compile
.endif
+.if ${OSVERSION} < 500000
+BROKEN= Does not compile
+.endif
+
.include <bsd.port.post.mk>