openbsd-ports/math/freemat/Makefile
2010-10-24 20:58:58 +00:00

54 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.25 2010/10/24 21:25:50 ajacoutot Exp $
COMMENT= environment for rapid engineering and scientific processing
V= 4.0
DISTNAME= FreeMat-${V}-Source
PKGNAME= freemat-${V}
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 Xext c m ncurses pcre pthread stdc++
WANTLIB += z amd fftw3 fftw3f portaudio umfpack
WANTLIB += QtGui QtNetwork QtOpenGL QtSvg QtXml
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freemat/}
MODULES= x11/qt4 devel/cmake
LIB_DEPENDS= ::audio/portaudio-svn \
::devel/pcre \
::math/amd \
::math/fftw3,double \
::math/fftw3,float \
::math/umfpack \
::x11/qt4
NO_REGRESS= Yes
SUBST_VARS= V
CONFIGURE_ARGS= -DUSE_LLVM:BOOL=FALSE
WRKDIST= ${WRKDIR}/FreeMat-${V}.1-Source
post-extract:
@cd ${WRKSRC} && find . -name \*.moc.cpp | xargs rm
pre-configure:
@rm ${WRKSRC}/CMakeCache.txt
post-install:
@mv ${PREFIX}/bin/FreeMat ${PREFIX}/bin/freemat
.include <bsd.port.mk>