Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jul 2017 15:50:43 +0000 (UTC)
From:      Richard Gallamore <ultima@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r445084 - in head/science/mbdyn: . files
Message-ID:  <201707051550.v65FohHR073057@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ultima
Date: Wed Jul  5 15:50:43 2017
New Revision: 445084
URL: https://svnweb.freebsd.org/changeset/ports/445084

Log:
  * Updated to 1.7.2
  * New maintainer Jov <amutu@amutu.com>
  * Sorted options
  
  Changelog:	https://www.mbdyn.org/userfiles/downloads/CHANGELOG-1.7.txt
  
  PR:		220157
  Submitted by:	Jov <amutu@amutu.com> (maintainer), pfg
  Reviewed by:	matthew (mentor), matt
  Approved by:	matthew (mentor)
  Differential Revision:	https://reviews.freebsd.org/D11481

Deleted:
  head/science/mbdyn/files/
Modified:
  head/science/mbdyn/Makefile
  head/science/mbdyn/distinfo

Modified: head/science/mbdyn/Makefile
==============================================================================
--- head/science/mbdyn/Makefile	Wed Jul  5 15:41:19 2017	(r445083)
+++ head/science/mbdyn/Makefile	Wed Jul  5 15:50:43 2017	(r445084)
@@ -2,82 +2,63 @@
 # $FreeBSD$
 
 PORTNAME=	mbdyn
-PORTVERSION=	1.7.1
-PORTREVISION=	2
+PORTVERSION=	1.7.2
 CATEGORIES=	science
 MASTER_SITES=	https://www.mbdyn.org/userfiles/downloads/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	amutu@amutu.com
 COMMENT=	MultiBody Dynamics analysis system
 
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+BROKEN_powerpc=	Does not compile on powerpc
+
+BUILD_DEPENDS=	libatomic_ops>0:devel/libatomic_ops
 LIB_DEPENDS=	libltdl.so:devel/libltdl \
 		libarpack.so:math/arpack \
 		libumfpack.so:math/suitesparse
 
-BROKEN_powerpc=	Does not compile on powerpc
-
 GNU_CONFIGURE=	yes
-USES=		compiler:c++11-lib fortran gmake libtool localbase
+USES=		compiler:c++11-lib fortran gmake libtool:build localbase
 USE_LDCONFIG=	yes
 CPPFLAGS+=	-fpermissive -I${LOCALBASE}/include/suitesparse
-CONFIGURE_ARGS+=	--program-prefix=''
+CONFIGURE_ARGS=	--program-prefix='' --enable-multithread --with-mpi=no \
+		--with-ginac=no
 INSTALL_TARGET=	install-strip
 
-OPTIONS_DEFINE=	MPI METIS CHACO GINAC
+OPTIONS_DEFINE=	METIS CHACO
 OPTIONS_RADIO=	BLAS
 OPTIONS_RADIO_BLAS=	REFERENCE GOTOBLAS ATLAS
 OPTIONS_DEFAULT=	REFERENCE
 
+ATLAS_DESC=	ATLAS
+CHACO_DESC=	Enable chaco-support
+GOTOBLAS_DESC=	GotoBLAS2
+METIS_DESC=	Enable metis-support
 REFERENCE_DESC=	Blas / Lapack
-REFERENCE_USES=	blaslapack:netlib
-REFERENCE_CONFIGURE_ON=	--with-blas=blas
 
-ATLAS_DESC=	ATLAS
-ATLAS_USES=	blaslapack:atlas
 ATLAS_CONFIGURE_ON=	--with-blas=atlas
+ATLAS_USES=	blaslapack:atlas
 
-GOTOBLAS_DESC=	GotoBLAS2
-GOTOBLAS_USES=	blaslapack:gotoblas
-GOTOBLAS_CONFIGURE_ON=	--with-blas=goto --with-goto=goto2
-
-MPI_DESC=		Enable mpich-support (Requires Metis or Chaco, broken)
-MPI_IGNORE=		you enabled MPI support, which is broken
-MPI_BUILD_DEPENDS_OFF=	libatomic_ops>0:devel/libatomic_ops
-MPI_LIB_DEPENDS=	libmpich.so:net/mpich2
-MPI_CONFIGURE_ON=	--with-mpi=yes --enable-schur
-MPI_CONFIGURE_OFF=	--with-mpi=no --enable-multithread
-
-METIS_DESC=		Enable metis-support
-METIS_LIB_DEPENDS=	libmetis.so:math/metis4
-METIS_CONFIGURE_ON=	--with-metis=yes
-METIS_CPPFLAGS=		-I${LOCALBASE}/include/metis
-METIS_CONFIGURE_OFF=	--with-metis=no
-
-CHACO_DESC=		Enable chaco-support
 CHACO_BUILD_DEPENDS=	${LOCALBASE}/lib/libchaco.a:math/chaco
 CHACO_CONFIGURE_ON=	--with-chaco=yes
 CHACO_CONFIGURE_OFF=	--with-chaco=no
 
-GINAC_DESC=		Enable GiNaC-support (not implemented yet)
-GINAC_IGNORE=		you enabled GiNaC-support, which is broken
-GINAC_LIB_DEPENDS=	libmetis.so:math/metis4 \
-			libginac.so:math/GiNaC
-GINAC_CONFIGURE_ON=	--with-ginac=yes
-GINAC_CONFIGURE_OFF=	--with-ginac=no
-GINAC_CPPFLAGS=		-I${LOCALBASE}/include/metis
+GOTOBLAS_CONFIGURE_ON=	--with-blas=goto --with-goto=goto2
+GOTOBLAS_USES=	blaslapack:gotoblas
 
-.include <bsd.port.pre.mk>
+METIS_CONFIGURE_ON=	--with-metis=yes
+METIS_CONFIGURE_OFF=	--with-metis=no
+METIS_CPPFLAGS=		-I${LOCALBASE}/include/metis
+METIS_LIB_DEPENDS=	libmetis.so:math/metis4
 
-.if ${PORT_OPTIONS:MMPI} && ! ${PORT_OPTIONS:MMETIS}
-WITH_CHACO=	yes
-.endif
+REFERENCE_CONFIGURE_ON=	--with-blas=blas
+REFERENCE_USES=	blaslapack:netlib
 
 pre-configure:
 	${REINPLACE_CMD} -e '/try_lapack_LIBS=/s/-llapack/${LAPACKLIB}/' \
 		-e 's/ -lxerbla//; s/-lcholmod/-lcholmod ${BLASLIB} ${LAPACKLIB} -lsuitesparseconfig/'	\
 		${WRKSRC}/configure
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/science/mbdyn/distinfo
==============================================================================
--- head/science/mbdyn/distinfo	Wed Jul  5 15:41:19 2017	(r445083)
+++ head/science/mbdyn/distinfo	Wed Jul  5 15:50:43 2017	(r445084)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1473272629
-SHA256 (mbdyn-1.7.1.tar.gz) = 2c1f21a6459c58103778cb5d771fc49f972baaa57866329ecd1e90dcf04b4ccf
-SIZE (mbdyn-1.7.1.tar.gz) = 2834562
+TIMESTAMP = 1497778371
+SHA256 (mbdyn-1.7.2.tar.gz) = 383977c988ce0a3ebb40ecc62cae8a6276bf42f1aa34e80bd9f2f78d792cd4ff
+SIZE (mbdyn-1.7.2.tar.gz) = 2915000



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707051550.v65FohHR073057>