1 |
commit: 4aa01256cf6909ae8a6800d75a8bfcb4ac054dd6 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 7 14:01:55 2019 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 7 14:01:55 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aa01256 |
7 |
|
8 |
Revert "app-text/docbook-dsssl-stylesheets: Drop old" |
9 |
|
10 |
This reverts commit 84539a884ace5f12f8e6ba1bd75cd55e6c4bb787. |
11 |
|
12 |
Broke the tree from premature removal of old with arm and more not |
13 |
finished stabilizing newer. |
14 |
|
15 |
Bug: https://bugs.gentoo.org/676434 |
16 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
17 |
|
18 |
.../docbook-dsssl-stylesheets-1.79-r2.ebuild | 57 ++++++++++++++++++++++ |
19 |
1 file changed, 57 insertions(+) |
20 |
|
21 |
diff --git a/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.79-r2.ebuild b/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.79-r2.ebuild |
22 |
new file mode 100644 |
23 |
index 00000000000..215efe89a67 |
24 |
--- /dev/null |
25 |
+++ b/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.79-r2.ebuild |
26 |
@@ -0,0 +1,57 @@ |
27 |
+# Copyright 1999-2018 Gentoo Foundation |
28 |
+# Distributed under the terms of the GNU General Public License v2 |
29 |
+ |
30 |
+EAPI=5 |
31 |
+ |
32 |
+inherit sgml-catalog |
33 |
+ |
34 |
+MY_P=${P/-stylesheets/} |
35 |
+S=${WORKDIR}/${MY_P} |
36 |
+DESCRIPTION="DSSSL Stylesheets for DocBook" |
37 |
+HOMEPAGE="https://github.com/docbook/wiki/wiki" |
38 |
+SRC_URI="mirror://sourceforge/docbook/${MY_P}.tar.bz2" |
39 |
+ |
40 |
+LICENSE="MIT" |
41 |
+SLOT="0" |
42 |
+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" |
43 |
+IUSE="" |
44 |
+ |
45 |
+RDEPEND="app-text/sgml-common" |
46 |
+ |
47 |
+sgml-catalog_cat_include "/etc/sgml/dsssl-docbook-stylesheets.cat" \ |
48 |
+ "/usr/share/sgml/docbook/dsssl-stylesheets-${PV}/catalog" |
49 |
+sgml-catalog_cat_include "/etc/sgml/sgml-docbook.cat" \ |
50 |
+ "/etc/sgml/dsssl-docbook-stylesheets.cat" |
51 |
+ |
52 |
+src_unpack() { |
53 |
+ unpack ${A} |
54 |
+ cd "${S}" |
55 |
+ cp "${FILESDIR}/${PN}-1.77.Makefile" Makefile |
56 |
+} |
57 |
+ |
58 |
+src_compile() { |
59 |
+ return 0 |
60 |
+} |
61 |
+ |
62 |
+src_install() { |
63 |
+ make \ |
64 |
+ BINDIR="${ED}/usr/bin" \ |
65 |
+ DESTDIR="${ED}/usr/share/sgml/docbook/dsssl-stylesheets-${PV}" \ |
66 |
+ install || die |
67 |
+ |
68 |
+ dodir /usr/share/sgml/stylesheets/dsssl/ |
69 |
+ |
70 |
+ if [ -d "${EPREFIX}"/usr/share/sgml/stylesheets/dsssl/docbook ] && |
71 |
+ [ ! -L "${EPREFIX}"/usr/share/sgml/stylesheets/dsssl/docbook ] |
72 |
+ then |
73 |
+ ewarn "Not linking /usr/share/sgml/stylesheets/dsssl/docbook to" |
74 |
+ ewarn "/usr/share/sgml/docbook/dsssl-stylesheets-${PV}" |
75 |
+ ewarn "as directory already exists there. Will assume you know" |
76 |
+ ewarn "what you're doing." |
77 |
+ else |
78 |
+ dosym ../../docbook/dsssl-stylesheets-${PV} \ |
79 |
+ /usr/share/sgml/stylesheets/dsssl/docbook |
80 |
+ fi |
81 |
+ |
82 |
+ dodoc BUGS ChangeLog README RELEASE-NOTES.txt WhatsNew |
83 |
+} |