diff options
author | makc <makc@FreeBSD.org> | 2009-08-29 15:15:56 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2009-08-29 15:15:56 +0800 |
commit | 07abe6985e4df3eec131890a3e4942e03ed7e9af (patch) | |
tree | 283ae4b809f1a6864b731de14691e01aa18b07ce /devel | |
parent | eb9e164f6c0e8f4067082ab7122a563b1d97ed7e (diff) | |
download | freebsd-ports-gnome-07abe6985e4df3eec131890a3e4942e03ed7e9af.tar.gz freebsd-ports-gnome-07abe6985e4df3eec131890a3e4942e03ed7e9af.tar.zst freebsd-ports-gnome-07abe6985e4df3eec131890a3e4942e03ed7e9af.zip |
Add new port devel/cmake-gui:
Qt4 frontend for cmake.
PR: inspired by ports/137796
Submitted by: Maxim Ignatenko <gelraen.ua at gmail.com>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/cmake-gui/Makefile | 48 | ||||
-rw-r--r-- | devel/cmake-gui/distinfo | 3 | ||||
-rw-r--r-- | devel/cmake-gui/pkg-descr | 9 | ||||
-rw-r--r-- | devel/cmake-gui/pkg-plist | 7 |
4 files changed, 67 insertions, 0 deletions
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 <makc@FreeBSD.org> +# +# $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 <bsd.port.pre.mk> + +.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 <bsd.port.post.mk> 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 |