summaryrefslogtreecommitdiff
path: root/app-text/docbook-dsssl-stylesheets
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-text/docbook-dsssl-stylesheets
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/docbook-dsssl-stylesheets')
-rw-r--r--app-text/docbook-dsssl-stylesheets/Manifest4
-rw-r--r--app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.79-r2.ebuild57
-rw-r--r--app-text/docbook-dsssl-stylesheets/files/docbook-dsssl-stylesheets-1.77.Makefile25
-rw-r--r--app-text/docbook-dsssl-stylesheets/metadata.xml8
4 files changed, 94 insertions, 0 deletions
diff --git a/app-text/docbook-dsssl-stylesheets/Manifest b/app-text/docbook-dsssl-stylesheets/Manifest
new file mode 100644
index 000000000000..9731b7ea538e
--- /dev/null
+++ b/app-text/docbook-dsssl-stylesheets/Manifest
@@ -0,0 +1,4 @@
+AUX docbook-dsssl-stylesheets-1.77.Makefile 676 BLAKE2B e87e463a2fffd64e6633a2d1015660ebc341f089a2dd3cb5da9c743eaf9b98b8457a723040f871c350969445275a6eca705546e2d4ba7596c21994fc5069c540 SHA512 110c5dbed17a759179c08fe44410b7d098dc42c8a1d6ed1a4accb30d815ccbd0f2a65a65723b18747577c838106d5e9c193c466a7c2e7f69fe2aeb1a4637d2c3
+DIST docbook-dsssl-1.79.tar.bz2 277650 BLAKE2B 6a12f46965ee705096f679b672610395b24f151e3bf3cb05f7d920c052b7a3fdafb4f5ee4526dbf765bbab6b7d4ca9f021277c6f35926f47edc61d0f835afdbb SHA512 fad71e67227b54b0a7c31a351b4d5c0695517b3687714807d7b144d239dc6f7e0d556520e705eb75581c82e0deea4b32ccfde1eccad2718337b757eddd64843e
+EBUILD docbook-dsssl-stylesheets-1.79-r2.ebuild 1622 BLAKE2B 1d3a39700f1d767669319d7ecfff473ecd4849ae66918d070780f1e9bd327a82488a65a7744834a98572bc2685bbcb333dc5482316f232b6a1fbbe157f8a96bd SHA512 87e7ffd95e6e6ff0dd713f1246b80353a246736696fac03384ae906d1ed6a3438f9d74ac1526f7bd516e7d3110f2e76d76e90aa59fe9d17bbc7930ec9257124c
+MISC metadata.xml 244 BLAKE2B bb7b24c64c26a7f15cd94824d3dcced7f4680be7b408e344b8255ab4d2811a85e0b6941172dc28e10077d58c07d16788e8e42725526e51968fcb07f340af90f0 SHA512 bbbde89bd3a4d4e2071d840c10a83781a0950bf6e362bc4e69a24ac9da5ce216ec338a935519e8913df63db8b3ecd12f6ac3868519fd1b1378285c923fd234ec
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
new file mode 100644
index 000000000000..215efe89a67f
--- /dev/null
+++ b/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.79-r2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit sgml-catalog
+
+MY_P=${P/-stylesheets/}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="DSSSL Stylesheets for DocBook"
+HOMEPAGE="https://github.com/docbook/wiki/wiki"
+SRC_URI="mirror://sourceforge/docbook/${MY_P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+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"
+IUSE=""
+
+RDEPEND="app-text/sgml-common"
+
+sgml-catalog_cat_include "/etc/sgml/dsssl-docbook-stylesheets.cat" \
+ "/usr/share/sgml/docbook/dsssl-stylesheets-${PV}/catalog"
+sgml-catalog_cat_include "/etc/sgml/sgml-docbook.cat" \
+ "/etc/sgml/dsssl-docbook-stylesheets.cat"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ cp "${FILESDIR}/${PN}-1.77.Makefile" Makefile
+}
+
+src_compile() {
+ return 0
+}
+
+src_install() {
+ make \
+ BINDIR="${ED}/usr/bin" \
+ DESTDIR="${ED}/usr/share/sgml/docbook/dsssl-stylesheets-${PV}" \
+ install || die
+
+ dodir /usr/share/sgml/stylesheets/dsssl/
+
+ if [ -d "${EPREFIX}"/usr/share/sgml/stylesheets/dsssl/docbook ] &&
+ [ ! -L "${EPREFIX}"/usr/share/sgml/stylesheets/dsssl/docbook ]
+ then
+ ewarn "Not linking /usr/share/sgml/stylesheets/dsssl/docbook to"
+ ewarn "/usr/share/sgml/docbook/dsssl-stylesheets-${PV}"
+ ewarn "as directory already exists there. Will assume you know"
+ ewarn "what you're doing."
+ else
+ dosym ../../docbook/dsssl-stylesheets-${PV} \
+ /usr/share/sgml/stylesheets/dsssl/docbook
+ fi
+
+ dodoc BUGS ChangeLog README RELEASE-NOTES.txt WhatsNew
+}
diff --git a/app-text/docbook-dsssl-stylesheets/files/docbook-dsssl-stylesheets-1.77.Makefile b/app-text/docbook-dsssl-stylesheets/files/docbook-dsssl-stylesheets-1.77.Makefile
new file mode 100644
index 000000000000..5d73ff173c4e
--- /dev/null
+++ b/app-text/docbook-dsssl-stylesheets/files/docbook-dsssl-stylesheets-1.77.Makefile
@@ -0,0 +1,25 @@
+BINDIR = /usr/bin
+DESTDIR = /usr/share/sgml/docbook/dsssl-stylesheets-1.76
+
+all: install
+
+install:
+ mkdir -p $(BINDIR)
+ mkdir -p $(DESTDIR)/dtds/decls
+ mkdir -p $(DESTDIR)/lib
+ mkdir -p $(DESTDIR)/common
+ mkdir -p $(DESTDIR)/html
+ mkdir -p $(DESTDIR)/print
+ mkdir -p $(DESTDIR)/test
+ mkdir -p $(DESTDIR)/images
+ install bin/collateindex.pl $(BINDIR)
+ cp catalog $(DESTDIR)
+ cp VERSION $(DESTDIR)
+ cp dtds/decls/docbook.dcl $(DESTDIR)/dtds/decls
+ cp lib/dblib.dsl $(DESTDIR)/lib
+ cp common/*.dsl $(DESTDIR)/common
+ cp common/*.ent $(DESTDIR)/common
+ cp html/*.dsl $(DESTDIR)/html
+ cp lib/*.dsl $(DESTDIR)/lib
+ cp print/*.dsl $(DESTDIR)/print
+ cp images/*.gif $(DESTDIR)/images
diff --git a/app-text/docbook-dsssl-stylesheets/metadata.xml b/app-text/docbook-dsssl-stylesheets/metadata.xml
new file mode 100644
index 000000000000..4c2c3e9fe569
--- /dev/null
+++ b/app-text/docbook-dsssl-stylesheets/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="sourceforge">docbook</remote-id>
+ </upstream>
+</pkgmetadata>