summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/cmake-mode/DESCR2
-rw-r--r--devel/cmake-mode/MESSAGE15
-rw-r--r--devel/cmake-mode/Makefile26
-rw-r--r--devel/cmake-mode/PLIST3
-rw-r--r--devel/cmake-mode/distinfo5
5 files changed, 51 insertions, 0 deletions
diff --git a/devel/cmake-mode/DESCR b/devel/cmake-mode/DESCR
new file mode 100644
index 00000000000..9257c67edd5
--- /dev/null
+++ b/devel/cmake-mode/DESCR
@@ -0,0 +1,2 @@
+Emacs mode providing syntax highlighting and indentation for
+CMakeLists.txt and *.cmake source files.
diff --git a/devel/cmake-mode/MESSAGE b/devel/cmake-mode/MESSAGE
new file mode 100644
index 00000000000..8f4e6a165bf
--- /dev/null
+++ b/devel/cmake-mode/MESSAGE
@@ -0,0 +1,15 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2007/02/24 20:47:25 wiz Exp $
+
+You will need to add something like the following to your .emacs file to
+autoload the CMake mode for Emacs.
+
+ (setq auto-mode-alist
+ (append
+ '(("CMakeLists\\.txt\\'" . cmake-mode))
+ '(("\\.cmake\\'" . cmake-mode))
+ auto-mode-alist))
+
+ (autoload 'cmake-mode "${LISPDIR}/cmake-mode.el" t)
+
+===========================================================================
diff --git a/devel/cmake-mode/Makefile b/devel/cmake-mode/Makefile
new file mode 100644
index 00000000000..9fd8400523f
--- /dev/null
+++ b/devel/cmake-mode/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/02/24 20:47:25 wiz Exp $
+#
+
+DISTNAME= cmake-mode
+PKGNAME= cmake-mode-20060923
+CATEGORIES= devel
+MASTER_SITES= http://www.cmake.org/CMakeDocs/
+EXTRACT_SUFX= .el
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.cmake.org/
+COMMENT= Emacs mode for CMake syntax highlighting and indentation
+
+DIST_SUBDIR= ${PKGNAME_NOREV}
+WRKSRC= ${WRKDIR}
+USE_LANGUAGES= # none
+MESSAGE_SUBST+= LISPDIR=${EMACS_LISPPREFIX:Q}
+
+do-build:
+ cd ${WRKSRC} && ${EMACS_BIN} -batch -f batch-byte-compile cmake-mode.el
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/cmake-mode.* ${EMACS_LISPPREFIX}
+
+.include "../../mk/emacs.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/cmake-mode/PLIST b/devel/cmake-mode/PLIST
new file mode 100644
index 00000000000..ba8305e0ef2
--- /dev/null
+++ b/devel/cmake-mode/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/02/24 20:47:25 wiz Exp $
+${EMACS_LISPPREFIX}/cmake-mode.el
+${EMACS_LISPPREFIX}/cmake-mode.elc
diff --git a/devel/cmake-mode/distinfo b/devel/cmake-mode/distinfo
new file mode 100644
index 00000000000..40983b8db97
--- /dev/null
+++ b/devel/cmake-mode/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/02/24 20:47:25 wiz Exp $
+
+SHA1 (cmake-mode-20060923/cmake-mode.el) = 5737bc6e4fa92e83b3df266731c43934e973059d
+RMD160 (cmake-mode-20060923/cmake-mode.el) = c083cbbdd49c4f88ce6938499a088ab0e4bc8ec8
+Size (cmake-mode-20060923/cmake-mode.el) = 7264 bytes