From c486a60f04933c8227640b8faca0f931afbe32ef Mon Sep 17 00:00:00 2001 From: miwi Date: Tue, 27 May 2008 22:12:09 +0000 Subject: - Add common code to support for cmake based ports. - Update devel/cmake to 2.6.0 (also fix ports/123092) - Use the new CMAKE build framework in all ports using cmake Approved by: portmgr (pav) --- math/eigen2/Makefile | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'math/eigen2') diff --git a/math/eigen2/Makefile b/math/eigen2/Makefile index aa602cac18ba..be26db571c7b 100644 --- a/math/eigen2/Makefile +++ b/math/eigen2/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 -- cgit