Diff sil-galatia-2.1 with a htmldoc-1.9.16-r1

/usr/portage/app-text/htmldoc/htmldoc-1.9.16-r1.ebuild 2025-02-03 17:39:32.318665099 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2024 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6
inherit font
6
inherit autotools toolchain-funcs xdg
7 7

  
8
MY_P=GalSIL21
8
DESCRIPTION="Convert HTML pages into a PDF document"
9
HOMEPAGE="https://www.msweet.org/htmldoc/"
10
SRC_URI="https://github.com/michaelrsweet/${PN}/releases/download/v${PV}/${P}-source.tar.gz"
9 11

  
10
DESCRIPTION="The Galatia SIL Greek Unicode Fonts package"
11
HOMEPAGE="http://scripts.sil.org/SILgrkuni"
12
SRC_URI="mirror://gentoo/${MY_P}.zip"
13

  
14
LICENSE="OFL-1.1"
12
LICENSE="GPL-2"
15 13
SLOT="0"
16
KEYWORDS="~alpha amd64 arm ~hppa ~loong ppc ppc64 ~s390 sparc x86"
17

  
18
BDEPEND="app-arch/unzip"
19

  
20
S="${WORKDIR}/${MY_P}"
14
KEYWORDS="~alpha amd64 ~arm ~hppa ppc ppc64 sparc x86"
15
IUSE="fltk ssl"
21 16

  
22
DOCS=( FONTLOG.txt )
23
FONT_S="${S}"
24
FONT_SUFFIX="ttf"
17
BDEPEND="virtual/pkgconfig"
18
DEPEND="
19
	media-libs/libjpeg-turbo:=
20
	>=media-libs/libpng-1.4:0=
21
	sys-libs/zlib
22
	ssl? ( net-libs/gnutls:= )
23
	fltk? ( x11-libs/fltk:1= )
24
"
25
RDEPEND="${DEPEND}"
26

  
27
src_prepare() {
28
	default
29
	eautoreconf
30

  
31
	# Fix the documentation path in a few places. Some Makefiles aren't
32
	# autotoolized =(
33
	for file in configure doc/Makefile doc/htmldoc.man; do
34
		sed -i "${file}" \
35
			-e "s:/doc/htmldoc:/doc/${PF}/html:g" \
36
		|| die "failed to fix documentation path in ${file}"
37
	done
38
}
39

  
40
src_configure() {
41
	local myeconfargs=(
42
		$(use_with fltk gui)
43
		$(use_enable ssl)
44
		$(use_enable ssl gnutls)
45
	)
46

  
47
	CC="$(tc-getCC)" CXX="$(tc-getCXX)" econf "${myeconfargs[@]}"
48
}
49

  
50
src_install() {
51
	emake STRIPPROG="true" DSTROOT="${ED}" install
52
}
Thank you!