1 |
commit: f3a064e1a7d2f6f526ebdff215a981387a7d652d |
2 |
Author: Ilya Tumaykin <itumaykin <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Jul 4 19:36:20 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 26 08:35:09 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3a064e1 |
7 |
|
8 |
app-text/docbook-dsssl-stylesheets: install missing files, cleanup |
9 |
|
10 |
Due to Gentoo-originated poorly written Makefile not all required |
11 |
files were installed, which caused tools looking for them to fail, |
12 |
e.g. Gentoo bug 606768. Also one file that belong to another package |
13 |
was installed: dtds/decls/docbook.dcl is a part of docbook-sgml-dtd. |
14 |
Replace custom Makefile with a series of doins commands. |
15 |
|
16 |
Also remove dirty, ugly symlink hack to workaround Gentoo bug 15026. |
17 |
Current stable libgcrypt doesn't use docbook-dssl-stylesheets for docs. |
18 |
|
19 |
Bug: https://bugs.gentoo.org/606768 |
20 |
Bug: https://bugs.gentoo.org/15026 |
21 |
Package-Manager: Portage-2.3.41, Repoman-2.3.9 |
22 |
|
23 |
.../docbook-dsssl-stylesheets-1.79-r3.ebuild | 65 ++++++++++++++++++++++ |
24 |
1 file changed, 65 insertions(+) |
25 |
|
26 |
diff --git a/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.79-r3.ebuild b/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.79-r3.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..2cf6e40311d |
29 |
--- /dev/null |
30 |
+++ b/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.79-r3.ebuild |
31 |
@@ -0,0 +1,65 @@ |
32 |
+# Copyright 1999-2018 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+# EAPI=6 is blocked by Gentoo bug 497052. |
36 |
+EAPI=5 |
37 |
+ |
38 |
+MY_P=${P/-stylesheets/} |
39 |
+ |
40 |
+inherit sgml-catalog |
41 |
+ |
42 |
+DESCRIPTION="DSSSL Stylesheets for DocBook" |
43 |
+HOMEPAGE="https://github.com/docbook/wiki/wiki" |
44 |
+SRC_URI="mirror://sourceforge/docbook/${MY_P}.tar.bz2" |
45 |
+ |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris" |
49 |
+IUSE="" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ app-text/sgml-common |
53 |
+ app-text/docbook-sgml-dtd:3.0 |
54 |
+" |
55 |
+ |
56 |
+DOCS=( BUGS ChangeLog README RELEASE-NOTES.txt WhatsNew ) |
57 |
+ |
58 |
+S="${WORKDIR}/${MY_P}" |
59 |
+ |
60 |
+src_install() { |
61 |
+ local dsssldir CATALOG_DIR=usr/share/sgml/docbook/dsssl-stylesheets-${PV} |
62 |
+ |
63 |
+ dobin bin/collateindex.pl |
64 |
+ |
65 |
+ insinto ${CATALOG_DIR} |
66 |
+ doins catalog VERSION |
67 |
+ |
68 |
+ insinto ${CATALOG_DIR}/common |
69 |
+ doins common/*.{dsl,ent} |
70 |
+ |
71 |
+ insinto ${CATALOG_DIR}/images |
72 |
+ doins images/*.gif |
73 |
+ |
74 |
+ for dsssldir in html lib olink print; do |
75 |
+ insinto ${CATALOG_DIR}/${dsssldir} |
76 |
+ doins ${dsssldir}/*.dsl |
77 |
+ done |
78 |
+ |
79 |
+ for dsssldir in dbdsssl html imagelib olink; do |
80 |
+ insinto ${CATALOG_DIR}/dtds/${dsssldir} |
81 |
+ doins dtds/${dsssldir}/*.dtd |
82 |
+ done |
83 |
+ |
84 |
+ insinto ${CATALOG_DIR}/dtds/html |
85 |
+ doins dtds/html/*.{dcl,gml} |
86 |
+ |
87 |
+ dodoc "${DOCS[@]}" |
88 |
+} |
89 |
+ |
90 |
+sgml-catalog_cat_include \ |
91 |
+ "/etc/sgml/dsssl-docbook-stylesheets.cat" \ |
92 |
+ "/usr/share/sgml/docbook/dsssl-stylesheets-${PV}/catalog" |
93 |
+ |
94 |
+sgml-catalog_cat_include \ |
95 |
+ "/etc/sgml/sgml-docbook.cat" \ |
96 |
+ "/etc/sgml/dsssl-docbook-stylesheets.cat" |