diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-09-04 15:18:41 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-09-04 15:18:41 +0000 |
commit | d3424994d0887946bd933ee36e2fec1e7a798030 (patch) | |
tree | 763b66f5a99a6121722e9738006049514670d5ae /app-text/docbook-xsl-ns-stylesheets | |
parent | Version bump. (diff) | |
download | gentoo-2-d3424994d0887946bd933ee36e2fec1e7a798030.tar.gz gentoo-2-d3424994d0887946bd933ee36e2fec1e7a798030.tar.bz2 gentoo-2-d3424994d0887946bd933ee36e2fec1e7a798030.zip |
Version bump.
(Portage version: 2.2_rc74/cvs/Linux x86_64)
Diffstat (limited to 'app-text/docbook-xsl-ns-stylesheets')
-rw-r--r-- | app-text/docbook-xsl-ns-stylesheets/ChangeLog | 8 | ||||
-rw-r--r-- | app-text/docbook-xsl-ns-stylesheets/docbook-xsl-ns-stylesheets-1.76.0.ebuild | 62 |
2 files changed, 69 insertions, 1 deletions
diff --git a/app-text/docbook-xsl-ns-stylesheets/ChangeLog b/app-text/docbook-xsl-ns-stylesheets/ChangeLog index 80e5a9e82547..227313032078 100644 --- a/app-text/docbook-xsl-ns-stylesheets/ChangeLog +++ b/app-text/docbook-xsl-ns-stylesheets/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-text/docbook-xsl-ns-stylesheets # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xsl-ns-stylesheets/ChangeLog,v 1.20 2010/08/21 19:59:29 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xsl-ns-stylesheets/ChangeLog,v 1.21 2010/09/04 15:18:41 flameeyes Exp $ + +*docbook-xsl-ns-stylesheets-1.76.0 (04 Sep 2010) + + 04 Sep 2010; Diego E. Pettenò <flameeyes@gentoo.org> + +docbook-xsl-ns-stylesheets-1.76.0.ebuild: + Version bump. 21 Aug 2010; Diego E. Pettenò <flameeyes@gentoo.org> -docbook-xsl-ns-stylesheets-1.74.0.ebuild, diff --git a/app-text/docbook-xsl-ns-stylesheets/docbook-xsl-ns-stylesheets-1.76.0.ebuild b/app-text/docbook-xsl-ns-stylesheets/docbook-xsl-ns-stylesheets-1.76.0.ebuild new file mode 100644 index 000000000000..8917159f4e0e --- /dev/null +++ b/app-text/docbook-xsl-ns-stylesheets/docbook-xsl-ns-stylesheets-1.76.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xsl-ns-stylesheets/docbook-xsl-ns-stylesheets-1.76.0.ebuild,v 1.1 2010/09/04 15:18:41 flameeyes Exp $ + +DESCRIPTION="XSL Stylesheets for Docbook" +HOMEPAGE="http://wiki.docbook.org/topic/DocBookXslStylesheets" +SRC_URI="mirror://sourceforge/docbook/docbook-xsl-ns-${PV}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=app-text/build-docbook-catalog-1.4" + +S=${WORKDIR}/docbook-xsl-ns-${PV} + +# Makefile is broken in this release +RESTRICT=test + +# The makefile runs tests, not builds. +src_compile() { :; } + +src_test() { + emake check || die "test failed" +} + +src_install() { + # Create the installation directory + DEST="/usr/share/sgml/docbook/xsl-ns-stylesheets" + insinto ${DEST} + + local i + for sheet in $(find . -maxdepth 1 -mindepth 1 -type d); do + i=$(basename $sheet) + 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 + + # Install misc. docs + # The changelog is now zipped, and copied as the RELEASE-NOTES, so we + # don't need to install it + cd "${S}" + dodoc AUTHORS BUGS NEWS README RELEASE-NOTES.txt TODO + doins VERSION +} + +pkg_postinst() { + build-docbook-catalog +} + +pkg_postrm() { + build-docbook-catalog +} |