freebsd-ports/math/dynare/Makefile
Danilo Egea Gondolfo 7aebc60370 - Update from 4.3.3 to 4.4.0
- Add stage support

while here
- Convert USE_GMAKE to USES
- Use options helpers

PR:		ports/185783
Submitted by:	Fernando <fernando.apesteguia@gmail.com> (maintainer)
2014-01-19 12:29:37 +00:00

43 lines
1.3 KiB
Makefile

# Created by: Fernando Apesteguia <fernando.apesteguia@gmail.com>
# $FreeBSD$
PORTNAME= dynare
PORTVERSION= 4.4.0
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
BUILD_DEPENDS= ${LOCALBASE}/include/boost/unordered_set.hpp:${PORTSDIR}/devel/boost-libs
BUILD_DEPENDS+= ${LOCALBASE}/lib/libumfpack.so:${PORTSDIR}/math/suitesparse
BUILD_DEPENDS+= ${LOCALBASE}/include/matio.h:${PORTSDIR}/math/matio
WRKSRC= ${WRKDIR}/${DISTNAME}
GNU_CONFIGURE= yes
USES= gmake
USE_FORTRAN= yes
USE_XZ= yes
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:${PORTSDIR}/math/octave
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.mk>