summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-02-15 11:17:24 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-02-15 11:17:24 +0000
commitaa56b990607a561b8a1785286961dd94d29ddad2 (patch)
tree0a775a4c846bf8ad313502b689404d4a178eed8e /app-misc
parentChanged cp -r to doins -r (diff)
downloadhistorical-aa56b990607a561b8a1785286961dd94d29ddad2.tar.gz
historical-aa56b990607a561b8a1785286961dd94d29ddad2.tar.bz2
historical-aa56b990607a561b8a1785286961dd94d29ddad2.zip
Initial commit; ebuild by me.
Package-Manager: portage-2.0.51.16
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/cw/ChangeLog10
-rw-r--r--app-misc/cw/Manifest14
-rw-r--r--app-misc/cw/cw-1.0.10.ebuild60
-rw-r--r--app-misc/cw/files/digest-cw-1.0.101
-rw-r--r--app-misc/cw/metadata.xml9
5 files changed, 94 insertions, 0 deletions
diff --git a/app-misc/cw/ChangeLog b/app-misc/cw/ChangeLog
new file mode 100644
index 000000000000..a16e4abccfcb
--- /dev/null
+++ b/app-misc/cw/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-misc/cw
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/cw/ChangeLog,v 1.1 2005/02/15 11:17:24 ka0ttic Exp $
+
+*cw-1.0.10 (15 Feb 2005)
+
+ 15 Feb 2005; Aaron Walker <ka0ttic@gentoo.org> +metadata.xml,
+ +cw-1.0.10.ebuild:
+ Initial commit; ebuild by me.
+
diff --git a/app-misc/cw/Manifest b/app-misc/cw/Manifest
new file mode 100644
index 000000000000..3005df5a05cb
--- /dev/null
+++ b/app-misc/cw/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 f5acc795d4b8d49342c4f904dc25847a cw-1.0.10.ebuild 1546
+MD5 3e2b559be9ebbd795ffa5e64f84e1088 ChangeLog 340
+MD5 99ce5509db4b50f28a1f6675f8c09b2b metadata.xml 258
+MD5 5e16ced7c98c0fca8ca67d04bdd8f7b0 files/digest-cw-1.0.10 61
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.0 (GNU/Linux)
+
+iD8DBQFCEdrKEZCkKN40op4RArXrAJ4rfOzKHX7q96MOcQlGeQpt22PglgCaAs9s
+CwLdyaEOEJ8hLBynoouyTVU=
+=HTCy
+-----END PGP SIGNATURE-----
diff --git a/app-misc/cw/cw-1.0.10.ebuild b/app-misc/cw/cw-1.0.10.ebuild
new file mode 100644
index 000000000000..d2bb7dd5e6eb
--- /dev/null
+++ b/app-misc/cw/cw-1.0.10.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/cw/cw-1.0.10.ebuild,v 1.1 2005/02/15 11:17:24 ka0ttic 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="~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
+ einfo "To enable color-wrapper, as your user, run:"
+ einfo " colorcfg [1|2|3]"
+ einfo "to add relevant environment variables to your ~/.bash_profile"
+ einfo "Run colorcfg without options to see what [1|2|3] means."
+ einfo
+ einfo "After sourcing your ~/.bash_profile, commands for which definitions"
+ einfo "are provided should have colored output."
+ einfo
+ einfo "To enable/disable colored output, run: 'colors [on|off]'."
+ echo
+}
diff --git a/app-misc/cw/files/digest-cw-1.0.10 b/app-misc/cw/files/digest-cw-1.0.10
new file mode 100644
index 000000000000..4f0883b524cc
--- /dev/null
+++ b/app-misc/cw/files/digest-cw-1.0.10
@@ -0,0 +1 @@
+MD5 ef005b1bf6b79693d9bba10153a26b0b cw-1.0.10.tar.bz2 63878
diff --git a/app-misc/cw/metadata.xml b/app-misc/cw/metadata.xml
new file mode 100644
index 000000000000..1bd09b7fe2c3
--- /dev/null
+++ b/app-misc/cw/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>shell-tools</herd>
+ <maintainer>
+ <email>ka0ttic@gentoo.org</email>
+ <name>Aaron Walker</name>
+ </maintainer>
+</pkgmetadata>