summaryrefslogtreecommitdiff
path: root/app-doc/jargon/jargon-4.4.7-r1.ebuild
blob: 4066fef77e4f6e2dc9abebedcc8c32896342aec1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DESCRIPTION="A compendium of hacker slang illuminating many aspects of hackish tradition"
HOMEPAGE="http://www.catb.org/~esr/jargon"
SRC_URI="http://www.catb.org/~esr/jargon/${P}.tar.gz"

LICENSE="public-domain"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
IUSE=""

src_prepare() {
	find "${S}" -name .xvpics | xargs rm -rf || die
	cd "${S}/html" || die
	sed -i -e 's#\.\./\.\.#..#' */* \
		|| die "sed failed"
	default
}

src_install() {
	dodoc -r html/*
}