diff options
author | Austin English <wizardedit@gentoo.org> | 2016-07-07 03:58:38 -0500 |
---|---|---|
committer | Austin English <wizardedit@gentoo.org> | 2016-07-07 03:59:32 -0500 |
commit | 34c228b65885d050a731dff2aa0e7ff23dd3f393 (patch) | |
tree | ef8c474bbd796a30dd3f10c024c58651c9e5b566 /dev-vcs/colorsvn | |
parent | app-admin/aws-elb-tools: update to EAPI 6 (diff) | |
download | gentoo-34c228b65885d050a731dff2aa0e7ff23dd3f393.tar.gz gentoo-34c228b65885d050a731dff2aa0e7ff23dd3f393.tar.bz2 gentoo-34c228b65885d050a731dff2aa0e7ff23dd3f393.zip |
dev-vcs/colorsvn: update to EAPI 6
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-vcs/colorsvn')
-rw-r--r-- | dev-vcs/colorsvn/colorsvn-0.3.2-r3.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/dev-vcs/colorsvn/colorsvn-0.3.2-r3.ebuild b/dev-vcs/colorsvn/colorsvn-0.3.2-r3.ebuild new file mode 100644 index 000000000000..7217da9f5f19 --- /dev/null +++ b/dev-vcs/colorsvn/colorsvn-0.3.2-r3.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="6" + +DESCRIPTION="Subversion output colorizer" +HOMEPAGE="http://colorsvn.tigris.org" +SRC_URI="http://www.console-colors.de/downloads/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x64-macos ~x86-macos" +IUSE="" + +RDEPEND="dev-lang/perl + dev-vcs/subversion" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/0001-Don-t-colorize-svn-mkdir-bug-321451.-Use-IPC-open2-i.patch" +) + +src_prepare() { + default + # rxvt-unicode isn't listed by default :) + sed -i -e 's:rxvt:rxvt rxvt-unicode:' colorsvnrc-original || die + # Fix confdir location for Prefix, #435434 + sed -i \ + -e '/^confdir/d' \ + -e 's/$(confdir)/$(sysconfdir)/g' \ + Makefile.in || die +} + +src_compile() { + # bug 335134 + emake -j1 || die +} + +pkg_postinst() { + elog + elog "The default settings are stored in /etc/colorsvnrc." + elog "They can be locally overridden by ~/.colorsvnrc." + elog "An alias to colorsvn was installed for the svn command." + elog "In order to immediately activate it do:" + elog "\tsource /etc/profile" + elog "NOTE: If you don't see colors," + elog "append the output of 'echo \$TERM' to 'colortty' in your colorsvnrc." + elog +} |