1 |
commit: 155a4ff7a15cbdd6b9d8eb54adf15fb98d232dc3 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 16 09:09:15 2019 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 16 09:28:32 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=155a4ff7 |
7 |
|
8 |
app-text/openjade: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.58, Repoman-2.3.12 |
11 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
12 |
|
13 |
app-text/openjade/openjade-1.3.2-r7.ebuild | 124 ----------------------------- |
14 |
1 file changed, 124 deletions(-) |
15 |
|
16 |
diff --git a/app-text/openjade/openjade-1.3.2-r7.ebuild b/app-text/openjade/openjade-1.3.2-r7.ebuild |
17 |
deleted file mode 100644 |
18 |
index 95ece1c5ef2..00000000000 |
19 |
--- a/app-text/openjade/openjade-1.3.2-r7.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,124 +0,0 @@ |
22 |
-# Copyright 1999-2018 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=7 |
26 |
-inherit autotools sgml-catalog flag-o-matic toolchain-funcs |
27 |
- |
28 |
-DESCRIPTION="Jade is an implementation of DSSSL for formatting SGML and XML documents" |
29 |
-HOMEPAGE="http://openjade.sourceforge.net" |
30 |
-SRC_URI="mirror://sourceforge/openjade/${P}.tar.gz" |
31 |
- |
32 |
-LICENSE="MIT" |
33 |
-SLOT="0" |
34 |
-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 ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
35 |
-IUSE="static-libs" |
36 |
- |
37 |
-RDEPEND=" |
38 |
- app-text/sgml-common |
39 |
- >=app-text/opensp-1.5.1 |
40 |
-" |
41 |
-DEPEND="${RDEPEND} |
42 |
- dev-lang/perl |
43 |
-" |
44 |
- |
45 |
-src_prepare() { |
46 |
- default |
47 |
- |
48 |
- eapply "${FILESDIR}"/${P}-deplibs.patch |
49 |
- eapply "${FILESDIR}"/${P}-ldflags.patch |
50 |
- eapply "${FILESDIR}"/${P}-msggen.pl.patch |
51 |
- eapply "${FILESDIR}"/${P}-respect-ldflags.patch |
52 |
- eapply "${FILESDIR}"/${P}-libosp-la.patch |
53 |
- eapply "${FILESDIR}"/${P}-gcc46.patch |
54 |
- eapply "${FILESDIR}"/${P}-no-undefined.patch |
55 |
- eapply "${FILESDIR}"/${P}-wchar_t-uint.patch |
56 |
- eapply "${FILESDIR}"/${P}-chmod.patch #487218 |
57 |
- |
58 |
- # Please note! Opts are disabled. If you know what you're doing |
59 |
- # feel free to remove this line. It may cause problems with |
60 |
- # docbook-sgml-utils among other things. |
61 |
- #ALLOWED_FLAGS="-O -O1 -O2 -pipe -g -march" |
62 |
- strip-flags |
63 |
- |
64 |
- # Default CFLAGS and CXXFLAGS is -O2 but this make openjade segfault |
65 |
- # on hppa. Using -O1 works fine. So I force it here. |
66 |
- use hppa && replace-flags -O2 -O1 |
67 |
- |
68 |
- ln -s config/configure.in configure.ac || die |
69 |
- cp "${FILESDIR}"/${P}-acinclude.m4 acinclude.m4 || die |
70 |
- rm config/missing || die |
71 |
- |
72 |
- AT_NOEAUTOMAKE=yes |
73 |
- eautoreconf |
74 |
- |
75 |
- SGML_PREFIX="${EPREFIX}"/usr/share/sgml |
76 |
-} |
77 |
- |
78 |
-src_configure() { |
79 |
- # avoids dead-store elimination optimization |
80 |
- # leading to segfaults on GCC 6 |
81 |
- # bug #592590 #596506 |
82 |
- tc-is-clang || append-cxxflags $(test-flags-CXX -fno-lifetime-dse) |
83 |
- |
84 |
- # We need Prefix env, bug #287358 |
85 |
- export CONFIG_SHELL="${CONFIG_SHELL:-${BASH}}" |
86 |
- econf \ |
87 |
- --enable-http \ |
88 |
- --enable-default-catalog="${EPREFIX}"/etc/sgml/catalog \ |
89 |
- --enable-default-search-path="${EPREFIX}"/usr/share/sgml \ |
90 |
- --enable-splibdir="${EPREFIX}"/usr/$(get_libdir) \ |
91 |
- --libdir="${EPREFIX}"/usr/$(get_libdir) \ |
92 |
- --datadir="${EPREFIX}"/usr/share/sgml/${P} \ |
93 |
- $(use_enable static-libs static) |
94 |
-} |
95 |
- |
96 |
-src_compile() { |
97 |
- unset INCLUDE #412725 |
98 |
- emake -j1 SHELL="${BASH}" |
99 |
-} |
100 |
- |
101 |
-src_install() { |
102 |
- insinto /usr/$(get_libdir) |
103 |
- |
104 |
- make DESTDIR="${D}" \ |
105 |
- SHELL="${BASH}" \ |
106 |
- libdir="${EPREFIX}"/usr/$(get_libdir) \ |
107 |
- install install-man |
108 |
- |
109 |
- use static-libs || find "${D}" -name '*.la' -delete || die |
110 |
- |
111 |
- dosym openjade /usr/bin/jade |
112 |
- dosym onsgmls /usr/bin/nsgmls |
113 |
- dosym osgmlnorm /usr/bin/sgmlnorm |
114 |
- dosym ospam /usr/bin/spam |
115 |
- dosym ospent /usr/bin/spent |
116 |
- dosym osx /usr/bin/sgml2xml |
117 |
- |
118 |
- insinto /usr/share/sgml/${P}/ |
119 |
- doins dsssl/builtins.dsl |
120 |
- |
121 |
- echo 'SYSTEM "builtins.dsl" "builtins.dsl"' > ${ED}/usr/share/sgml/${P}/catalog |
122 |
- insinto /usr/share/sgml/${P}/dsssl |
123 |
- doins dsssl/{dsssl.dtd,style-sheet.dtd,fot.dtd} |
124 |
- newins "${FILESDIR}"/${P}.dsssl-catalog catalog |
125 |
- |
126 |
- # Breaks sgml2xml among other things |
127 |
- #insinto /usr/share/sgml/${P}/unicode |
128 |
- #doins unicode/{catalog,unicode.sd,unicode.syn,gensyntax.pl} |
129 |
- insinto /usr/share/sgml/${P}/pubtext |
130 |
- doins pubtext/* |
131 |
- |
132 |
- HTML_DOCS="doc/*.htm" einstalldocs |
133 |
- |
134 |
- insinto /usr/share/doc/${PF}/jadedoc |
135 |
- doins jadedoc/*.htm |
136 |
- insinto /usr/share/doc/${PF}/jadedoc/images |
137 |
- doins jadedoc/images/* |
138 |
-} |
139 |
- |
140 |
-sgml-catalog_cat_include "/etc/sgml/${P}.cat" \ |
141 |
- "/usr/share/sgml/openjade-${PV}/catalog" |
142 |
-sgml-catalog_cat_include "/etc/sgml/${P}.cat" \ |
143 |
- "/usr/share/sgml/openjade-${PV}/dsssl/catalog" |
144 |
-sgml-catalog_cat_include "/etc/sgml/sgml-docbook.cat" \ |
145 |
- "/etc/sgml/${P}.cat" |