diff options
Diffstat (limited to 'math/speedcrunch/Makefile')
-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 |