aboutsummaryrefslogtreecommitdiff
path: root/math/eigen3
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-05-27 22:12:09 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-05-27 22:12:09 +0000
commit18dd6954f3060c12b7882f4cb2a1f68dbfc0f102 (patch)
tree51edb00936e1a3da263df313cad16c1fa2858d19 /math/eigen3
parenteb37a12fc9841da5f3a397814fbb99436d82a988 (diff)
downloadports-18dd6954f3060c12b7882f4cb2a1f68dbfc0f102.tar.gz
ports-18dd6954f3060c12b7882f4cb2a1f68dbfc0f102.zip
Notes
Diffstat (limited to 'math/eigen3')
-rw-r--r--math/eigen3/Makefile15
1 files changed, 2 insertions, 13 deletions
diff --git a/math/eigen3/Makefile b/math/eigen3/Makefile
index aa602cac18ba..be26db571c7b 100644
--- a/math/eigen3/Makefile
+++ b/math/eigen3/Makefile
@@ -12,22 +12,11 @@ MASTER_SITES= http://download.tuxfamily.org/eigen/
MAINTAINER= kde@FreeBSD.org
COMMENT= Lightweight library for vector and matrix math
-BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake
-
-CMAKE?= ${LOCALBASE}/bin/cmake
+USE_CMAKE= yes
+CMAKE_SOURCE_PATH= ..
WRKSRC= ${WRKDIR}/${PORTNAME}/build
-MAKE_ENV= VERBOSE="1"
-CMAKE_ARGS= -DCMAKE_BUILD_TYPE=DEBUG \
- -DCMAKE_INSTALL_PREFIX=${PREFIX} \
- -DCMAKE_C_COMPILER:STRING='${CC}' \
- -DCMAKE_C_FLAGS:STRING="${CFLAGS}" \
- -DCMAKE_CXX_COMPILER:STRING=${CXX} \
- -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}"
post-patch:
${MKDIR} ${WRKSRC}
-do-configure:
- cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${CMAKE} ${CMAKE_ARGS} ..
-
.include <bsd.port.mk>