From 07abe6985e4df3eec131890a3e4942e03ed7e9af Mon Sep 17 00:00:00 2001 From: makc Date: Sat, 29 Aug 2009 07:15:56 +0000 Subject: Add new port devel/cmake-gui: Qt4 frontend for cmake. PR: inspired by ports/137796 Submitted by: Maxim Ignatenko --- devel/cmake-gui/Makefile | 48 +++++++++++++++++++++++++++++++++++++++++++++++ devel/cmake-gui/distinfo | 3 +++ devel/cmake-gui/pkg-descr | 9 +++++++++ devel/cmake-gui/pkg-plist | 7 +++++++ 4 files changed, 67 insertions(+) create mode 100644 devel/cmake-gui/Makefile create mode 100644 devel/cmake-gui/distinfo create mode 100644 devel/cmake-gui/pkg-descr create mode 100644 devel/cmake-gui/pkg-plist (limited to 'devel') diff --git a/devel/cmake-gui/Makefile b/devel/cmake-gui/Makefile new file mode 100644 index 000000000000..e98bbdfc9937 --- /dev/null +++ b/devel/cmake-gui/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: cmake-gui +# Date created: 2009-08-27 +# Whom: Max Brazhnikov +# +# $FreeBSD$ +# + +PORTNAME= cmake +PORTVERSION= 2.6.4 +CATEGORIES= devel +MASTER_SITES= http://www.cmake.org/files/v${PORTVERSION:C/\.[[:digit:]]+$//}/ +PKGNAMESUFFIX= -gui + +MAINTAINER= kde@FreeBSD.org +COMMENT= Qt4 GUI for cmake + +RUN_DEPENDS= ${CMAKE_BIN}:${CMAKE_PORT} + +USE_QT_VER= 4 +QT_COMPONENTS= gui qmake_build moc_build uic_build rcc_build +USE_CMAKE= yes +CMAKE_ARGS= -DBUILD_QtDialog:bool=on +MAN1= cmake-gui.1 + +BUILD_WRKSRC= ${WRKSRC}/Source/QtDialog +INSTALL_WRKSRC= ${BUILD_WRKSRC} + +.include + +.if ${OSVERSION} < 700042 +CMAKE_USE_PTHREAD= yes +.endif + +post-patch: + @(${FIND} ${WRKSRC}/Modules -name "*.cmake" -print0; \ + ${FIND} ${WRKSRC}/Tests -name "CMakeLists.txt" -print0 ) | \ + ${XARGS} -0 -n 100 ${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g; \ + s,/usr/X11R6,${LOCALBASE},g' + +pre-install: + ${LN} -sf ${CMAKE_BIN} ${WRKSRC}/bin + ${WRKSRC}/bin/cmake-gui --help-man > ${WRKSRC}/cmake-gui.1 + +post-install: + ${MKDIR} ${MANPREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/cmake-gui.1 ${MANPREFIX}/man/man1 + +.include diff --git a/devel/cmake-gui/distinfo b/devel/cmake-gui/distinfo new file mode 100644 index 000000000000..45fee6148762 --- /dev/null +++ b/devel/cmake-gui/distinfo @@ -0,0 +1,3 @@ +MD5 (cmake-2.6.4.tar.gz) = 50f387d0436696c4a68b5512a72c9cde +SHA256 (cmake-2.6.4.tar.gz) = 9cdd2152e37b05d0d40d334a1bb2dfc0250021797360f971c6ea3d457ac9fdf2 +SIZE (cmake-2.6.4.tar.gz) = 3285371 diff --git a/devel/cmake-gui/pkg-descr b/devel/cmake-gui/pkg-descr new file mode 100644 index 000000000000..def58ded80f2 --- /dev/null +++ b/devel/cmake-gui/pkg-descr @@ -0,0 +1,9 @@ +CMake is used to control the software compilation process using +simple platform and compiler independent configuration files. CMake +generates native makefiles and workspaces that can be used in the +compiler environment of your choice. CMake is quite sophisticated: +it is possible to support complex environments requiring system +configuration, pre-processor generation, code generation, and +template instantiation. + +WWW: http://www.cmake.org diff --git a/devel/cmake-gui/pkg-plist b/devel/cmake-gui/pkg-plist new file mode 100644 index 000000000000..a7b6aacec49e --- /dev/null +++ b/devel/cmake-gui/pkg-plist @@ -0,0 +1,7 @@ +bin/cmake-gui +share/applications/CMake.desktop +share/mime/packages/cmakecache.xml +share/pixmaps/CMakeSetup.png +@dirrmtry share/mime/packages +@dirrmtry share/mime +@dirrmtry share/applications -- cgit