summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-03-27 19:50:56 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-03-27 19:50:56 +0000
commitd8db9c44e6c2adcf7773070b278343b9689816a3 (patch)
tree8aac563d07b04fb85a9a533a590998de8c21b3de /app-misc/cw
parentold (diff)
downloadgentoo-2-d8db9c44e6c2adcf7773070b278343b9689816a3.tar.gz
gentoo-2-d8db9c44e6c2adcf7773070b278343b9689816a3.tar.bz2
gentoo-2-d8db9c44e6c2adcf7773070b278343b9689816a3.zip
old
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-misc/cw')
-rw-r--r--app-misc/cw/cw-1.0.12.ebuild60
1 files changed, 0 insertions, 60 deletions
diff --git a/app-misc/cw/cw-1.0.12.ebuild b/app-misc/cw/cw-1.0.12.ebuild
deleted file mode 100644
index d89f9d1cf027..000000000000
--- a/app-misc/cw/cw-1.0.12.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/cw/cw-1.0.12.ebuild,v 1.4 2007/01/28 05:05:11 genone Exp $
-
-DESCRIPTION="A non-intrusive real-time ANSI color wrapper for common unix-based commands"
-HOMEPAGE="http://cwrapper.sourceforge.net/"
-SRC_URI="mirror://sourceforge/cwrapper/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="ppc x86"
-IUSE=""
-
-DEPEND=">=sys-apps/sed-4"
-RDEPEND="virtual/libc"
-
-src_unpack() {
- unpack ${A} && cd ${S}
- sed -i 's|\(CWLIB=\)/usr/local/lib/cw|\1/usr/lib/cw|' bin/colorcfg || \
- die "sed failed"
-}
-
-src_compile() {
- econf || die "econf failed"
- emake local || die "emake failed"
-}
-
-src_install() {
- insinto /usr/share/cw
- doins etc/*
-
- exeinto /usr/lib/cw
- doexe def/*
-
- doman man/*
- dodoc CHANGES CONTRIB INSTALL README PLATFORM doc/README*
-
- cd ${S}/bin
- dobin cw cwu colorcfg
- # app-misc/color currently conflicts; hopefully 'colors' is safe
- newbin color colors
-}
-
-pkg_postinst() {
- ebegin "Updating definition files"
- cwu /usr/lib/cw /usr/bin/cw >/dev/null
- eend $?
-
- echo
- elog "To enable color-wrapper, as your user, run:"
- elog " colorcfg [1|2|3]"
- elog "to add relevant environment variables to your ~/.bash_profile"
- elog "Run colorcfg without options to see what [1|2|3] means."
- elog
- elog "After sourcing your ~/.bash_profile, commands for which definitions"
- elog "are provided should have colored output."
- elog
- elog "To enable/disable colored output, run: 'colors [on|off]'."
- echo
-}