summaryrefslogtreecommitdiff
path: root/devel/cmake/Makefile
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2003-05-07 11:55:03 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2003-05-07 11:55:03 +0000
commit64ae3e34288471cfaa52195171d9cdc12de2f02c (patch)
treecb12c766e6c9a535ac994fee92eca2c9b0d94f43 /devel/cmake/Makefile
parentb3233491684ce29a4f45922257e021916669d419 (diff)
downloadpkgsrc-64ae3e34288471cfaa52195171d9cdc12de2f02c.tar.gz
import cmake-1.6.6
CMake is an extensible, open-source system that manages the build process in an operating system and compiler independent manner. Unlike many cross-platform systems, CMake is designed to be used in conjunction with the native build environment. Simple configuration files placed in each source directory (called CMakeLists.txt files) are used to generate standard build files (e.g., makefiles on Unix and projects/workspaces in Windows MSVC) which are used in the usual way. CMake can compile source code, create libraries, generate wrappers, and build executables in arbitrary combinations. CMake supports in-place and out-of-place builds, and can therefore support multiple builds from a single source tree. CMake also supports static and dynamic library builds. Another nice feature of CMake is that it generates a cache file that is designed to be used with a graphical editor. For example, when CMake runs, it locates include files, libraries, and executable, and may encounter optional build directives. This information is gathered into the cache, which may be changed by the user prior to the generation of the native build files.
Diffstat (limited to 'devel/cmake/Makefile')
-rw-r--r--devel/cmake/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/devel/cmake/Makefile b/devel/cmake/Makefile
new file mode 100644
index 00000000000..bcdbb33a225
--- /dev/null
+++ b/devel/cmake/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/05/07 11:55:03 dmcmahill Exp $
+#
+
+DISTNAME= cmake-1.6.6
+CATEGORIES= devel
+MASTER_SITES= http://www.cmake.org/files/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.cmake.org
+COMMENT= cross platform make
+
+GNU_CONFIGURE= YES
+USE_BUILDLINK2= YES
+USE_GMAKE= YES
+USE_NCURSES= YES
+
+post-patch:
+ ${MV} ${WRKSRC}/Modules/FindCurses.cmake ${WRKSRC}/Modules/FindCurses.cmake.bak
+ ${SED} 's;@prefix@;${PREFIX};g' ${WRKSRC}/Modules/FindCurses.cmake.bak > \
+ ${WRKSRC}/Modules/FindCurses.cmake
+
+.include "../../devel/ncurses/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"