diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2004-02-13 19:27:21 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2004-02-13 19:27:21 +0000 |
commit | 7ec7569075c4537c67cd73dbc5808b919ca3de09 (patch) | |
tree | 2d25bc70c353692d217263a86d8fadc236c85590 /app-emacs/nxml-mode | |
parent | update license (diff) | |
download | gentoo-2-7ec7569075c4537c67cd73dbc5808b919ca3de09.tar.gz gentoo-2-7ec7569075c4537c67cd73dbc5808b919ca3de09.tar.bz2 gentoo-2-7ec7569075c4537c67cd73dbc5808b919ca3de09.zip |
new ebuild
Diffstat (limited to 'app-emacs/nxml-mode')
-rw-r--r-- | app-emacs/nxml-mode/ChangeLog | 10 | ||||
-rw-r--r-- | app-emacs/nxml-mode/Manifest | 6 | ||||
-rw-r--r-- | app-emacs/nxml-mode/files/20031031-info-gentoo.patch | 13 | ||||
-rw-r--r-- | app-emacs/nxml-mode/files/80nxml-mode-gentoo.el | 9 | ||||
-rw-r--r-- | app-emacs/nxml-mode/files/digest-nxml-mode-20031031 | 1 | ||||
-rw-r--r-- | app-emacs/nxml-mode/metadata.xml | 10 | ||||
-rw-r--r-- | app-emacs/nxml-mode/nxml-mode-20031031.ebuild | 37 |
7 files changed, 86 insertions, 0 deletions
diff --git a/app-emacs/nxml-mode/ChangeLog b/app-emacs/nxml-mode/ChangeLog new file mode 100644 index 000000000000..0a7b45124914 --- /dev/null +++ b/app-emacs/nxml-mode/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-emacs/nxml-mode +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-mode/ChangeLog,v 1.1 2004/02/13 19:27:21 mkennedy Exp $ + +*nxml-mode-20031031 (13 Feb 2004) + + 13 Feb 2004; <mkennedy@gentoo.org> metadata.xml, nxml-mode-20031031.ebuild, + files/20031031-info-gentoo.patch, files/80nxml-mode-gentoo.el: + Initial port. Ebuild contributed by Dan Pomohaci <d.pomohaci@moodmedia.ro> + diff --git a/app-emacs/nxml-mode/Manifest b/app-emacs/nxml-mode/Manifest new file mode 100644 index 000000000000..e0de1925cab2 --- /dev/null +++ b/app-emacs/nxml-mode/Manifest @@ -0,0 +1,6 @@ +MD5 365f598f97424c680852ab37ddf4b2cd ChangeLog 385 +MD5 951aede53d8394e2ff9fe9f5a6300987 metadata.xml 391 +MD5 641cfc494063dd223f2e2bd1e47980fe nxml-mode-20031031.ebuild 878 +MD5 eda0e96afdd42cd079edb9e4fd1e863a files/80nxml-mode-gentoo.el 229 +MD5 b6c0ed2561e83b43a58c2bd8cae88b55 files/20031031-info-gentoo.patch 412 +MD5 01cabe3620c0754d28c746f3ba6c0f10 files/digest-nxml-mode-20031031 70 diff --git a/app-emacs/nxml-mode/files/20031031-info-gentoo.patch b/app-emacs/nxml-mode/files/20031031-info-gentoo.patch new file mode 100644 index 000000000000..c00b0e42ed02 --- /dev/null +++ b/app-emacs/nxml-mode/files/20031031-info-gentoo.patch @@ -0,0 +1,13 @@ +Only in nxml-mode-20031018: nxml-mode.info +diff -ur nxml-mode-20031018/nxml-mode.texi nxml-mode-20031018m/nxml-mode.texi +--- nxml-mode-20031018/nxml-mode.texi 2003-09-29 14:02:46.000000000 +0300 ++++ nxml-mode-20031018m/nxml-mode.texi 2003-10-11 20:49:25.000000000 +0300 +@@ -6,7 +6,7 @@ + + @dircategory Emacs + @direntry +-* nXML Mode: (nxml-mode.info). ++* nXML Mode: (nxml-mode). + @end direntry + + @node Top diff --git a/app-emacs/nxml-mode/files/80nxml-mode-gentoo.el b/app-emacs/nxml-mode/files/80nxml-mode-gentoo.el new file mode 100644 index 000000000000..d0b42bd678a4 --- /dev/null +++ b/app-emacs/nxml-mode/files/80nxml-mode-gentoo.el @@ -0,0 +1,9 @@ + +;;; nxml site-lisp configuration + +(setq load-path (cons "@SITELISP@" load-path)) +(load "@SITELISP@/rng-auto.el") + +(setq auto-mode-alist + (cons '("\\.\\(xml\\|xsl\\|rng\\|xhtml\\)\\'" . nxml-mode) + auto-mode-alist)) diff --git a/app-emacs/nxml-mode/files/digest-nxml-mode-20031031 b/app-emacs/nxml-mode/files/digest-nxml-mode-20031031 new file mode 100644 index 000000000000..8922431edce3 --- /dev/null +++ b/app-emacs/nxml-mode/files/digest-nxml-mode-20031031 @@ -0,0 +1 @@ +MD5 4cbc32047183e6cc1b7a2757d1078bd2 nxml-mode-20031031.tar.gz 412858 diff --git a/app-emacs/nxml-mode/metadata.xml b/app-emacs/nxml-mode/metadata.xml new file mode 100644 index 000000000000..d70f551ab153 --- /dev/null +++ b/app-emacs/nxml-mode/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>emacs</herd> +<longdescription> +A new major mode for GNU Emacs for editing XML documents. It supports +editing well-formed XML documents and also provides schema-sensitive +editing of XML documents using RELAX NG Compact Syntax. +</longdescription> +</pkgmetadata> diff --git a/app-emacs/nxml-mode/nxml-mode-20031031.ebuild b/app-emacs/nxml-mode/nxml-mode-20031031.ebuild new file mode 100644 index 000000000000..d04068288509 --- /dev/null +++ b/app-emacs/nxml-mode/nxml-mode-20031031.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-mode/nxml-mode-20031031.ebuild,v 1.1 2004/02/13 19:27:21 mkennedy Exp $ + +inherit elisp + +DESCRIPTION="A new major mode for GNU Emacs for editing XML documents." +HOMEPAGE="http://www.emacswiki.org/cgi-bin/wiki/NxmlMode" +SRC_URI="http://thaiopensource.com/download/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +DEPEND="virtual/emacs" + +S=${WORKDIR}/${P} + +SITEFILE=80nxml-mode-gentoo.el + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PV}-info-gentoo.patch +} +src_compile() { + emacs -batch -l rng-auto.el -f rng-byte-compile-load +} + +src_install() { + elisp-install ${PN} *.el *.elc + elisp-site-file-install ${FILESDIR}/${SITEFILE} + cp -r ${S}/schema ${D}/${SITELISP}/${PN} + cp -r ${S}/char-name ${D}/${SITELISP}/${PN} + dodoc README VERSION TODO NEWS + makeinfo --force nxml-mode.texi + doinfo nxml-mode.info +} |