freebsd-ports/science/mbdyn/Makefile
Tobias C. Berner 46196047a4 science: remove 'Created by' lines
A big Thank You to the original contributors of these ports:

  *  Andreas Fehlner <fehlner@gmx.de>
  *  Brad Huntting <huntting@glarp.com>
  *  Chao Shin <quakelee@cn.FreeBSD.org>
  *  Cheng-Lung Sung <clsung@FreeBSD.org>
  *  Chia-Hsing Yu <me@davidyu.org>
  *  Chris Rees <utisoft@gmail.com>
  *  David Naylor <dbn@FreeBSD.org>
  *  Dmitry Sivachenko <demon@FreeBSD.org>
  *  Ed Schouten <ed@FreeBSD.org>
  *  Eric Freeman <freebsdports@chillibear.com>
  *  Erik B Knudsen
  *  Fernan Aguero <fernan@iib.unsam.edu.ar>
  *  Frederic Culot <frederic@culot.org>
  *  Gea-Suan Lin <gslin@gslin.org>
  *  Glenn Johnson
  *  Greg Lewis <glewis@FreeBSD.org>
  *  Igor Serikov <iserikov@acm.org>
  *  Johannes Dieterich <dieterich@ogolem.org>
  *  Johannes Dieterich <jmd@FreeBSD.org>
  *  Johannes M Dieterich <jmd@FreeBSD.org>
  *  Johannes Meixner <johannes@perceivon.net>
  *  Ju Pengfei <jupengfei@gmail.com>
  *  Kay Lehmann <kay_lehmann@web.de>
  *  Klaus Aehlig <aehlig@linta.de>
  *  Kurt Kanzenbach <kurt@kmk-computers.de>
  *  Leland Wang <llwang@infor.org>
  *  Li-Lun Wang <llwang@infor.org>
  *  Markus Brueffer <markus@FreeBSD.org>
  *  NAKATA Maho <maho@FreeBSD.org>
  *  NAKATA, Maho <maho@FreeBSD.org>
  *  Nakata Maho <chat95@mbox.kyoto-inet.or.jp>
  *  Nakata Maho <maho@FreeBSD.org>
  *  Pav Lucistnik <pav@FreeBSD.org>
  *  Pav Lucistnik <pav@oook.cz>
  *  Pedro F. Giffuni
  *  Pedro F. Giffuni <giffunip@tutopia.com>
  *  Pedro Giffuni
  *  Pedro Giffuni <giffunip@asme.org>
  *  Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  Rong-En Fan <rafan@FreeBSD.org>
  *  Ryo MIYAMOTO <rmiya@cc.hirosaki-u.ac.jp>
  *  Seamus Venasse <svenasse@polaris.ca>
  *  Shin'ya Murakami <murakami@ahs.scitec.kobe-u.ac.jp>
  *  Shin-ya MURAKAMI <murashin@gfd-dennou.org>
  *  Shin-ya Murakami <murashin@gfd-dennou.org>
  *  Stas Timokhin <devel@stasyan.com>
  *  Stephen Montgomery-Smith <stephen@math.missouri.edu>
  *  Steve Wills <steve@mouf.net
  *  Steve Wills <steve@mouf.net>
  *  Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
  *  TAKATSU Tomonari <tota@FreeBSD.org>
  *  TAOKA Fumiyoshi
  *  Thierry Thomas <thierry@pompo.net>
  *  Tim Cas <ports@stdrand.com>
  *  Uffe Jakobsen <uffe@uffe.org>
  *  Veniamin Gvozdikov <vg@FreeBSD.org>
  *  Vsevolod Stakhov <vsevolod@highsecure.ru>
  *  Wen Heping <wen@FreeBSD.org>
  *  Wen Heping <wenheping@gmail.com>
  *  Wen heping <wenheping@gmail.com>
  *  Ying-Chieh Liao <ijliao@FreeBSD.org>
  *  Yuri Victorovich <yuri@rawbw.com>
  *  anholt@FreeBSD.org
  *  bacon@smithers.neuro.mcw.edu
  *  batman <batman@udel.edu>
  *  db
  *  gurkan@phys.ethz.ch
  *  ijliao
  *  jbacon
  *  maintainer.freebsd@xpoundit.com
  *  mi
  *  rafan@infor.org
  *  shurd@FreeBSD.org
  *  thierry@pompo.net
  *  will

With hat:	portmgr
2022-07-20 16:22:51 +02:00

73 lines
2 KiB
Makefile

PORTNAME= mbdyn
DISTVERSION= 1.7.3
PORTREVISION= 3
CATEGORIES= science
MASTER_SITES= https://www.mbdyn.org/userfiles/downloads/
MAINTAINER= yuri@FreeBSD.org
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-ng \
libumfpack.so:math/suitesparse-umfpack
USES= compiler:c++11-lib fortran gmake libtool:build localbase
USE_LDCONFIG= yes
CPPFLAGS+= -fpermissive -I${LOCALBASE}/include/suitesparse
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix='' --enable-multithread --with-mpi=no \
--with-ginac=no
INSTALL_TARGET= install-strip
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
ATLAS_CONFIGURE_ON= --with-blas=atlas
ATLAS_USES= blaslapack:atlas
CHACO_BUILD_DEPENDS= ${LOCALBASE}/lib/libchaco.a:math/chaco
CHACO_CONFIGURE_ON= --with-chaco=yes
CHACO_CONFIGURE_OFF= --with-chaco=no
GOTOBLAS_CONFIGURE_ON= --with-blas=goto --with-goto=goto2
GOTOBLAS_USES= blaslapack:gotoblas
METIS_CONFIGURE_ON= --with-metis=yes
METIS_CONFIGURE_OFF= --with-metis=no
METIS_CPPFLAGS= -I${LOCALBASE}/include/metis
METIS_LIB_DEPENDS= libmetis.so:math/metis
REFERENCE_CONFIGURE_ON= --with-blas=blas
REFERENCE_USES= blaslapack:netlib
.include <bsd.port.pre.mk>
.if ${GCC_DEFAULT} >= 10
# workaround for Type mismatch in argument 't' at (1); passed REAL(4) to INTEGER(4)
# in theory, this should set FCFLAGS, but the port does not conform
FFLAGS+= -fallow-argument-mismatch
.endif
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>