diff options
author | Aaron Walker <ka0ttic@gentoo.org> | 2005-01-07 10:27:55 +0000 |
---|---|---|
committer | Aaron Walker <ka0ttic@gentoo.org> | 2005-01-07 10:27:55 +0000 |
commit | cc527119affe31a252bf5f0192065f787f2d4ced (patch) | |
tree | ef7747bdb0882815a174947a24c1445ddfb4b120 /app-misc/cdargs/cdargs-1.31.ebuild | |
parent | Removing mask of packages that are gone. (diff) | |
download | gentoo-2-cc527119affe31a252bf5f0192065f787f2d4ced.tar.gz gentoo-2-cc527119affe31a252bf5f0192065f787f2d4ced.tar.bz2 gentoo-2-cc527119affe31a252bf5f0192065f787f2d4ced.zip |
Initial commit - bug 76736. Thanks to Stefan Kamphausen.
Diffstat (limited to 'app-misc/cdargs/cdargs-1.31.ebuild')
-rw-r--r-- | app-misc/cdargs/cdargs-1.31.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/app-misc/cdargs/cdargs-1.31.ebuild b/app-misc/cdargs/cdargs-1.31.ebuild new file mode 100644 index 000000000000..4960c521787e --- /dev/null +++ b/app-misc/cdargs/cdargs-1.31.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/cdargs/cdargs-1.31.ebuild,v 1.1 2005/01/07 10:27:54 ka0ttic Exp $ + +DESCRIPTION="Bookmarks and browser for the shell builtin cd command" +HOMEPAGE="http://www.skamphausen.de/software/cdargs" +SRC_URI="http://www.skamphausen.de/software/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="emacs" + +DEPEND="sys-libs/ncurses" + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc README INSTALL THANKS TODO AUTHORS COPYING + + cd ${S}/contrib + insinto /usr/share/cdargs + doins cdargs-bash.sh cdargs-tcsh.csh \ + || die "failed to install contrib scripts" + if use emacs ; then + doins cdargs.el || die "failed to install cdargs.el" + fi +} + +pkg_postinst() { + echo + einfo "Add the following line to your ~/.bashrc to enable cdargs helper" + einfo "functions/aliases in your environment:" + einfo "[ -f /usr/share/cdargs/cdargs-bash.sh ] && \\ " + einfo " source /usr/share/cdargs/cdargs-bash.sh" + einfo + einfo "Users of tcshell will find cdargs-tcsh.csh there with a reduced" + einfo "feature set. See INSTALL file in the documentation directory for" + einfo "more information." + + if use emacs ; then + einfo + einfo "To get an interactive cv defun in (X)Emacs load cdargs.el:" + einfo " (setq load-path" + einfo " (append (list " + einfo " \"/usr/share/cdargs/\")" + einfo " load-path))" + einfo " (require 'cdargs)" + fi + echo +} |