summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2012-03-27 22:35:16 +0000
committerMike Gilbert <floppym@gentoo.org>2012-03-27 22:35:16 +0000
commita455841d6b4c699e08746ed842a2e4c9552a8a91 (patch)
treec84e28486de686271a5a950edab470a5a960359a /app-text/sgml-common
parentconvert to oasis.eclass (diff)
downloadgentoo-2-a455841d6b4c699e08746ed842a2e4c9552a8a91.tar.gz
gentoo-2-a455841d6b4c699e08746ed842a2e4c9552a8a91.tar.bz2
gentoo-2-a455841d6b4c699e08746ed842a2e4c9552a8a91.zip
Install html in the right place. Bug 295115.
(Portage version: 2.2.0_alpha95/cvs/Linux x86_64)
Diffstat (limited to 'app-text/sgml-common')
-rw-r--r--app-text/sgml-common/ChangeLog8
-rw-r--r--app-text/sgml-common/files/sgml-common-0.6.3-htmldir.patch5
-rw-r--r--app-text/sgml-common/sgml-common-0.6.3-r5.ebuild9
3 files changed, 18 insertions, 4 deletions
diff --git a/app-text/sgml-common/ChangeLog b/app-text/sgml-common/ChangeLog
index 01d001f5af49..7f638781ad4c 100644
--- a/app-text/sgml-common/ChangeLog
+++ b/app-text/sgml-common/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/sgml-common
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/sgml-common/ChangeLog,v 1.56 2011/05/03 06:39:48 grobian Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/sgml-common/ChangeLog,v 1.57 2012/03/27 22:35:16 floppym Exp $
+
+ 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
diff --git a/app-text/sgml-common/files/sgml-common-0.6.3-htmldir.patch b/app-text/sgml-common/files/sgml-common-0.6.3-htmldir.patch
new file mode 100644
index 000000000000..33daec6109c7
--- /dev/null
+++ b/app-text/sgml-common/files/sgml-common-0.6.3-htmldir.patch
@@ -0,0 +1,5 @@
+--- a/doc/HTML/Makefile.am
++++ b/doc/HTML/Makefile.am
+@@ -1,2 +1 @@
+-htmldir = $(docdir)/sgml-common-@VERSION@/html
+ html_DATA = *.html
diff --git a/app-text/sgml-common/sgml-common-0.6.3-r5.ebuild b/app-text/sgml-common/sgml-common-0.6.3-r5.ebuild
index aae722cdff1c..cce2bc97a076 100644
--- a/app-text/sgml-common/sgml-common-0.6.3-r5.ebuild
+++ b/app-text/sgml-common/sgml-common-0.6.3-r5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 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.23 2011/05/03 06:39:48 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/sgml-common/sgml-common-0.6.3-r5.ebuild,v 1.24 2012/03/27 22:35:16 floppym Exp $
EAPI="3"
@@ -28,10 +28,15 @@ src_prepare() {
epatch "${FILESDIR}"/${P}-configure.in.patch
epatch "${FILESDIR}"/${P}-man_MANS.patch
+ epatch "${FILESDIR}"/${P}-htmldir.patch
eautoreconf
}
+src_configure() {
+ econf --htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
+}
+
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
}