diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-05-27 22:12:09 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-05-27 22:12:09 +0000 |
commit | 18dd6954f3060c12b7882f4cb2a1f68dbfc0f102 (patch) | |
tree | 51edb00936e1a3da263df313cad16c1fa2858d19 /math/speedcrunch | |
parent | eb37a12fc9841da5f3a397814fbb99436d82a988 (diff) |
- 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)
Notes
Notes:
svn path=/head/; revision=213789
Diffstat (limited to 'math/speedcrunch')
-rw-r--r-- | math/speedcrunch/Makefile | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/math/speedcrunch/Makefile b/math/speedcrunch/Makefile index 47724e527631..8d47f4f2696c 100644 --- a/math/speedcrunch/Makefile +++ b/math/speedcrunch/Makefile @@ -14,15 +14,11 @@ MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} MAINTAINER= ports@FreeBSD.org COMMENT= A desktop calculator for power users -BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake - USE_QT_VER= 4 QT_COMPONENTS= qmake_build moc_build rcc_build gui -CMAKE_ARGS= -DCMAKE_BUILD_TYPE:STRING=Release \ - -DCMAKE_C_COMPILER:STRING='${CC}' \ - -DCMAKE_CXX_COMPILER:STRING=${CXX} \ - -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS} ${PTHREAD_LIBS}" \ - -DCMAKE_INSTALL_PREFIX=${PREFIX} +USE_CMAKE= yes +CMAKE_SOURCE_PATH= src +CMAKE_USE_PTHREAD= yes MYPORTDOCS= COPYING ChangeLog HACKING.txt INSTALL.txt LISEZMOI PACKAGERS README \ TRANSLATORS doc/man.docbook doc/speedcrunch.docbook @@ -51,10 +47,6 @@ post-patch: @${REINPLACE_CMD} -e 's|crunch\"|speedcrunch\"|g' \ ${WRKSRC}/src/main.cpp -pre-build: - @(cd ${WRKSRC}; \ - ${SETENV} ${CONFIGURE_ENV} ${LOCALBASE}/bin/cmake ${CMAKE_ARGS} ${WRKSRC}/src) - do-install: @${INSTALL_PROGRAM} ${WRKSRC}/speedcrunch ${PREFIX}/bin @${INSTALL_DATA} ${WRKSRC}/src/crunch.png ${PREFIX}/share/pixmaps |