mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-01 03:41:11 +02:00
app-text/sgml-common: Sync with gentoo
It's from gentoo commit 38b155fa1bf907617067c98eb4ba3a5d0790eb1a.
This commit is contained in:
parent
b8f0236d8d
commit
ad10398991
@ -1,259 +0,0 @@
|
||||
# ChangeLog for app-text/sgml-common
|
||||
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/sgml-common/ChangeLog,v 1.63 2014/04/06 14:52:58 vapier Exp $
|
||||
|
||||
06 Apr 2014; Mike Frysinger <vapier@gentoo.org> sgml-common-0.6.3-r5.ebuild:
|
||||
Add arm64 love.
|
||||
|
||||
12 Nov 2013; Michael Haubenwallner <haubi@gentoo.org>
|
||||
sgml-common-0.6.3-r5.ebuild:
|
||||
Add ~ppc-aix keyword.
|
||||
|
||||
21 Jul 2013; Pacho Ramos <pacho@gentoo.org> metadata.xml:
|
||||
Cleanup due http://gentoo.2317880.n4.nabble.com/sgml-herd-has-no-maintainers-
|
||||
again-td259655.html
|
||||
|
||||
17 Feb 2013; Zac Medico <zmedico@gentoo.org> sgml-common-0.6.3-r5.ebuild:
|
||||
Add ~arm-linux keyword.
|
||||
|
||||
03 Jan 2013; Mike Gilbert <floppym@gentoo.org>
|
||||
-files/sgml-common-0.6.3-configure.in.patch,
|
||||
-files/sgml-common-0.6.3-htmldir.patch,
|
||||
-files/sgml-common-0.6.3-man_MANS.patch, sgml-common-0.6.3-r5.ebuild:
|
||||
Repackage build system and eliminate eautoreconf to work around bug 443074.
|
||||
|
||||
26 Apr 2012; Alexis Ballier <aballier@gentoo.org>
|
||||
sgml-common-0.6.3-r5.ebuild:
|
||||
keyword ~amd64-fbsd
|
||||
|
||||
27 Mar 2012; Mike Gilbert <floppym@gentoo.org>
|
||||
+files/sgml-common-0.6.3-htmldir.patch, sgml-common-0.6.3-r5.ebuild:
|
||||
Install html in the right place. Bug 295115.
|
||||
|
||||
03 May 2011; Fabian Groffen <grobian@gentoo.org> sgml-common-0.6.3-r5.ebuild:
|
||||
Marked ~x64-freebsd
|
||||
|
||||
13 Feb 2011; Fabian Groffen <grobian@gentoo.org> sgml-common-0.6.3-r5.ebuild:
|
||||
Marked ~sparc64-solaris
|
||||
|
||||
18 Aug 2010; Fabian Groffen <grobian@gentoo.org>
|
||||
sgml-common-0.6.3-r5.ebuild:
|
||||
Marked ~m68k-mint, bug #333209
|
||||
|
||||
06 Apr 2010; Jonathan Callen <abcd@gentoo.org>
|
||||
sgml-common-0.6.3-r5.ebuild, files/sgml-common-0.6.3-install-catalog.in,
|
||||
+files/sgml-common-0.6.3-prefix.patch:
|
||||
Bump to EAPI=3, add prefix keywords, more quoting
|
||||
|
||||
19 Jul 2009; Samuli Suominen <ssuominen@gentoo.org>
|
||||
sgml-common-0.6.3-r5.ebuild, +files/sgml-common-0.6.3-man_MANS.patch:
|
||||
Remove WANT_AUTOCONF and WANT_AUTOMAKE vars; patch Makefile.am to support
|
||||
latest automake.
|
||||
|
||||
08 Sep 2007; Christoph Mende <angelos@gentoo.org>
|
||||
sgml-common-0.6.3-r5.ebuild:
|
||||
Stable on amd64 wrt bug #182385
|
||||
|
||||
27 Aug 2007; Raúl Porcel <armin76@gentoo.org>
|
||||
sgml-common-0.6.3-r5.ebuild:
|
||||
alpha/ia64 stable wrt #182385
|
||||
|
||||
24 Aug 2007; Markus Rothe <corsair@gentoo.org>
|
||||
sgml-common-0.6.3-r5.ebuild:
|
||||
Stable on ppc64; bug #182385
|
||||
|
||||
21 Aug 2007; Markus Ullmann <jokey@gentoo.org>
|
||||
sgml-common-0.6.3-r5.ebuild:
|
||||
Stable on x86 wrt bug #182385
|
||||
|
||||
20 Aug 2007; Jeroen Roovers <jer@gentoo.org> sgml-common-0.6.3-r5.ebuild:
|
||||
Stable for HPPA (bug #182385).
|
||||
|
||||
18 Aug 2007; nixnut <nixnut@gentoo.org> sgml-common-0.6.3-r5.ebuild:
|
||||
Stable on ppc wrt bug 182385
|
||||
|
||||
16 Aug 2007; Gustavo Zacarias <gustavoz@gentoo.org>
|
||||
sgml-common-0.6.3-r5.ebuild:
|
||||
Stable on sparc wrt #182385
|
||||
|
||||
12 Mar 2007; Leonardo Boshell <leonardop@gentoo.org> metadata.xml:
|
||||
Replacing text-markup herd with the new sgml herd.
|
||||
|
||||
14 Nov 2006; Leonardo Boshell <leonardop@gentoo.org>
|
||||
sgml-common-0.6.3-r4.ebuild, sgml-common-0.6.3-r5.ebuild:
|
||||
Add WANT_AUTOCONF declaration to -r4 as well (bug #153846).
|
||||
|
||||
03 Nov 2006; Leonardo Boshell <leonardop@gentoo.org>
|
||||
sgml-common-0.6.3-r5.ebuild:
|
||||
Make sure autoconf 2.1* is required (bug #153846).
|
||||
|
||||
30 Oct 2006; Peter Volkov <pva@gentoo.org> sgml-common-0.6.3-r4.ebuild,
|
||||
sgml-common-0.6.3-r5.ebuild:
|
||||
Depend on autoools eclass in stable version. Raised automake depend version
|
||||
to 1.5. Removed automake from DEPEND as autotools eclass takes care about
|
||||
this. Fixed bug #148273. Thank Ross and many others for report.
|
||||
|
||||
24 Oct 2006; Roy Marples <uberlord@gentoo.org>
|
||||
sgml-common-0.6.3-r5.ebuild:
|
||||
Added ~sparc-fbsd keyword.
|
||||
|
||||
07 Oct 2006; Alexandre Buisse <nattfodd@gentoo.org>
|
||||
sgml-common-0.6.3-r5.ebuild:
|
||||
Force automake-1.4 (bug #148273) by setting WANT_AUTOMAKE at the right
|
||||
place.
|
||||
|
||||
09 May 2006; Leonardo Boshell <leonardop@gentoo.org>
|
||||
sgml-common-0.6.3-r5.ebuild:
|
||||
Set WANT_AUTOMAKE.
|
||||
|
||||
27 Apr 2006; Marien Zwart <marienz@gentoo.org> Manifest:
|
||||
Fixing SHA256 digest, pass four
|
||||
|
||||
25 Apr 2006; Fabian Groffen <grobian@gentoo.org>
|
||||
sgml-common-0.6.3-r5.ebuild:
|
||||
Removed ~ppc-macos as it doesn't eautoreconf (bug #131248)
|
||||
|
||||
05 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
|
||||
files/sgml-common-0.6.3-install-catalog.in, sgml-common-0.6.3-r5.ebuild:
|
||||
Change the installer script to use /bin/bash instead of /bin/sh as it uses
|
||||
bash-specific syntax, and mark ~x86-fbsd.
|
||||
|
||||
26 Mar 2006; Alexandre Buisse <nattfodd@gentoo.org>
|
||||
sgml-common-0.6.3-r5.ebuild:
|
||||
Suppress a \n in KEYWORDS :/
|
||||
|
||||
*sgml-common-0.6.3-r5 (26 Mar 2006)
|
||||
|
||||
26 Mar 2006; Alexandre Buisse <nattfodd@gentoo.org>
|
||||
+files/sgml-common-0.6.3-configure.in.patch,
|
||||
+files/sgml-common-0.6.3-install-catalog.in,
|
||||
-files/sgml-common-0.6.3-r4-install-catalog.in,
|
||||
sgml-common-0.6.3-r4.ebuild, +sgml-common-0.6.3-r5.ebuild:
|
||||
Install doc in /usr/share/doc instead of /usr/doc. Thanks to Andrew
|
||||
Kirilenko for the report and Christan Heim for the patch.
|
||||
|
||||
14 Jan 2006; Leonardo Boshell <leonardop@gentoo.org>
|
||||
files/sgml-common-0.6.3-r4-install-catalog.in,
|
||||
sgml-common-0.6.3-r4.ebuild:
|
||||
Modified ebuild and install-catalog script to handle $ROOT values different
|
||||
than "/". See bug #114946.
|
||||
|
||||
02 Jan 2005; Ciaran McCreesh <ciaranm@gentoo.org> :
|
||||
Change encoding to UTF-8 for GLEP 31 compliance
|
||||
|
||||
18 Sep 2004; Michael Sterrett <mr_bones_@gentoo.org>
|
||||
sgml-common-0.6.3-r4.ebuild:
|
||||
cleaned up src_unpack (bug #63838); cleaned up src_install
|
||||
|
||||
10 Sep 2004; Hasan Khalil <gongloo@gentoo.org> sgml-common=0.6.3-r4.ebuild:
|
||||
stable on macos
|
||||
|
||||
28 Jun 2004; Tom Gall <tgall@gentoo.org> sgml-common-0.6.3-r4.ebuild:
|
||||
stable on ppc64 bug #54792
|
||||
|
||||
13 May 2004; Bryan Østergaard <kloeri@gentoo.org>
|
||||
sgml-common-0.6.3-r4.ebuild:
|
||||
Stable on alpha.
|
||||
|
||||
28 Apr 2004; Jon Portnoy <avenj@gentoo.org> sgml-common-0.6.3-r4.ebuild :
|
||||
Stable on AMD64.
|
||||
|
||||
28 Apr 2004; Guy Martin <gmsoft@gentoo.org> sgml-common-0.6.3-r4.ebuild:
|
||||
Marked stable on hppa.
|
||||
|
||||
27 Apr 2004; Gustavo Zacarias <gustavoz@gentoo.org>
|
||||
sgml-common-0.6.3-r4.ebuild:
|
||||
Stable on sparc
|
||||
|
||||
26 Apr 2004; Mike Gardiner <obz@gentoo.org> sgml-common-0.6.3-r3.ebuild,
|
||||
sgml-common-0.6.3-r4.ebuild:
|
||||
This has been ~x86 for way too long, for no reason. Marked -r4 x86 now. Fixed
|
||||
S= in -r3 for fun
|
||||
|
||||
15 Apr 2004; Michael McCabe <randy@gentoo.org>
|
||||
sgml-common-0.6.3-r4.ebuild:
|
||||
adding s390 keywords
|
||||
|
||||
21 Mar 2004; Joshua Kinard <kumba@gentoo.org> sgml-common-0.6.3-r4.ebuild:
|
||||
Marked Stable on mips.
|
||||
|
||||
04 Mar 2004; Joshua Kinard <kumba@gentoo.org> sgml-common-0.6.3-r4.ebuild:
|
||||
Added ~mips to KEYWORDS to satisfy repoman deps.
|
||||
|
||||
23 Sep 2003; Bartosch Pixa <darkspecter@gentoo.org>
|
||||
sgml-common-0.6.3-r4.ebuild:
|
||||
set ppc in keywords
|
||||
|
||||
13 Sep 2003; Mike Gardiner <obz@gentoo.org> sgml-common-0.6.3-r1.ebuild,
|
||||
sgml-common-0.6.3.ebuild:
|
||||
Removed older versions
|
||||
|
||||
13 Sep 2003; Mike Gardiner <obz@gentoo.org> metadata.xml,
|
||||
sgml-common-0.6.3-r3.ebuild, sgml-common-0.6.3-r4.ebuild:
|
||||
Added automake to depends, see bug #23080
|
||||
|
||||
10 Feb 2003; Guy Martin <gmsoft@gentoo.org> :
|
||||
Added hppa to keywords.
|
||||
|
||||
*sgml-common-0.6.3-r4 (05 Feb 2003)
|
||||
|
||||
05 Feb 2003; Matthew Turk <satai@gentoo.org> :
|
||||
Revision bump. Now the install-catalog program puts quotations around the
|
||||
catalog files, thus fixing sgmltools-lite. Masking in package.mask and
|
||||
~arch. Also included a script to convert the catalogs into the proper
|
||||
format, with quotation marks. In response to bug 12792.
|
||||
|
||||
*sgml-common-0.6.3-r3 (30 Dec 2002)
|
||||
|
||||
30 Dec 2002; Matthew Turk <satai@gentoo.org> :
|
||||
Changed the echo's around a bit, other misc bits. Warrants a revision bump
|
||||
just to make sure it gets caught with all the other SGML changes.
|
||||
|
||||
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
|
||||
|
||||
*sgml-common-0.6.3-r2 (12 Sep 2002)
|
||||
12 Sep 2002; satai <satai@gentoo.org> sgml-common-0.6.3-r2.ebuild :
|
||||
Added more robust file checking.
|
||||
|
||||
*sgml-common-0.6.3-r2 (12 Jul 2002)
|
||||
|
||||
2 Aug 2002; phoen][x <phoenix@gentoo.org> sgml-common-0.6.3.ebuild :
|
||||
Added LICENSE, SLOT.
|
||||
|
||||
2 Aug 2002; phoen][x <phoenix@gentoo.org> sgml-common-0.6.3-r2.ebuild :
|
||||
Added LICENSE, SLOT.
|
||||
|
||||
15 Jul 2002; Owen Stampflee <owen@gentoo.org> :
|
||||
|
||||
Added KEYWORDS.
|
||||
|
||||
12 Jul 2002; Seemant Kulleen <seemant@gentoo.org> :
|
||||
|
||||
bumped revision so as to force a remerge.
|
||||
|
||||
*sgml-common-0.6.3-r1 (30 Jun 2002)
|
||||
|
||||
2 Aug 2002; phoen][x <phoenix@gentoo.org> sgml-common-0.6.3-r1.ebuild :
|
||||
Added LICENSE, SLOT.
|
||||
30 Jun 2002; Martin Schlemmer <azarah@gentoo.org> :
|
||||
Fix pkg_postrm() and pkg_prerm() to actually work.
|
||||
|
||||
*sgml-common-0.6.3 (08 May 2002)
|
||||
08 May 2002; Spider <spider@gentoo.org> sgml-common-0.6.3.ebuild:
|
||||
the old version was removed from the server, responding to bug on irc.
|
||||
|
||||
*sgml-common-0.6.1-r1 (31 Mar 2002)
|
||||
|
||||
31 Mar 2002; Seemant Kulleen <seemant@gentoo.org> sgml-common-0.6.1-r1.ebuild:
|
||||
|
||||
Cleaned up ebuild.
|
||||
|
||||
*sgml-common-0.6.1 (1 Feb 2002)
|
||||
|
||||
1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
|
||||
|
||||
Added initial ChangeLog which should be updated whenever the package is
|
||||
updated in any way. This changelog is targetted to users. This means that the
|
||||
comments should well explained and written in clean English. The details about
|
||||
writing correct changelogs are explained in the skel.ChangeLog file which you
|
||||
can find in the root directory of the portage repository.
|
@ -1,26 +1 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX sgml-common-0.6.3-install-catalog.in 5064 SHA256 dffad899948ae7177b33e1c3132f9b7c6ea9e3f5a6d1e34b9334b91e54cc5fa6 SHA512 85fbcdd7aceb28256e08ca1a5b6472247d81499e604d6a45edabf662bc32b72a22326db907e2a408b1a6da02deccd89606749e3fc8e42594ad6402ab29d501b9 WHIRLPOOL a25ad29a334b38d794e52ac5a04232d319ffa109d3130e2d9a89868548090a1001c512c75bd67f9335fd6d0a898bae673692106238e7ebe1a876d3dd45717e2f
|
||||
AUX sgml-common-0.6.3-prefix.patch 658 SHA256 6926c44655ddd713276cc26d777d39b56b3cc740e55bbc2c543daad21359bee3 SHA512 25e02afb59be7c056577169a5c644a2fa6800bf07c5876fac3f9ad6b3094ee186b1864f59ae2fcbb99acb7f0d6e0d32f8daeb2aeec16f8f2f98d43b3e890ef7d WHIRLPOOL f7b7ee85138b5e7f89f7fb88653d416dcf534530535aec3fb3fe84fd51e49d84b0745f529f412faf29bc7d2b000331d214a6952ad71833c4d0b08be7119052da
|
||||
DIST sgml-common-0.6.3-gentoo.tar.gz 128903 SHA256 c5f6668cb19e230df5c5adaf2704fa5225da0aab090b42a23f4247224c6523ee SHA512 c8de573d707ccf524407c9be9a6e7740341eb88ecb6bee69d6d11a2658ef74e6acfb7495afa33c9983ab015c3c925aac98278a4e01ee217892a9fb99e60798ce WHIRLPOOL 18187f92fd4def6affdbb9e7c6de5f4a29f906b6f5199bb9db049ff106cc3fccd51144b83ad575caeb1ef8b6cb01d59db7a33563867fe14053019d93b9084772
|
||||
EBUILD sgml-common-0.6.3-r5.ebuild 2627 SHA256 733a018177b3d6cc3adff0366ead16e602a86efbe5d7b503faef99a6b7a24d4e SHA512 2fc5981a07b9becfa4364123b12e6677520d2e965e7af94f29c005e938a1498dd64a39a979083a94b1c227e4559e050fb447ca86b87bd14f554b03c6ca55f9b1 WHIRLPOOL 121dfcd49eeabb58177601cf259045f621f78581c070f7adb7be2c6efadd49220022ff4f5c82560e201498a0482e9a32d494afccafc6cf62c4c4c56d54e3e73c
|
||||
MISC ChangeLog 9360 SHA256 dff19456b9a5b4d3efdd731757777f1ed2b5be1bbcc5e048f4d40a8ad88f2cdd SHA512 3534e8a2fbad7010a90e820834e12410f3f43e55e1f9df7f325ff0f8b820cb1131f8fe27917efda2ea53ac46317ddfc25b36604cd909cae1029706c267c04d6d WHIRLPOOL ed88533f45ba5de82da8d2efd01b79b8fb70738fcd0b92b948c268d54aeebc164950538c59737f1b317770f14aa8f13693de9609c0985abc08074693733288cc
|
||||
MISC metadata.xml 208 SHA256 98f8aa3fb70533eeab6b09d5bc30bd8f649ec13d9b04363490082fb87bb6032e SHA512 d5a7f3cb2fe57f8d7783ba358068648b122d9f5de81a17bff61ce600e42b6487e6f7e2a62c8be95cc7021cb3ea88716824b1ad0565da922ea753bea2417b3d3d WHIRLPOOL e38a6cdef2acb3efdc182efde482593790f773ab3bb9b66cced3af47e4ab39368757e17c4352c6cacaefa338341db88c3bcc3ffcd32aabd7984c5b19051a7bb7
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCAAGBQJTQWpOAAoJEPGu1DbS6WIAT0UP/0rGaF3+O7IeLhfGLT6vyqyQ
|
||||
pOPx1ZIb7rFBhst8l28SGT0z2OPn7la5N/bNu44TKDROK2ENHsCk36NbfCWZ85Xh
|
||||
Swe0ZG8MGqhSuUgE1tVZOyLzxo7siPq3E87v0zuPN+MKy79VVn7/di535GYRAKe2
|
||||
stJrUXZn9W/7KAQK34JRI50/IPztZzw191zyBdqDYldZLqqYeFv2MmGfVnEbyqvR
|
||||
YVWU4ZrCM2+8XwqCikzRY6LJsbf8hlZOZnHyx5CSZ1sa60UwBH/IJCsmjNOO6SlC
|
||||
jdGW/DAYH4d9jXdIAXNxEleZy52Xz9dvx69bse42qwFVHVTe4rXvvBCwOuBTD5/X
|
||||
HUHGPyTboxgXepPNuP6ddcG2FfWo8cJjwM5kf9fB3T8RUUYDVZRriq2BpqFYfVt2
|
||||
Ej72nYIIin6lUVhZ7sklJMlJjNxmyE6r30Cy7vz2ZxbW2HN7nxfHPB/AwTsX++Os
|
||||
k7A5AtPqRafac1IUINNL764K5QXckm/jHeX2rAcIAqOzdqqDkSNkk484+2rXvhgL
|
||||
APrQIa/9SdL/+4WlbRMOLOxUw18rXkve9hPOKYmi0GHOREHvDxOqUcIgLA2qL84/
|
||||
hoXtcZqhENVASaN3m2mvOgt+A479ARiy/nqmobgtokY2fRxUVO5iVs+iLXfGhJc2
|
||||
AD0L1J25S0ugmmfZ6xf/
|
||||
=5KxZ
|
||||
-----END PGP SIGNATURE-----
|
||||
DIST sgml-common-0.6.3-gentoo.tar.gz 128903 BLAKE2B 3b374179fe85cf6f098649d2014f9d34349ddccd17ae0ac4c5502414507601c545eaf27f7c76fafd63c36041068205d3b82309a204989f3b106c04c7adf14875 SHA512 c8de573d707ccf524407c9be9a6e7740341eb88ecb6bee69d6d11a2658ef74e6acfb7495afa33c9983ab015c3c925aac98278a4e01ee217892a9fb99e60798ce
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- bin/sgmlwhich~ 2007-10-08 04:21:25 +0200
|
||||
+++ bin/sgmlwhich 2007-10-08 04:21:36 +0200
|
||||
--- a/bin/sgmlwhich 2007-10-08 04:21:25 +0200
|
||||
+++ b/bin/sgmlwhich 2007-10-08 04:21:36 +0200
|
||||
@@ -3,5 +3,5 @@
|
||||
# Send any comments to Eric Bischoff <eric@caldera.de>
|
||||
# This program is under GPL license. See LICENSE file for details.
|
||||
@ -7,8 +7,8 @@
|
||||
-echo "/etc/sgml/sgml.conf"
|
||||
+echo "@GENTOO_PORTAGE_EPREFIX@/etc/sgml/sgml.conf"
|
||||
# Simple, isn't it? ;-)
|
||||
--- config/sgml.conf~ 2000-11-17 09:36:11 +0100
|
||||
+++ config/sgml.conf 2007-10-08 04:42:52 +0200
|
||||
--- a/config/sgml.conf 2000-11-17 09:36:11 +0100
|
||||
+++ b/config/sgml.conf 2007-10-08 04:42:52 +0200
|
||||
@@ -1,3 +1,3 @@
|
||||
# /etc/sgml/sgml.conf conformant with LSB
|
||||
-SGML_BASE_DIR=/usr/share/sgml
|
||||
|
@ -1,5 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer><email>maintainer-needed@gentoo.org</email></maintainer>
|
||||
<maintainer type="person">
|
||||
<email>mgorny@gentoo.org</email>
|
||||
<name>Michał Górny</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1,85 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/sgml-common/sgml-common-0.6.3-r5.ebuild,v 1.29 2014/04/06 14:52:58 vapier Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils prefix
|
||||
|
||||
DESCRIPTION="Base ISO character entities and utilities for SGML"
|
||||
HOMEPAGE="http://www.iso.ch/cate/3524030.html"
|
||||
#SRC_URI="mirror://kde/devel/docbook/SOURCES/${P}.tgz"
|
||||
SRC_URI="http://dev.gentoo.org/~floppym/dist/${PN}/${P}-gentoo.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
# We use a hacked version of install-catalog that supports the ROOT
|
||||
# variable, puts quotes around the CATALOG files, and can be prefixed.
|
||||
cp "${FILESDIR}/${P}-install-catalog.in" "${S}/bin/install-catalog.in"
|
||||
|
||||
epatch "${FILESDIR}"/${P}-prefix.patch
|
||||
eprefixify bin/install-catalog.in bin/sgmlwhich config/sgml.conf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local installer="${EROOT}usr/bin/install-catalog"
|
||||
if [[ ! -x ${installer} ]]; then
|
||||
eerror "install-catalog not found! Something went wrong!"
|
||||
die "install-catalog not found! Something went wrong!"
|
||||
fi
|
||||
|
||||
einfo "Installing Catalogs..."
|
||||
"$installer" --add \
|
||||
"${EPREFIX}"/etc/sgml/sgml-ent.cat \
|
||||
"${EPREFIX}"/usr/share/sgml/sgml-iso-entities-8879.1986/catalog
|
||||
"$installer" --add \
|
||||
"${EPREFIX}"/etc/sgml/sgml-docbook.cat \
|
||||
"${EPREFIX}"/etc/sgml/sgml-ent.cat
|
||||
|
||||
local file
|
||||
for file in `find "${EROOT}etc/sgml/" -name "*.cat"` "${EROOT}etc/sgml/catalog"
|
||||
do
|
||||
einfo "Fixing ${file}"
|
||||
awk '/"$/ { print $1 " " $2 }
|
||||
! /"$/ { print $1 " \"" $2 "\"" }' ${file} > ${file}.new
|
||||
mv ${file}.new ${file}
|
||||
done
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
cp "${EROOT}usr/bin/install-catalog" "${T}"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if [ ! -x "${T}/install-catalog" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
einfo "Removing Catalogs..."
|
||||
if [ -e "${EROOT}etc/sgml/sgml-ent.cat" ]; then
|
||||
"${T}"/install-catalog --remove \
|
||||
"${EPREFIX}"/etc/sgml/sgml-ent.cat \
|
||||
"${EPREFIX}"/usr/share/sgml/sgml-iso-entities-8879.1986/catalog
|
||||
fi
|
||||
|
||||
if [ -e "${EROOT}etc/sgml/sgml-docbook.cat" ]; then
|
||||
"${T}"/install-catalog --remove \
|
||||
"${EPREFIX}"/etc/sgml/sgml-docbook.cat \
|
||||
"${EPREFIX}"/etc/sgml/sgml-ent.cat
|
||||
fi
|
||||
}
|
94
sdk_container/src/third_party/portage-stable/app-text/sgml-common/sgml-common-0.6.3-r7.ebuild
vendored
Normal file
94
sdk_container/src/third_party/portage-stable/app-text/sgml-common/sgml-common-0.6.3-r7.ebuild
vendored
Normal file
@ -0,0 +1,94 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit prefix sgml-catalog-r1
|
||||
|
||||
DESCRIPTION="Base ISO character entities and utilities for SGML"
|
||||
HOMEPAGE="https://www.iso.org/standard/16387.html"
|
||||
SRC_URI="https://dev.gentoo.org/~floppym/dist/${PN}/${P}-gentoo.tar.gz"
|
||||
|
||||
# install-catalog is GPL
|
||||
LICENSE="FDL-1.1+ GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-prefix.patch )
|
||||
|
||||
src_prepare() {
|
||||
# We use a hacked version of install-catalog that supports the ROOT
|
||||
# variable, puts quotes around the CATALOG files, and can be prefixed.
|
||||
cp "${FILESDIR}/${P}-install-catalog.in" "${S}/bin/install-catalog.in" \
|
||||
|| die "Copy of install-catalog.in failed"
|
||||
|
||||
default
|
||||
eprefixify bin/install-catalog.in bin/sgmlwhich config/sgml.conf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# own /etc/sgml/catalog
|
||||
insinto /etc/sgml
|
||||
newins - catalog <<<''
|
||||
newins - sgml-ent.cat <<-EOF
|
||||
CATALOG "${EPREFIX}/usr/share/sgml/sgml-iso-entities-8879.1986/catalog"
|
||||
EOF
|
||||
newins - sgml-docbook.cat <<-EOF
|
||||
CATALOG "${EPREFIX}/etc/sgml/sgml-ent.cat"
|
||||
EOF
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# preserve old files
|
||||
local f
|
||||
for f in /etc/sgml/{catalog,sgml-docbook.cat}; do
|
||||
if [[ -s ${EROOT}${f} ]]; then
|
||||
cp "${EROOT}${f}" "${ED}${f}" || die
|
||||
fi
|
||||
done
|
||||
|
||||
# and back them up in case postrm killed them
|
||||
for f in sgml-ent.cat sgml-docbook.cat; do
|
||||
cp "${ED}/etc/sgml/${f}" "${T}" || die
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# restore backed up files if necessary
|
||||
for f in sgml-ent.cat sgml-docbook.cat; do
|
||||
if ! cmp -s "${T}/${f}" "${EROOT}/etc/sgml/${f}"; then
|
||||
cp "${T}/${f}" "${EROOT}"/etc/sgml/ || die
|
||||
fi
|
||||
done
|
||||
|
||||
# re-append sgml-ent.cat if necessary
|
||||
if ! grep -q -s sgml-ent.cat "${EROOT}/etc/sgml/sgml-docbook.cat"; then
|
||||
ebegin "Adding sgml-ent.cat to /etc/sgml/sgml-docbook.cat"
|
||||
cat >> "${EROOT}/etc/sgml/sgml-docbook.cat" <<-EOF
|
||||
CATALOG "${EPREFIX}/etc/sgml/sgml-ent.cat"
|
||||
EOF
|
||||
eend ${?}
|
||||
fi
|
||||
|
||||
sgml-catalog-r1_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if [[ -z ${REPLACED_BY_VERSION} ]]; then
|
||||
ebegin "Removing sgml-ent.cat from /etc/sgml/sgml-docbook.cat"
|
||||
sed -i -e '/sgml-ent\.cat/d' \
|
||||
"${EROOT}"/etc/sgml/sgml-docbook.cat
|
||||
eend ${?}
|
||||
if [[ ! -s ${EROOT}/etc/sgml/sgml-docbook.cat ]]; then
|
||||
rm -f "${EROOT}"/etc/sgml/sgml-docbook.cat
|
||||
fi
|
||||
fi
|
||||
|
||||
sgml-catalog-r1_pkg_postrm
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user