2007-09-29 02:53:39 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2007/09/29 06:53:39 steven Exp $
|
2006-10-28 15:53:04 -04:00
|
|
|
|
2007-09-15 14:44:36 -04:00
|
|
|
COMMENT= environment for rapid engineering and scientific processing
|
2006-10-28 15:53:04 -04:00
|
|
|
|
2007-09-29 02:53:39 -04:00
|
|
|
V= 3.5
|
2007-03-24 10:14:50 -04:00
|
|
|
DISTNAME= FreeMat-${V}
|
2007-09-07 11:55:25 -04:00
|
|
|
PKGNAME= freemat-${V}
|
2006-10-28 15:53:04 -04:00
|
|
|
|
2007-03-24 10:14:50 -04:00
|
|
|
CATEGORIES= graphics math
|
2006-10-28 15:53:04 -04:00
|
|
|
|
|
|
|
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 \
|
2007-05-22 05:10:22 -04:00
|
|
|
m png pthread stdc++ z amd gthread-2.0 ssl crypto
|
2006-10-28 15:53:04 -04:00
|
|
|
|
|
|
|
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 \
|
2007-04-20 15:11:51 -04:00
|
|
|
pcre::devel/pcre \
|
2006-10-30 04:57:20 -05:00
|
|
|
umfpack::math/umfpack \
|
2007-04-20 15:11:51 -04:00
|
|
|
QtGui,QtNetwork,QtOpenGL,QtXml::x11/qt4
|
2006-10-28 15:53:04 -04:00
|
|
|
|
2007-05-22 05:10:22 -04:00
|
|
|
|
2006-10-29 06:03:30 -05:00
|
|
|
USE_X11= Yes
|
2006-10-28 15:53:04 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2007-03-24 10:14:50 -04:00
|
|
|
USE_GMAKE= Yes
|
2007-04-20 15:11:51 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2007-03-24 10:14:50 -04:00
|
|
|
|
2006-10-28 15:53:04 -04:00
|
|
|
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" \
|
2007-05-21 12:48:33 -04:00
|
|
|
PKG_CONFIG_LIBDIR="${LOCALBASE}/lib/qt4/pkgconfig:${LOCALBASE}/lib/qt4"
|
2007-03-24 10:14:50 -04:00
|
|
|
|
|
|
|
SUBST_VARS= V
|
2006-10-28 15:53:04 -04:00
|
|
|
|
|
|
|
post-install:
|
2007-03-24 10:14:50 -04:00
|
|
|
@mv ${PREFIX}/bin/FreeMat ${PREFIX}/bin/freemat
|
2006-10-28 15:53:04 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|