Portage is a package management system used by Gentoo Linux
# ChangeLog for app-editors/elvis
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/elvis/ChangeLog,v 1.41 2008/03/11 11:24:56 nelchael Exp $
11 Mar 2008; Krzysiek Pawlik
-elvis-2.2.0-r2.ebuild, elvis-2.2.0-r3.ebuild:
Remove old versions, use tc-getCC instead of gcc (see bug #213019).
11 Mar 2008; Markus Rothe
Stable on ppc64; bug #205722
09 Mar 2008; Ferris McCormick
Sparc stable --- Bug #205722 --- Thanks to Tiago Cunha for testing.
09 Mar 2008; Raúl Porcel
alpha stable wrt #205722
09 Mar 2008; Markus Meier
x86 stable, bug #205722
08 Mar 2008; Santiago M. Mola
amd64 stable wrt bug #205722
08 Mar 2008; nixnut
Stable on ppc wrt bug 205722
10 Oct 2007; Christian Faulhammer
elvis-2.2.0-r1.ebuild, elvis-2.2.0-r2.ebuild, elvis-2.2.0-r3.ebuild:
remove PROVIDE=virtual/editor as we have now a new-style virtual
*elvis-2.2.0-r3 (21 Sep 2007)
21 Sep 2007; Ali Polatel
+files/ft2.3-symbol-collision-fix.patch, +elvis-2.2.0-r3.ebuild:
revbump. add patch to fix symbol collision between elvis and freetype.
bug 189271, thanks to Gordon Malm.
22 Jul 2007; David Shakaryan
elvis-2.2.0-r2.ebuild:
Remove virtual/x11 from dependencies.
09 Feb 2007; Fabian Groffen
Dropped ppc-macos keyword, see you in prefix
24 Oct 2006; Mike Kelly
Dropping ~ppc-macos keyword
20 Sep 2006; Mike Kelly
Forgot a DEPEND on eselect-vi
*elvis-2.2.0-r2 (20 Sep 2006)
20 Sep 2006; Mike Kelly
Adding support for eselect vi. Currently package.masked. See bug #147857
27 Aug 2006; Michael Sterrett
clean out older, non-modX ebuild
22 Jul 2006; Thomas Cort
Stable on alpha and amd64 wrt Bug #140618.
20 Jul 2006; Markus Rothe
Stable on ppc64; bug #140618
18 Jul 2006; Joshua Jackson
Stable x86; bug #140618
16 Jul 2006; Jason Wever
Stable on SPARC wrt bug #140618.
16 Jul 2006; Tobias Scherbaum
elvis-2.2.0-r1.ebuild:
ppc stable, bug #140618
*elvis-2.2.0-r1 (20 Jan 2006)
20 Jan 2006; Marcelo Goes
-files/elvis-2.1.4-keysym.patch, -elvis-2.1.4.ebuild,
-elvis-2.1.4-r1.ebuild, +elvis-2.2.0-r1.ebuild:
Remove old ebuilds, make modular X friendly.
20 Sep 2005; Kito
~ppc-macos. Closes Bug 106579
28 Dec 2004; Ciaran McCreesh
Change encoding to UTF-8 for GLEP 31 compliance
05 Oct 2004; Pieter Van den Abeele
Masked elvis-2.2.0.ebuild stable for ppc
15 Jul 2004; Tom Gall
stable on ppc64, bug #55527
04 May 2004; Bryan Østergaard
Stable on alpha.
29 Apr 2004; Ciaran McCreesh
Stable on sparc
28 Apr 2004; Jon Portnoy
Stable on x86 and AMD64.
*elvis-2.2.0 (13 Nov 2003)
13 Nov 2003; Aron Griffis
Version bump to 2.2_0 for bug 32797. Note that elvis-2.1.4-keysym.patch was
integrated into this version, so it no longer applies. This version bump
required extensive changes to the ebuild.
12 Jun 2003; Aron Griffis
files/elvis-2.1.4-keysym.patch:
Add patch from FreeBSD port to fix bug 20864. Mark stable on alpha
*elvis-2.1.4-r1 (1 Feb 2002)
06 Jan 2003; Seemant Kulleen
PROVIDE virtual/editor
06 Dec 2002; Rodney Rees
06 Aug 2002; Mark Guertin
Added ppc to keywords
1 Feb 2002; G.Bevin
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.
*elvis-2.1.4 (15 May 2001)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
AUX ft2.3-symbol-collision-fix.patch 2396 RMD160 c80ec1c5e7a15e2dea185e2d0d83da5fccd39b1b SHA1 3957feb87b9d8fe0a3a58ec8715d0c328545c086 SHA256 59960b0498863f0793b5c33a824efc62c6255d26455d3ec6c87f62cb1969f008
DIST elvis-2.2_0.tar.gz 1439293 RMD160 9867a3941a84a3db0bcfe4e36dd14132fbcf5805 SHA1 8c16574b6d36529735b8ced70972ddaf6275a477 SHA256 9a8466b2293798441056bc279736af3a616baaba2f11940396cc60ff71924ea0
EBUILD elvis-2.2.0-r3.ebuild 2230 RMD160 563a98e9967368941d1f9cadb2b545415190dfe9 SHA1 aee97aa18e1a5acc517962e845e051998555b5ac SHA256 dc831a3415a9d6a223c680bd2cf570ba2d732fe5cb15935e8a01de415748f3e9
MISC ChangeLog 4930 RMD160 449874bdc2336f1fa7a207e3c4026e61f1b5f799 SHA1 1baaace537b685003e1384a22843aa901757de44 SHA256 3188e96f6fde72da8d2c7b1b156784cfa750849eb68ac5792587346b181cad34
MISC metadata.xml 156 RMD160 3e105a159e09ab3231aaa16b01919bcfbf58a0a8 SHA1 fe63ba71f6fd04f1e293fb238af2eba994b0335d SHA256 64d20c782589b423a6e75ba6fff7edead1ec8fbae742d27dd57f5299e8328500
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
iD8DBQFH1mwOgo/w9rxVVVERAkD7AJ0WzD+DiispWvn7g/gXbF14KvsUJQCfRmkV
GOCOBy8hMBU8b0qI5SrEv8U=
=8ST9
-----END PGP SIGNATURE-----
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/elvis/elvis-2.2.0-r3.ebuild,v 1.10 2008/03/11 11:24:56 nelchael Exp $
inherit eutils versionator
MY_PV="$(replace_version_separator 2 '_')"
DESCRIPTION="A vi/ex clone"
HOMEPAGE="ftp://ftp.cs.pdx.edu/pub/elvis/"
SRC_URI="ftp://ftp.cs.pdx.edu/pub/elvis/${PN}-${MY_PV}.tar.gz"
LICENSE="Artistic"
SLOT="0"
KEYWORDS="alpha amd64 ppc ppc64 sparc x86"
IUSE="X"
DEPEND=">=sys-libs/ncurses-5.2
X? ( >=x11-proto/xproto-7.0.4
>=x11-libs/libX11-1.0.0
>=x11-libs/libXt-1.0.0
>=x11-libs/libXpm-3.5.4.2
>=x11-libs/libXft-2.1.8.2 )
app-admin/eselect-vi"
S="${WORKDIR}/${PN}-${MY_PV}"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/ft2.3-symbol-collision-fix.patch"
}
src_compile() {
./configure \
--prefix=/usr \
--bindir=/usr/bin \
--datadir=/usr/share/elvis \
--docdir=/usr/share/doc/"${PF}" \
$(use_with X x) \
|| die "configure failed"
# Some Makefile fixups (must happen after configure)
# Use our CFLAGS
sed -i -e "s:gcc -O2:$(tc-getCC) ${CFLAGS}:" Makefile || die "sed 1 failed"
# We'll install the man-pages ourselves
sed -i -e '/^ sh instman.sh/d' Makefile || die "sed 2 failed"
# Don't try to write to /etc
sed -i -e 's,/etc/elvis,${D}/etc/elvis,g' Makefile || die "sed 3 failed"
emake || die "make failed"
}
src_install() {
dodir /usr/bin
dodir /usr/share/man/man1
dodir /usr/share/elvis
dodir /usr/share/doc/"${PF}"
dodir /etc
make install \
PREFIX="${D}"/usr \
BINDIR="${D}"/usr/bin \
DATADIR="${D}"/usr/share/elvis \
DOCDIR="${D}"/usr/share/doc/"${PF}" || die 'make install failed'
# Install the man-pages
mv doc/elvis.man doc/elvis.1
mv doc/elvtags.man doc/elvtags.1
mv doc/ref.man doc/ref.1
doman doc/*.1 || die 'doman failed'
# Fixup some READMEs
sed -i -e "s,${D},,g" "${D}"/etc/elvis/README \
|| die 'sed /etc/elvis/README failed'
sed -i -e "s,${D},,g" "${D}"/usr/share/elvis/README \
|| die 'sed /usr/share/elvis/README failed'
}
pkg_postinst() {
einfo "Setting /usr/bin/vi symlink"
eselect vi set "${PN}"
}
pkg_postrm() {
einfo "Updating /usr/bin/vi symlink"
eselect vi update
}