Makefile 867 B

1234567891011121314151617181920212223242526272829303132
  1. # $OpenBSD: Makefile,v 1.3 2013/03/11 11:23:54 espie Exp $
  2. PKG_ARCH= *
  3. COMMENT= lightweight C++ template library for linear algebra
  4. CATEGORIES= math devel
  5. HOMEPAGE= http://eigen.tuxfamily.org/
  6. MASTER_SITES= http://download.tuxfamily.org/eigen/
  7. DISTNAME= eigen-1.0.5
  8. WRKDIST= ${WRKDIR}/eigen
  9. # relaxed GPL (LGPL for template libs)
  10. PERMIT_PACKAGE_CDROM= Yes
  11. # eigen `needs' cmake to build tests. But since it's a template library,
  12. # simply install the header files.
  13. do-install:
  14. ${INSTALL_DATA_DIR} ${PREFIX}/include/eigen
  15. ${INSTALL_DATA} ${WRKDIST}/src/*.h ${PREFIX}/include/eigen
  16. NO_BUILD= Yes
  17. NO_TEST= Yes
  18. # this is what would be needed for a full build
  19. # note that the qt4 stuff needs to be revisited for full linking
  20. #MODULES= devel/cmake
  21. #CONFIGURE_STYLE= cmake
  22. #CONFIGURE_ARGS= -DBUILD_TESTS:BOOL=ON -DBUILD_EXAMPLES:BOOL=ON
  23. .include <bsd.port.mk>