freebsd-ports/math/dynare/Makefile
Jan Beich 98eb11b2f0 devel/boost-*: update to 1.65.1
Changes:	http://www.boost.org/users/history/version_1_65_1.html
PR:		218835
Approved by:	maintainer timeout (1.65.1: 2 weeks; 1.65.0: 1 month)
Tested by:	jhibbits (on powerpc64, earlier version)
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D11582
2017-09-25 00:08:16 +00:00

64 lines
1.8 KiB
Makefile

# Created by: Fernando Apesteguia <fernando.apesteguia@gmail.com>
# $FreeBSD$
PORTNAME= dynare
PORTVERSION= 4.5.1
PORTREVISION= 3
CATEGORIES= math
MASTER_SITES= http://www.dynare.org/release/source/
MAINTAINER= fernando.apesteguia@gmail.com
COMMENT= Software platform for handling a wide class of economic models
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/include/boost/unordered_set.hpp:devel/boost-libs \
ctangle:devel/cweb
LIB_DEPENDS= libumfpack.so:math/suitesparse \
libmatio.so:math/matio \
libhdf5.so:science/hdf5 \
libopenblas.so:math/openblas \
libopenblasp.so:math/openblas \
libfftw3_threads.so:math/fftw3 \
libfftw3.so:math/fftw3 \
libfftw3f_threads.so:math/fftw3-float \
libfftw3f.so:math/fftw3-float
WRKSRC= ${WRKDIR}/${DISTNAME}
GNU_CONFIGURE= yes
USES= fortran gmake pkgconfig tar:xz shebangfix
SHEBANG_FILES= matlab/modules/reporting/success.sh
INFO= dynare
OPTIONS_DEFINE= OCTAVE MATLAB
OCTAVE_DESC= Enable compilation of MEX files for Octave
MATLAB_DESC= Enable compilation of MEX files for MATLAB
OPTIONS_DEFAULT= OCTAVE
MATLAB_CONFIGURE_ENABLE= matlab
OCTAVE_CONFIGURE_ENABLE= octave
OCTAVE_BUILD_DEPENDS= octave:math/octave
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
post-configure:
@${ECHO_MSG} ""
@${ECHO_MSG} ""
@${ECHO_MSG} "*******************************************************************************"
@${ECHO_MSG} "Follow instructions at http://www.freebsd.org/doc/handbook/linuxemu-matlab.html"
@${ECHO_MSG} "on how to install MATLAB on FreeBSD"
@${ECHO_MSG} "*******************************************************************************"
@${ECHO_MSG} ""
@${ECHO_MSG} ""
.include <bsd.port.pre.mk>
post-install:
.if ${ARCH} == "amd64"
${REINPLACE_CMD} -e 's|preprocessor32|preprocessor64|g' ${TMPPLIST}
.endif
.include <bsd.port.post.mk>