diff options
author | miwi <miwi@FreeBSD.org> | 2008-05-28 06:12:09 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-05-28 06:12:09 +0800 |
commit | c486a60f04933c8227640b8faca0f931afbe32ef (patch) | |
tree | 827b6cdb889eaa1ccc00ca4598ae40dee1a42a50 /misc | |
parent | 888eabb1977d6504355090d942963975c8d755ed (diff) | |
download | freebsd-ports-gnome-c486a60f04933c8227640b8faca0f931afbe32ef.tar.gz freebsd-ports-gnome-c486a60f04933c8227640b8faca0f931afbe32ef.tar.zst freebsd-ports-gnome-c486a60f04933c8227640b8faca0f931afbe32ef.zip |
- 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)
Diffstat (limited to 'misc')
-rw-r--r-- | misc/katalog/Makefile | 7 | ||||
-rw-r--r-- | misc/kbfx/Makefile | 13 |
2 files changed, 3 insertions, 17 deletions
diff --git a/misc/katalog/Makefile b/misc/katalog/Makefile index 5fe04b665ed4..02d218c69a78 100644 --- a/misc/katalog/Makefile +++ b/misc/katalog/Makefile @@ -17,10 +17,10 @@ PATCH_DIST_STRIP= -p1 MAINTAINER= ports@FreeBSD.org COMMENT= CD organizer for KDE -BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake - USE_KDEBASE_VER= 3 USE_SQLITE= yes +USE_CMAKE= yes +CMAKE_USE_PTHREAD= yes post-patch: @${REINPLACE_CMD} -e 's|/usr/local/|${LOCALBASE}/|g' \ @@ -32,7 +32,4 @@ post-patch: @${ECHO_CMD} 'macro_add_compile_flags( katalogxml "-fPIC" )' \ >> ${WRKSRC}/xml_backend/libkatalogxml/CMakeLists.txt -do-configure: - @cd ${CONFIGURE_WRKSRC} && ${LOCALBASE}/bin/cmake . - .include <bsd.port.mk> diff --git a/misc/kbfx/Makefile b/misc/kbfx/Makefile index 828e17a27ee7..ad82a7ff2673 100644 --- a/misc/kbfx/Makefile +++ b/misc/kbfx/Makefile @@ -15,15 +15,7 @@ MASTER_SITE_SUBDIR=kbfx MAINTAINER= makc@issp.ac.ru COMMENT= A new K-menu for KDE -BUILD_DEPENDS= ${CMAKE}:${PORTSDIR}/devel/cmake - -CMAKE?= ${LOCALBASE}/bin/cmake -CMAKE_ARGS= -DCMAKE_BUILD_TYPE:STRING=Release \ - -DCMAKE_INSTALL_PREFIX:PATH=${PREFIX} \ - -DCMAKE_C_COMPILER:STRING="${CC}" \ - -DCMAKE_CXX_COMPILER:STRING="${CXX}" \ - -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \ - +USE_CMAKE= yes USE_BZIP2= yes USE_GETTEXT= yes USE_KDELIBS_VER=3 @@ -31,7 +23,4 @@ USE_LDCONFIG= yes INSTALLS_ICONS= yes USE_GCC= 3.4+ -do-configure: - (cd ${WRKSRC} && ${CMAKE} ${CMAKE_ARGS}) - .include <bsd.port.mk> |