[127601] trunk/dports/editors
easieste at macports.org
easieste at macports.org
Thu Oct 30 08:06:06 PDT 2014
Revision: 127601
https://trac.macports.org/changeset/127601
Author: easieste at macports.org
Date: 2014-10-30 08:06:06 -0700 (Thu, 30 Oct 2014)
Log Message:
-----------
n3-mode.el: a mode for editing N3 files in Emacs
Added Paths:
-----------
trunk/dports/editors/n3-mode.el/
trunk/dports/editors/n3-mode.el/Portfile
trunk/dports/editors/n3-mode.el/files/
trunk/dports/editors/n3-mode.el/files/patch-n3-mode.el.diff
Added: trunk/dports/editors/n3-mode.el/Portfile
===================================================================
--- trunk/dports/editors/n3-mode.el/Portfile (rev 0)
+++ trunk/dports/editors/n3-mode.el/Portfile 2014-10-30 15:06:06 UTC (rev 127601)
@@ -0,0 +1,44 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+PortSystem 1.0
+
+PortGroup github 1.0
+github.setup kurtjx n3-mode-for-emacs f20dfa2684f601e1c46f115980c7f4c7af4c82fb
+
+
+name n3-mode.el
+version 201410300
+license none
+maintainers easieste openmaintainer
+description An Emacs mode for editing N3 ("Notation 3") and Turtle RDF
+long_description ${description}
+homepage https://github.com/kurtjx/n3-mode-for-emacs
+platforms darwin
+
+checksums rmd160 9b8659daf292ec900f8c81afb56d5a6e1d92d306 \
+ sha256 9d55d474470175203899ae8757eb4c0d81d787bdf99e43842d57b5c97d62a33d
+
+depends_lib port:emacs
+
+patchfiles patch-n3-mode.el.diff
+
+use_configure no
+build {}
+destroot {
+ file mkdir ${destroot}${prefix}/share/emacs/site-lisp
+ file copy ${workpath}/${worksrcdir}/n3-mode.el \
+ ${destroot}${prefix}/share/emacs/site-lisp
+}
+
+notes "To use add the following to your ~/.emacs:\n\
+\n\
+(autoload 'n3-mode \"n3-mode\" \"Major mode for OWL or N3 files\" t)\n\
+\n\
+(add-hook 'n3-mode-hook 'turn-on-font-lock)\n\
+(setq auto-mode-alist\n\
+\ (append\n\
+\ \ (list\n\
+\ \ \'(\"\\\\.n3\" . n3-mode)\n\
+\ \ \'(\"\\\\.owl\" . n3-mode))\n\
+\ \ \ auto-mode-alist))"
+
Property changes on: trunk/dports/editors/n3-mode.el/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/editors/n3-mode.el/files/patch-n3-mode.el.diff
===================================================================
--- trunk/dports/editors/n3-mode.el/files/patch-n3-mode.el.diff (rev 0)
+++ trunk/dports/editors/n3-mode.el/files/patch-n3-mode.el.diff 2014-10-30 15:06:06 UTC (rev 127601)
@@ -0,0 +1,12 @@
+--- n3-mode.el.orig 2010-10-07 19:24:02.000000000 +0200
++++ n3-mode.el 2014-10-30 15:56:44.000000000 +0100
+@@ -42,7 +42,7 @@
+ )
+
+ ;;(define-generic-mode 'n3-mode
+-(define-derived-mode n3-mode fundamental-mode
++(define-derived-mode n3-mode fundamental-mode "n3-mode"
+ ;; setup tab key not working :/
+ ;;(setq c-basic-offset 4)
+
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141030/535dd6be/attachment.html>
More information about the macports-changes
mailing list