summaryrefslogtreecommitdiff
path: root/devel/cmake
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2005-10-29 15:57:48 +0000
committerreed <reed@pkgsrc.org>2005-10-29 15:57:48 +0000
commitc9af00fc3f5da9f9f3b268a92e5f42702848dedb (patch)
tree38c1f89579b83b92f0b17a7f43e2268aca2c6fe4 /devel/cmake
parent7b05b51af09ac3591ac688a6c113eb1fe75ec307 (diff)
downloadpkgsrc-c9af00fc3f5da9f9f3b268a92e5f42702848dedb.tar.gz
Add a Modules/Platform/DragonFly.cmake file (copied from FreeBSD.cmake).
cmake not tested on DragonFly, but did build package on DragonFly. Also hardcode "NetBSD" in PLIST instead of ${OPSYS} so deinstall works on non-NetBSD platforms. Bump PKGREVISION.
Diffstat (limited to 'devel/cmake')
-rw-r--r--devel/cmake/Makefile7
-rw-r--r--devel/cmake/PLIST5
2 files changed, 9 insertions, 3 deletions
diff --git a/devel/cmake/Makefile b/devel/cmake/Makefile
index fc631d65b38..f3524a4730a 100644
--- a/devel/cmake/Makefile
+++ b/devel/cmake/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.18 2005/10/24 15:15:25 rillig Exp $
+# $NetBSD: Makefile,v 1.19 2005/10/29 15:57:48 reed Exp $
DISTNAME= cmake-2.0.5
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.cmake.org/files/v2.0/
@@ -16,6 +17,10 @@ CONFIGURE_HAS_MANDIR= no
CONFIGURE_ARGS+= --mandir=/${PKGMANDIR}
BUILD_TARGET= default_target
+post-extract:
+ ${CP} ${WRKSRC}/Modules/Platform/FreeBSD.cmake \
+ ${WRKSRC}/Modules/Platform/DragonFly.cmake
+
post-patch:
for file in ${WRKSRC}/Modules/FindCurses.cmake; do \
${MV} -f $$file $$file.bak; \
diff --git a/devel/cmake/PLIST b/devel/cmake/PLIST
index 7723df5d405..2039d42c72e 100644
--- a/devel/cmake/PLIST
+++ b/devel/cmake/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2005/10/23 16:03:10 rillig Exp $
+@comment $NetBSD: PLIST,v 1.6 2005/10/29 15:57:48 reed Exp $
bin/ccmake
bin/cmake
bin/ctest
@@ -110,6 +110,7 @@ share/CMake/Modules/Platform/AIX.cmake
share/CMake/Modules/Platform/BSDOS.cmake
share/CMake/Modules/Platform/CYGWIN.cmake
share/CMake/Modules/Platform/Darwin.cmake
+share/CMake/Modules/Platform/DragonFly.cmake
share/CMake/Modules/Platform/FreeBSD.cmake
share/CMake/Modules/Platform/HP-UX.cmake
share/CMake/Modules/Platform/IRIX.cmake
@@ -117,7 +118,7 @@ share/CMake/Modules/Platform/IRIX64.cmake
share/CMake/Modules/Platform/Linux-como.cmake
share/CMake/Modules/Platform/Linux.cmake
share/CMake/Modules/Platform/MP-RAS.cmake
-share/CMake/Modules/Platform/${OPSYS}.cmake
+share/CMake/Modules/Platform/NetBSD.cmake
share/CMake/Modules/Platform/OSF1.cmake
share/CMake/Modules/Platform/OpenBSD.cmake
share/CMake/Modules/Platform/RISCos.cmake