diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-01-30 08:48:16 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-01-30 08:48:16 +0000 |
commit | fc80c8787e36083e67c65ecd86764dc7d97a09dd (patch) | |
tree | 064349ef388927eb36ffa6682cb82e7fe026ab5b /app-emacs | |
parent | Moved from app-text. Closing bug #33487 (diff) | |
download | gentoo-2-fc80c8787e36083e67c65ecd86764dc7d97a09dd.tar.gz gentoo-2-fc80c8787e36083e67c65ecd86764dc7d97a09dd.tar.bz2 gentoo-2-fc80c8787e36083e67c65ecd86764dc7d97a09dd.zip |
Moved from app-text. Closing bug #33487
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/psgml/ChangeLog | 46 | ||||
-rw-r--r-- | app-emacs/psgml/Manifest | 6 | ||||
-rw-r--r-- | app-emacs/psgml/files/digest-psgml-1.2.4 | 1 | ||||
-rw-r--r-- | app-emacs/psgml/files/dot_emacs | 53 | ||||
-rw-r--r-- | app-emacs/psgml/metadata.xml | 1 | ||||
-rw-r--r-- | app-emacs/psgml/psgml-1.2.4.ebuild | 37 |
6 files changed, 139 insertions, 5 deletions
diff --git a/app-emacs/psgml/ChangeLog b/app-emacs/psgml/ChangeLog index 7e0f3820caee..8e0da9fdc15a 100644 --- a/app-emacs/psgml/ChangeLog +++ b/app-emacs/psgml/ChangeLog @@ -1,6 +1,6 @@ # ChangeLog for app-emacs/psgml -# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/psgml/ChangeLog,v 1.3 2003/10/23 08:52:48 obz Exp $ +# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/psgml/ChangeLog,v 1.4 2004/01/30 08:48:06 usata Exp $ *psgml-1.2.5-r1 (23 Oct 2003) @@ -16,3 +16,45 @@ files/digest-psgml-1.2.5 : Initial import. + + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords + +*psgml-1.2.4 (28 Mar 2002) + + 19 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> psgml-1.2.4.ebuild : + Updated to mirror://sourceforge in SRC_URI. + + 2 Aug 2002; phoen][x <phoenix@gentoo.org> psgml-1.2.4.ebuild : + Added LICENSE, KEYWORDS, SLOT. + + 28 Mar 2002; Tod Neidt <tod@gentoo.org> psgml-1.2.4.ebuild : + + Version update: emacs-21.1 compatible. + +*psgml-1.2.2-r1 (28 Mar 2002) + + 19 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> psgml-1.2.2-r1.ebuild : + Updated to mirror://sourceforge in SRC_URI. + + 2 Aug 2002; phoen][x <phoenix@gentoo.org> psgml-1.2.2.ebuild : + Added LICENSE, KEYWORDS, SLOT. + + 2 Aug 2002; phoen][x <phoenix@gentoo.org> psgml-1.2.2-r1.ebuild : + Added LICENSE, KEYWORDS, SLOT. + + 28 Mar 2002; Tod Neidt <tod@gentoo.org> psgml-1.2.2-r1.ebuild : + + Syntax update. + +*psgml-1.2.2 (1 Feb 2002) + + 19 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> psgml-1.2.2.ebuild : + Updated to mirror://sourceforge in SRC_URI. + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/app-emacs/psgml/Manifest b/app-emacs/psgml/Manifest index 288b3454b5e5..31bc83cd0c73 100644 --- a/app-emacs/psgml/Manifest +++ b/app-emacs/psgml/Manifest @@ -1,8 +1,8 @@ MD5 539896b025c8d8836f37721d2f140abf psgml-1.2.5-r1.ebuild 950 -MD5 032a13f51841a9d05f8ac2b1cadb0302 ChangeLog 2102 -MD5 fcd33d07e4ee719b01157946734f4fe8 metadata.xml 158 +MD5 dc847da0d15b39c218aed36371516527 ChangeLog 2104 +MD5 58f3ddc03b5e54563fc8a9764e687dd5 metadata.xml 183 MD5 6dc619e7a5200fae1e253d226aa0dd89 psgml-1.2.5.ebuild 952 -MD5 5fee12f415024d7fa1b05f6a8657422a psgml-1.2.4.ebuild 904 +MD5 adae49e6996c0537e54cf0829f09366b psgml-1.2.4.ebuild 901 MD5 7378650a6fce38e040faf32f51c56772 files/50psgml-gentoo.el 224 MD5 b461e93bf52827e787d2e33376d00a8d files/digest-psgml-1.2.5 63 MD5 b461e93bf52827e787d2e33376d00a8d files/digest-psgml-1.2.5-r1 63 diff --git a/app-emacs/psgml/files/digest-psgml-1.2.4 b/app-emacs/psgml/files/digest-psgml-1.2.4 new file mode 100644 index 000000000000..80fb326b6602 --- /dev/null +++ b/app-emacs/psgml/files/digest-psgml-1.2.4 @@ -0,0 +1 @@ +MD5 2817cc419befb5641dd5ba3e1e774676 psgml-1.2.4.tar.gz 254119 diff --git a/app-emacs/psgml/files/dot_emacs b/app-emacs/psgml/files/dot_emacs new file mode 100644 index 000000000000..ccbd6f6802e4 --- /dev/null +++ b/app-emacs/psgml/files/dot_emacs @@ -0,0 +1,53 @@ +;; $Id: dot_emacs,v 1.2 2000/03/29 19:12:16 nwalsh Exp +;; DocBook IDE mode +(autoload 'docbook-mode "docbookide" "Major mode for DocBook documents." t) +;; Turn on font lock when in DocBook mode +(add-hook 'docbook-mode-hook + 'turn-on-font-lock) + +;; You might want to make this the default for .sgml or .xml documents, +;; or you might want to rely on -*- DocBook -*- on the first line, +;; or perhaps buffer variables. It's up to you... +;;(setq auto-mode-alist +;; (append +;; (list +;; '("\\.sgm" . docbook-mode)) +;; '("\\.sgml" . docbook-mode)) +;; '("\\.xml" . docbook-mode)) +;; auto-mode-alist)) + +;; keyboard mods not specific to any mode. +(global-set-key [(control h)] 'delete-backward-char) ;backspace, not help! +(global-set-key "\C-cg" 'goto-line) +(global-set-key [home] 'beginning-of-line) ;not screen +(global-set-key "\e[1~" 'beginning-of-line) ;not screen +(global-set-key "\eOH" 'beginning-of-line) ;Needed on remote xterm? +(global-set-key [end] 'end-of-line) ;inactive by default? +(global-set-key "\e[4~" 'end-of-line) +(global-set-key "\eOF" 'end-of-line) ;Needed on remote xterm? + +(global-set-key [delete] 'delete-char) ; delete char, don't move cursor. +(global-set-key [(meta control h)] 'backward-kill-word) +(global-set-key [f2] 'other-window) ;convenient shortcuts. +(global-set-key [f3] 'kill-this-buffer) +(global-unset-key [escape escape]) ;eval-expr gets in my way. + +(global-set-key [(control x)(control u)] 'undo) ;bind to something useful. +;(require 'redo) +;(global-set-key [(control x)(control r)] 'redo) ;consistent with my undo. + +(global-set-key [(shift button2)] ;<shift>-mouse2 to load + 'browse-url-at-mouse) ;url at point into netscape. + +;; Make sure we have sgml and xml modes (psgml.el) +(autoload 'sgml-mode "psgml" "Major mode to edit SGML files." t) +(autoload 'xml-mode "psgml" "Major mode to edit XML files." t) +(setq sgml-set-face t) +(setq sgml-indent-step t) +(setq sgml-live-element-indicator t) +;; Recognize Lutris Enhydra doml files as xml. This doesn't work +;; very well because xml-mode has problems reading the doml dtd. +(setq auto-mode-alist (cons '("\\.doml$" . xml-mode) auto-mode-alist)) + +;; Set the global central catalog +(setq sgml-catalog-files (quote ("CATALOG" "/etc/sgml/catalog"))) diff --git a/app-emacs/psgml/metadata.xml b/app-emacs/psgml/metadata.xml index bc306fe58224..e31846a2e55d 100644 --- a/app-emacs/psgml/metadata.xml +++ b/app-emacs/psgml/metadata.xml @@ -2,4 +2,5 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>emacs</herd> +<herd>text-markup</herd> </pkgmetadata> diff --git a/app-emacs/psgml/psgml-1.2.4.ebuild b/app-emacs/psgml/psgml-1.2.4.ebuild new file mode 100644 index 000000000000..367397190866 --- /dev/null +++ b/app-emacs/psgml/psgml-1.2.4.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/psgml/psgml-1.2.4.ebuild,v 1.1 2004/01/30 08:48:06 usata Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="PSGML is a GNU Emacs Major Mode for editing SGML and XML coded documents." +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +HOMEPAGE="http://psgml.sourceforge.net" +KEYWORDS="x86 sparc " +SLOT="0" +LICENSE="GPL-2" + +DEPEND="virtual/emacs" + +src_compile() { + + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --host=${CHOST} || die "Configuration failed." + + emake || die "parallel make failed." + +} + +src_install () { + + make prefix=${D}/usr install || die "Installation failed." + + dodir /usr/share/info + + make infodir=${D}/usr/share/info install-info || die "install-info failed." + + dodoc ChangeLog README.psgml ${FILESDIR}/dot_emacs + +} + |