35 lines
955 B
Makefile
35 lines
955 B
Makefile
# $OpenBSD: Makefile,v 1.2 2007/09/15 18:44:36 steven Exp $
|
|
|
|
PKG_ARCH= *
|
|
COMMENT= lightweight C++ template library for linear algebra
|
|
CATEGORIES= math devel
|
|
HOMEPAGE= http://eigen.tuxfamily.org/
|
|
MASTER_SITES= http://download.tuxfamily.org/eigen/
|
|
DISTNAME= eigen-1.0.5
|
|
WRKDIST= ${WRKDIR}/eigen
|
|
|
|
# relaxed GPL (LGPL for template libs)
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
# eigen `needs' cmake to build tests. But since it's a template library,
|
|
# simply install the header files.
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/include/eigen
|
|
${INSTALL_DATA} ${WRKDIST}/src/*.h ${PREFIX}/include/eigen
|
|
|
|
NO_BUILD= Yes
|
|
NO_REGRESS= Yes
|
|
|
|
# this is what would be needed for a full build
|
|
# note that the qt4 stuff needs to be revisited for full linking
|
|
#MODULES= devel/cmake
|
|
#CONFIGURE_STYLE= cmake
|
|
#CONFIGURE_ARGS= -DBUILD_TESTS:BOOL=ON -DBUILD_EXAMPLES:BOOL=ON
|
|
|
|
.include <bsd.port.mk>
|