Diff cvsps-2.2_beta1-r1 with a cvsps-3.13-r2
/usr/portage/dev-vcs/cvsps/cvsps-3.13-r2.ebuild 2023-10-09 14:52:31.016368389 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2022 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI="7" |
|
4 |
EAPI=7 |
|
5 | 5 | |
6 | 6 |
inherit toolchain-funcs |
7 | 7 | |
8 |
MY_P="${P/_beta/b}" |
|
9 |
DESCRIPTION="Generates patchset information from a CVS repository" |
|
8 |
DESCRIPTION="Generates patchset information from a CVS repository (supports fast-import)" |
|
10 | 9 |
HOMEPAGE="http://www.catb.org/~esr/cvsps/" |
11 |
SRC_URI="http://www.cobite.com/cvsps/${MY_P}.tar.gz" |
|
10 |
SRC_URI="http://www.catb.org/~esr/${PN}/${P}.tar.gz" |
|
12 | 11 | |
13 | 12 |
LICENSE="GPL-2" |
14 |
SLOT="0" |
|
13 |
SLOT="3" |
|
15 | 14 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" |
16 | 15 |
IUSE="" |
17 | 16 | |
18 | 17 |
RDEPEND="sys-libs/zlib" |
19 |
DEPEND="${RDEPEND}" |
|
18 |
DEPEND="${RDEPEND} |
|
19 |
app-text/asciidoc" |
|
20 | 20 | |
21 |
S="${WORKDIR}/${MY_P}" |
|
21 |
RESTRICT=test # upstream does not ship tests |
|
22 | 22 | |
23 |
PATCHES=( |
|
24 |
"${FILESDIR}"/${PN}-2.1-build.patch |
|
25 |
"${FILESDIR}"/${P}-solaris.patch |
|
26 |
) |
|
23 |
PATCHES=("${FILESDIR}"/${P}-make.patch) |
|
27 | 24 | |
28 | 25 |
src_prepare() { |
29 | 26 |
default |
30 | 27 | |
31 |
# no configure around |
|
32 |
if [[ ${CHOST} == *-solaris* ]] ; then |
|
33 |
sed -i -e '/^LDLIBS+=/s/$/ -lsocket/' Makefile || die |
|
34 |
fi |
|
28 |
local gentoo_name=${PN}-3 |
|
29 | ||
30 |
mv ${PN}.asc ${gentoo_name}.asc || die |
|
31 |
sed -i "s/${PN}/${gentoo_name}/g" ${gentoo_name}.asc || die |
|
32 |
sed -i "s/PROG = cvsps/PROG = ${gentoo_name}/" Makefile || die |
|
33 | ||
35 | 34 |
tc-export CC |
35 |
export prefix="${EPREFIX}"/usr |
|
36 | 36 |
} |
37 | 37 | |
38 | 38 |
src_install() { |
39 |
dobin cvsps |
|
40 |
doman cvsps.1 |
|
41 |
dodoc README CHANGELOG |
|
39 |
default |
|
40 | ||
41 |
dodoc README |
|
42 | 42 |
} |