summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2002-11-01 02:52:02 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2002-11-01 02:52:02 +0000
commit08bd106430ca5599005323021f7635b2f1a1f72b (patch)
treed56e46390f1a7838a1a5eecfd8573e5eb47d0c98 /app-emacs/dircolors
parentmasked app-emacs/monk (incomplete for now) (diff)
downloadgentoo-2-08bd106430ca5599005323021f7635b2f1a1f72b.tar.gz
gentoo-2-08bd106430ca5599005323021f7635b2f1a1f72b.tar.bz2
gentoo-2-08bd106430ca5599005323021f7635b2f1a1f72b.zip
looks like an app-emacs/ import to me
Diffstat (limited to 'app-emacs/dircolors')
-rw-r--r--app-emacs/dircolors/ChangeLog11
-rw-r--r--app-emacs/dircolors/dircolors-1.0.ebuild38
-rw-r--r--app-emacs/dircolors/files/50dircolors-gentoo.el7
-rw-r--r--app-emacs/dircolors/files/digest-dircolors-1.01
4 files changed, 57 insertions, 0 deletions
diff --git a/app-emacs/dircolors/ChangeLog b/app-emacs/dircolors/ChangeLog
new file mode 100644
index 000000000000..3308275a4aa4
--- /dev/null
+++ b/app-emacs/dircolors/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-emacs/dircolors
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/dircolors/ChangeLog,v 1.1 2002/11/01 02:52:01 mkennedy Exp $
+
+*dircolors-1.0 (31 Oct 2002)
+
+ 31 Oct 2002; Matthew Kennedy <mkennedy@gentoo.org> ChangeLog,
+ dircolors-1.0.ebuild, files/50dircolors-gentoo.el,
+ files/digest-dircolors-1.0 :
+
+ Initial import.
diff --git a/app-emacs/dircolors/dircolors-1.0.ebuild b/app-emacs/dircolors/dircolors-1.0.ebuild
new file mode 100644
index 000000000000..353845add760
--- /dev/null
+++ b/app-emacs/dircolors/dircolors-1.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/dircolors/dircolors-1.0.ebuild,v 1.1 2002/11/01 02:52:01 mkennedy Exp $
+
+inherit elisp
+
+IUSE=""
+
+DESCRIPTION="Provide the same facility of ls --color inside Emacs"
+HOMEPAGE="ftp://ftp.cis.ohio-state.edu/pub/emacs-lisp/archive/"
+SRC_URI="${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="virtual/emacs"
+
+S="${WORKDIR}/${P}"
+
+SITEFILE=50dircolors-gentoo.el
+
+src_compile() {
+ emacs --batch -f batch-byte-compile --no-site-file --no-init-file *.el || die
+}
+
+src_install() {
+ elisp-install ${PN} *.el *.elc
+ elisp-site-file-install ${FILESDIR}/${SITEFILE}
+}
+
+pkg_postinst() {
+ elisp-site-regen
+ einfo "Please see ${SITELISP}/${PN}/dircolors.el for the complete documentation."
+}
+
+pkg_postrm() {
+ elisp-site-regen
+}
diff --git a/app-emacs/dircolors/files/50dircolors-gentoo.el b/app-emacs/dircolors/files/50dircolors-gentoo.el
new file mode 100644
index 000000000000..0da5ad31eb7c
--- /dev/null
+++ b/app-emacs/dircolors/files/50dircolors-gentoo.el
@@ -0,0 +1,7 @@
+
+;;; dircolors site-lisp configuration
+
+(setq load-path (cons "@SITELISP@" load-path))
+(require 'dircolors)
+(add-hook 'completion-list-mode-hook 'dircolors)
+
diff --git a/app-emacs/dircolors/files/digest-dircolors-1.0 b/app-emacs/dircolors/files/digest-dircolors-1.0
new file mode 100644
index 000000000000..a5c829594b27
--- /dev/null
+++ b/app-emacs/dircolors/files/digest-dircolors-1.0
@@ -0,0 +1 @@
+MD5 83aa7d6aee19986269806e3a54419d63 dircolors-1.0.tar.bz2 2664