Diff pgpool2-4.2.2 with a pgpool2-9999

/usr/portage/dev-db/pgpool2/pgpool2-9999.ebuild 2021-05-02 23:39:00.000000000 +0300
3 3

  
4 4
EAPI=7
5 5

  
6
POSTGRES_COMPAT=( 9.{5..6} {10..13} )
6
EGIT_REPO_URI="https://git.postgresql.org/git/pgpool2.git"
7 7

  
8
inherit autotools postgres-multi
8
POSTGRES_COMPAT=( 9.{5..6} {10..13} )
9 9

  
10
MY_P="${PN/2/-II}-${PV}"
10
inherit autotools git-r3 postgres-multi
11 11

  
12 12
DESCRIPTION="Connection pool server for PostgreSQL"
13 13
HOMEPAGE="https://www.pgpool.net/"
14
SRC_URI="https://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz"
14
SRC_URI=""
15 15
LICENSE="BSD"
16 16
SLOT="0"
17 17

  
18
KEYWORDS="~amd64 ~x86"
18
KEYWORDS=""
19 19

  
20 20
IUSE="doc memcached pam ssl static-libs"
21 21

  
......
31 31
DEPEND="${RDEPEND}
32 32
	sys-devel/bison
33 33
	virtual/pkgconfig
34
	doc? (
35
		 app-text/openjade
36
		 dev-libs/libxml2
37
		 dev-libs/libxslt
38
	 )
34 39
"
35 40

  
36
S=${WORKDIR}/${MY_P}
37

  
38 41
pkg_setup() {
39 42
	postgres_new_user pgpool
40 43

  
......
71 74
	# of that directory built, too.
72 75
	postgres-multi_foreach emake
73 76
	postgres-multi_foreach emake -C src/sql
77
	use doc && postgres-multi_forbest emake DESTDIR="${D}" -C doc
74 78
}
75 79

  
76 80
src_install() {
......
85 89

  
86 90
	# Documentation!
87 91
	dodoc NEWS TODO
88
	doman doc/src/sgml/man{1,8}/*
89
	use doc && dodoc -r doc/src/sgml/html
92
	use doc && postgres-multi_forbest emake DESTDIR="${D}" -C doc install
90 93

  
91 94
	# mv some files that get installed to /usr/share/pgpool-II so that
92 95
	# they all wind up in the same place
Thank you!