openbsd-ports/math/freemat/Makefile

53 lines
1.3 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.7 2007/03/27 20:12:59 martynas Exp $
COMMENT= "environment for rapid engineering and scientific processing"
V= 3.0
DISTNAME= FreeMat-${V}
PKGNAME= freemat-${V}p0
CATEGORIES= graphics math
HOMEPAGE= http://freemat.sourceforge.net/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= GL GLU ICE SM X11 Xcursor Xext Xfixes Xi Xinerama Xrandr \
Xrender c curses fontconfig freetype g2c glib-2.0 \
m png pthread stdc++ z amd
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freemat/}
MODULES= x11/qt4 devel/gettext
LIB_DEPENDS= avcall::devel/ffcall \
arpack.>=1::math/arpack \
blas.>=1::math/blas \
fftw3.>=4::math/fftw3,double \
fftw3f.>=4::math/fftw3,float \
lapack.>=1::math/lapack \
umfpack::math/umfpack \
QtGui,QtOpenGL::x11/qt4
2006-10-29 06:03:30 -05:00
USE_X11= Yes
USE_LIBTOOL= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE= autoconf no-autoheader
AUTOCONF_VERSION= 2.59
CONFIGURE_ENV= F77=${FC} \
CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/amd -I${LOCALBASE}/include/umfpack -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
PKG_CONFIG_LIBDIR="${LOCALBASE}/lib/qt4"
SUBST_VARS= V
post-install:
@mv ${PREFIX}/bin/FreeMat ${PREFIX}/bin/freemat
.include <bsd.port.mk>