summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2017-12-05 11:42:26 -0500
committerMike Gilbert <floppym@gentoo.org>2017-12-05 11:42:26 -0500
commit3ebf0b292bf590d5b7843d2044738854c9278a29 (patch)
treea31cb3e9bcb6c5e575426f6a12d41bd4ce06ef18 /app-text/docbook-xsl-stylesheets
parentapp-text/docbook-xsl-stylesheets: stable for all, bug 612194 (diff)
downloadgentoo-3ebf0b292bf590d5b7843d2044738854c9278a29.tar.gz
gentoo-3ebf0b292bf590d5b7843d2044738854c9278a29.tar.bz2
gentoo-3ebf0b292bf590d5b7843d2044738854c9278a29.zip
app-text/docbook-xsl-stylesheets: remove old
Package-Manager: Portage-2.3.15, Repoman-2.3.6_p7
Diffstat (limited to 'app-text/docbook-xsl-stylesheets')
-rw-r--r--app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.79.1-r1.ebuild95
1 files changed, 0 insertions, 95 deletions
diff --git a/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.79.1-r1.ebuild b/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.79.1-r1.ebuild
deleted file mode 100644
index f31e0f944d4f..000000000000
--- a/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.79.1-r1.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-USE_RUBY="ruby20 ruby21 ruby22 ruby23"
-
-inherit ruby-single
-
-DOCBOOKDIR="/usr/share/sgml/${PN/-//}"
-MY_PN="${PN%-stylesheets}"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="XSL Stylesheets for Docbook"
-HOMEPAGE="http://wiki.docbook.org/DocBookXslStylesheets"
-SRC_URI="mirror://sourceforge/docbook/${MY_P}.tar.bz2"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="ruby"
-
-RDEPEND=">=app-text/build-docbook-catalog-1.1
- ruby? ( ${RUBY_DEPS} )"
-
-S="${WORKDIR}/${MY_P}"
-
-# Makefile is broken since 1.76.0
-RESTRICT=test
-
-src_prepare() {
- # Delete the unnecessary Java-related stuff and other tools as they
- # bloat the stage3 tarballs massively. See bug #575818.
- rm -rv extensions/ tools/ || die
- find \( -name build.xml -o -name build.properties \) \
- -printf "removed %p\n" -delete || die
-
- if ! use ruby; then
- rm -rv epub/ || die
- fi
-}
-
-# The makefile runs tests, not builds.
-src_compile() { :; }
-
-src_test() {
- emake check
-}
-
-src_install() {
- # The changelog is now zipped, and copied as the RELEASE-NOTES, so we
- # don't need to install it
- dodoc AUTHORS BUGS NEWS README RELEASE-NOTES.txt TODO
-
- insinto ${DOCBOOKDIR}
- doins VERSION VERSION.xsl
-
- local i
- for i in */; do
- i=${i%/}
-
- cd "${S}"/${i}
- for doc in ChangeLog README; do
- if [ -e "$doc" ]; then
- mv ${doc} ${doc}.${i}
- dodoc ${doc}.${i}
- rm ${doc}.${i}
- fi
- done
-
- doins -r "${S}"/${i}
- done
-
- if use ruby; then
- local cmd="dbtoepub${MY_PN#docbook-xsl}"
-
- # we can't use a symlink or it'll look for the library in the
- # wrong path.
- dodir /usr/bin
- cat - > "${D}"/usr/bin/${cmd} <<EOF
-#!/usr/bin/env ruby
-
-load "${DOCBOOKDIR}/epub/bin/dbtoepub"
-EOF
- fperms 0755 /usr/bin/${cmd}
- fi
-}
-
-pkg_postinst() {
- build-docbook-catalog
-}
-
-pkg_postrm() {
- build-docbook-catalog
-}