Makefile 1015 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # $OpenBSD: Makefile,v 1.32 2017/04/10 11:46:22 sthen Exp $
  2. COMMENT= environment for rapid engineering and scientific processing
  3. BROKEN-hppa = undefined reference to lapack funcs
  4. V= 4.0
  5. DISTNAME= FreeMat-${V}-Source
  6. REVISION= 2
  7. PKGNAME= freemat-${V}
  8. CATEGORIES= graphics math
  9. HOMEPAGE= http://freemat.sourceforge.net/
  10. # GPLv2
  11. PERMIT_PACKAGE_CDROM= Yes
  12. WANTLIB += GL GLU QtGui QtNetwork QtOpenGL QtSvg QtXml amd c fftw3
  13. WANTLIB += fftw3f m ncurses pcre portaudio pthread ${LIBCXX} umfpack
  14. WANTLIB += z
  15. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freemat/}
  16. MODULES= x11/qt4 devel/cmake
  17. LIB_DEPENDS= audio/portaudio-svn \
  18. devel/pcre \
  19. math/suitesparse \
  20. math/fftw3,double \
  21. math/fftw3,float
  22. NO_TEST= Yes
  23. SUBST_VARS= V
  24. CONFIGURE_ARGS= -DUSE_LLVM:BOOL=FALSE
  25. WRKDIST= ${WRKDIR}/FreeMat-${V}.1-Source
  26. post-extract:
  27. @cd ${WRKSRC} && find . -name \*.moc.cpp | xargs rm
  28. pre-configure:
  29. @rm ${WRKSRC}/CMakeCache.txt
  30. post-install:
  31. @mv ${PREFIX}/bin/FreeMat ${PREFIX}/bin/freemat
  32. .include <bsd.port.mk>