1 |
floppym 12/07/03 14:14:33 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: docbook-xsl-ns-stylesheets-1.77.1.ebuild |
5 |
Log: |
6 |
Version bump for bug 423861. |
7 |
|
8 |
(Portage version: 2.2.0_alpha114/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.30 app-text/docbook-xsl-ns-stylesheets/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/docbook-xsl-ns-stylesheets/ChangeLog?rev=1.30&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/docbook-xsl-ns-stylesheets/ChangeLog?rev=1.30&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/docbook-xsl-ns-stylesheets/ChangeLog?r1=1.29&r2=1.30 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-text/docbook-xsl-ns-stylesheets/ChangeLog,v |
20 |
retrieving revision 1.29 |
21 |
retrieving revision 1.30 |
22 |
diff -u -r1.29 -r1.30 |
23 |
--- ChangeLog 23 May 2012 04:16:21 -0000 1.29 |
24 |
+++ ChangeLog 3 Jul 2012 14:14:33 -0000 1.30 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for app-text/docbook-xsl-ns-stylesheets |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xsl-ns-stylesheets/ChangeLog,v 1.29 2012/05/23 04:16:21 flameeyes Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xsl-ns-stylesheets/ChangeLog,v 1.30 2012/07/03 14:14:33 floppym Exp $ |
30 |
+ |
31 |
+*docbook-xsl-ns-stylesheets-1.77.1 (03 Jul 2012) |
32 |
+ |
33 |
+ 03 Jul 2012; Mike Gilbert <floppym@g.o> |
34 |
+ +docbook-xsl-ns-stylesheets-1.77.1.ebuild: |
35 |
+ Version bump for bug 423861. |
36 |
|
37 |
*docbook-xsl-ns-stylesheets-1.77.0 (23 May 2012) |
38 |
|
39 |
@@ -142,4 +148,3 @@ |
40 |
22 Sep 2008; Diego Pettenò <flameeyes@g.o> +metadata.xml, |
41 |
+docbook-xsl-ns-stylesheets-1.74.0.ebuild: |
42 |
Initial import of XSL-NS stylesheets for use with DocBook 5. |
43 |
- |
44 |
|
45 |
|
46 |
|
47 |
1.1 app-text/docbook-xsl-ns-stylesheets/docbook-xsl-ns-stylesheets-1.77.1.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/docbook-xsl-ns-stylesheets/docbook-xsl-ns-stylesheets-1.77.1.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/docbook-xsl-ns-stylesheets/docbook-xsl-ns-stylesheets-1.77.1.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: docbook-xsl-ns-stylesheets-1.77.1.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2012 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xsl-ns-stylesheets/docbook-xsl-ns-stylesheets-1.77.1.ebuild,v 1.1 2012/07/03 14:14:33 floppym Exp $ |
57 |
|
58 |
EAPI=4 |
59 |
|
60 |
DOCBOOKDIR="/usr/share/sgml/${PN/-//}" |
61 |
MY_PN="${PN%-stylesheets}" |
62 |
MY_P="${MY_PN}-${PV}" |
63 |
|
64 |
DESCRIPTION="XSL Stylesheets for Docbook" |
65 |
HOMEPAGE="http://wiki.docbook.org/topic/DocBookXslStylesheets" |
66 |
SRC_URI="mirror://sourceforge/docbook/${MY_P}.tar.bz2" |
67 |
|
68 |
LICENSE="BSD" |
69 |
SLOT="0" |
70 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
71 |
IUSE="ruby" |
72 |
|
73 |
RDEPEND=">=app-text/build-docbook-catalog-1.4 |
74 |
ruby? ( || ( dev-lang/ruby dev-lang/ruby-enterprise ) )" |
75 |
|
76 |
S="${WORKDIR}/${MY_P}" |
77 |
|
78 |
# Makefile is broken since 1.76.0 |
79 |
RESTRICT=test |
80 |
|
81 |
# The makefile runs tests, not builds. |
82 |
src_compile() { :; } |
83 |
|
84 |
src_test() { |
85 |
emake check || die "test failed" |
86 |
} |
87 |
|
88 |
src_install() { |
89 |
# The changelog is now zipped, and copied as the RELEASE-NOTES, so we |
90 |
# don't need to install it |
91 |
dodoc AUTHORS BUGS NEWS README RELEASE-NOTES.txt TODO |
92 |
|
93 |
insinto ${DOCBOOKDIR} |
94 |
doins VERSION |
95 |
|
96 |
local i |
97 |
for i in $(find . -maxdepth 1 -mindepth 1 -type d -exec basename {} \;); do |
98 |
[[ "$i" == "epub" ]] && ! use ruby && continue |
99 |
|
100 |
cd "${S}"/${i} |
101 |
for doc in ChangeLog README; do |
102 |
if [ -e "$doc" ]; then |
103 |
mv ${doc} ${doc}.${i} |
104 |
dodoc ${doc}.${i} |
105 |
rm ${doc}.${i} |
106 |
fi |
107 |
done |
108 |
|
109 |
doins -r "${S}"/${i} |
110 |
done |
111 |
|
112 |
if use ruby; then |
113 |
local cmd="dbtoepub${MY_PN#docbook-xsl}" |
114 |
|
115 |
# we can't use a symlink or it'll look for the library in the |
116 |
# wrong path. |
117 |
dodir /usr/bin |
118 |
cat - > "${D}"/usr/bin/${cmd} <<EOF |
119 |
#!/usr/bin/env ruby |
120 |
|
121 |
load "${DOCBOOKDIR}/epub/bin/dbtoepub" |
122 |
EOF |
123 |
fperms 0755 /usr/bin/${cmd} |
124 |
fi |
125 |
} |
126 |
|
127 |
pkg_postinst() { |
128 |
build-docbook-catalog |
129 |
} |
130 |
|
131 |
pkg_postrm() { |
132 |
build-docbook-catalog |
133 |
} |