2011-09-16 06:31:20 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.27 2011/09/16 10:31:22 espie 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
|
|
|
|
2010-10-24 15:28:50 -04:00
|
|
|
V= 4.0
|
|
|
|
DISTNAME= FreeMat-${V}-Source
|
2011-09-16 06:31:20 -04:00
|
|
|
REVISION= 0
|
2010-07-18 06:30:41 -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
|
|
|
|
|
2010-10-24 15:28:50 -04:00
|
|
|
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
|
2006-10-28 15:53:04 -04:00
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freemat/}
|
|
|
|
|
2010-10-24 15:28:50 -04:00
|
|
|
MODULES= x11/qt4 devel/cmake
|
2006-10-28 15:53:04 -04:00
|
|
|
|
2010-11-19 02:23:05 -05:00
|
|
|
LIB_DEPENDS= audio/portaudio-svn \
|
|
|
|
devel/pcre \
|
|
|
|
math/amd \
|
|
|
|
math/fftw3,double \
|
|
|
|
math/fftw3,float \
|
|
|
|
math/umfpack
|
2007-05-22 05:10:22 -04:00
|
|
|
|
2007-03-24 10:14:50 -04:00
|
|
|
|
2010-10-24 15:28:50 -04:00
|
|
|
NO_REGRESS= Yes
|
2007-03-24 10:14:50 -04:00
|
|
|
|
|
|
|
SUBST_VARS= V
|
2006-10-28 15:53:04 -04:00
|
|
|
|
2010-10-24 15:28:50 -04:00
|
|
|
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
|
|
|
|
|
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>
|