summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Auty <ikelos@gentoo.org>2009-12-13 17:01:20 +0000
committerMike Auty <ikelos@gentoo.org>2009-12-13 17:01:20 +0000
commit45087776e55b7fde1e6b88fb3f5cb84141e171df (patch)
tree625c57d89c6166c5960d6c9ea18e215a0936424b /dev-util/bless
parentAdd ~m68k, thanks to kolla for testing (diff)
downloadgentoo-2-45087776e55b7fde1e6b88fb3f5cb84141e171df.tar.gz
gentoo-2-45087776e55b7fde1e6b88fb3f5cb84141e171df.tar.bz2
gentoo-2-45087776e55b7fde1e6b88fb3f5cb84141e171df.zip
Fix up doc install issue (bug 296669).
(Portage version: 2.2_rc56/cvs/Linux i686)
Diffstat (limited to 'dev-util/bless')
-rw-r--r--dev-util/bless/ChangeLog6
-rw-r--r--dev-util/bless/bless-0.6.0-r1.ebuild4
-rw-r--r--dev-util/bless/files/bless-0.6.0-docpath.patch108
3 files changed, 45 insertions, 73 deletions
diff --git a/dev-util/bless/ChangeLog b/dev-util/bless/ChangeLog
index f55f4e35ab44..d05a768ab482 100644
--- a/dev-util/bless/ChangeLog
+++ b/dev-util/bless/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-util/bless
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/bless/ChangeLog,v 1.17 2009/12/13 14:07:47 ikelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/bless/ChangeLog,v 1.18 2009/12/13 17:01:20 ikelos Exp $
+
+ 13 Dec 2009; Mike Auty <ikelos@gentoo.org> bless-0.6.0-r1.ebuild,
+ files/bless-0.6.0-docpath.patch:
+ Fix up doc install issue (bug 296669).
*bless-0.6.0-r1 (13 Dec 2009)
diff --git a/dev-util/bless/bless-0.6.0-r1.ebuild b/dev-util/bless/bless-0.6.0-r1.ebuild
index 1e66810f4e35..c1ca21df71ba 100644
--- a/dev-util/bless/bless-0.6.0-r1.ebuild
+++ b/dev-util/bless/bless-0.6.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/bless/bless-0.6.0-r1.ebuild,v 1.1 2009/12/13 14:07:47 ikelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/bless/bless-0.6.0-r1.ebuild,v 1.2 2009/12/13 17:01:20 ikelos Exp $
EAPI=2
@@ -26,7 +26,7 @@ DEPEND="${RDEPEND}
DOCS="AUTHORS ChangeLog NEWS README"
pkg_setup() {
- G2CONF="${G2CONF} --enable-unix-specific $(use_enable debug)"
+ G2CONF="${G2CONF} --enable-unix-specific $(use_enable debug) --docdir=/usr/share/doc/${PF}"
# Stolen from enlightenment.eclass
cp $(type -p gettextize) "${T}/" || die "Could not copy gettextize"
diff --git a/dev-util/bless/files/bless-0.6.0-docpath.patch b/dev-util/bless/files/bless-0.6.0-docpath.patch
index 0def24d27e98..b1121424d88b 100644
--- a/dev-util/bless/files/bless-0.6.0-docpath.patch
+++ b/dev-util/bless/files/bless-0.6.0-docpath.patch
@@ -1,103 +1,71 @@
diff --git a/Makefile.am b/Makefile.am
-index 33f265b..23fcb0e 100644
+index 33f265b..346326d 100644
--- a/Makefile.am
+++ b/Makefile.am
-@@ -35,10 +35,10 @@ dist-hook:
+@@ -1,6 +1,9 @@
+ EXTRA_DIST = AUTHORS COPYING NEWS README README.packaging \
+ bless.mdp bless.mds bless.spec autogen.sh bless.mi
+
++doc_DATA = AUTHORS COPYING INSTALL ChangeLog NEWS \
++ README README.packaging bless.spec
++
+ SUBDIRS = po builder src bin data doc . tests
+
+ DIST_SUBDIRS= po builder src bin doc data tests
+@@ -34,11 +37,5 @@ bless-builder:
+ dist-hook:
bzr log > $(distdir)/ChangeLog
- install-data-local:
+-install-data-local:
- $(INSTALL) -d $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)
-+ $(INSTALL) -d $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
- $(INSTALL_DATA) AUTHORS COPYING INSTALL ChangeLog NEWS \
- README README.packaging bless.spec \
+- $(INSTALL_DATA) AUTHORS COPYING INSTALL ChangeLog NEWS \
+- README README.packaging bless.spec \
- $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)
-+ $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
-
+-
uninstall-local:
rm -rf $(DESTDIR)$(libdir)/$(PACKAGE_NAME)
-diff --git a/data/Makefile.am b/data/Makefile.am
-index 13ea7ed..207c17a 100644
---- a/data/Makefile.am
-+++ b/data/Makefile.am
-@@ -12,7 +12,7 @@ PWD=$(shell pwd)
- help_script.sh: help_script.tmpl
- sed -e 's,@blessdocdir\@,$(PWD)/../doc,g' help_script.tmpl > help_script.sh
- chmod +x help_script.sh
-- sed -e 's,@blessdocdir\@,$(datadir)/doc/$(PACKAGE_NAME),g' help_script.tmpl > help_script.sh.install
-+ sed -e 's,@blessdocdir\@,$(datadir)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION),g' help_script.tmpl > help_script.sh.install
-
- install-data-local:
- $(INSTALL) -d $(DESTDIR)$(datadir)/$(PACKAGE_NAME)
diff --git a/doc/Makefile.am b/doc/Makefile.am
-index b18e94a..c0e700d 100644
+index b18e94a..d7eecc6 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
-@@ -1,4 +1,4 @@
+@@ -1,4 +1 @@
SUBDIRS= developer user
-
- uninstall-local:
+-
+-uninstall-local:
- rm -rf $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)
-+ rm -rf $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
-diff --git a/doc/developer/Makefile.am b/doc/developer/Makefile.am
-index 65911f8..c13f216 100644
---- a/doc/developer/Makefile.am
-+++ b/doc/developer/Makefile.am
-@@ -4,8 +4,8 @@ DOCS=$(srcdir)/en/*.xml \
- EXTRA_DIST=$(DOCS) bless-docs.source
-
- #install-data-local:
--# $(INSTALL) -d $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)/developer
--# $(INSTALL_DATA) $(MD_FILES) $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)/developer
-+# $(INSTALL) -d $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/developer
-+# $(INSTALL_DATA) $(MD_FILES) $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/developer
-
- #uninstall-local:
--# rm -rf $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)/developer
-+# rm -rf $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/developer
diff --git a/doc/user/Makefile.am b/doc/user/Makefile.am
-index 729b295..b1d371d 100644
+index 729b295..58a1358 100644
--- a/doc/user/Makefile.am
+++ b/doc/user/Makefile.am
-@@ -10,7 +10,7 @@ noinst_SCRIPTS=$(OMF)
+@@ -7,6 +7,11 @@ CLEANFILES=$(OMF)
+
+ noinst_SCRIPTS=$(OMF)
+
++docmandir=$(docdir)/user
++docfigsdir=$(docmandir)/figures
++
++docfigs_DATA=$(FIGURES)
++docman_DATA=$(DOCS) $(wildcard *.html)
$(OMF): $(OMF).in
if [ -x `which scrollkeeper-preinstall` ]; then \
-- scrollkeeper-preinstall file:$(datadir)/doc/$(PACKAGE_NAME)/user/bless-manual.xml $(OMF).in $(OMF); \
-+ scrollkeeper-preinstall file:$(datadir)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/user/bless-manual.xml $(OMF).in $(OMF); \
- else \
- cp $(OMF).in $(OMF); \
- fi
-@@ -27,22 +27,22 @@ dist-hook: doc
+@@ -27,11 +32,6 @@ dist-hook: doc
rm html_file_list
install-data-local:
- $(INSTALL) -d $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)/user
- $(INSTALL) -d $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)/user/figures
-+ $(INSTALL) -d $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/user
-+ $(INSTALL) -d $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/user/figures
- $(INSTALL_DATA) $(DOCS) $(wildcard *.html) \
+- $(INSTALL_DATA) $(DOCS) $(wildcard *.html) \
- $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)/user
- $(INSTALL_DATA) $(FIGURES) $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)/user/figures
-- $(INSTALL) -d $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)
-- $(INSTALL_DATA) $(OMF) $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)
-+ $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/user
-+ $(INSTALL_DATA) $(FIGURES) $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/user/figures
-+ $(INSTALL) -d $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
-+ $(INSTALL_DATA) $(OMF) $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
+ $(INSTALL) -d $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)
+ $(INSTALL_DATA) $(OMF) $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)
if WITH_SCROLLKEEPER
-- scrollkeeper-update -o $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)
-+ scrollkeeper-update -o $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
+@@ -39,7 +39,6 @@ if WITH_SCROLLKEEPER
endif
uninstall-local:
- rm -rf $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)/user
-- rm $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)/$(OMF)
-+ rm -rf $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/user
-+ rm $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/$(OMF)
+ rm $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)/$(OMF)
if WITH_SCROLLKEEPER
-- scrollkeeper-update -o $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)
-+ scrollkeeper-update -o $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
- endif
-- rm -rf $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)
-+ rm -rf $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
-
+ scrollkeeper-update -o $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)