summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <opfer@gentoo.org>2006-11-07 07:16:53 +0000
committerChristian Faulhammer <opfer@gentoo.org>2006-11-07 07:16:53 +0000
commite61577079f532efec8d21dda43700816f9993b54 (patch)
tree5ab614aee2f1636699a75563be49226806a7fb30 /app-shells/scsh/files
parentreverted to ~x86, not secure to turn it to stable, sorry tsunam (diff)
downloadgentoo-2-e61577079f532efec8d21dda43700816f9993b54.tar.gz
gentoo-2-e61577079f532efec8d21dda43700816f9993b54.tar.bz2
gentoo-2-e61577079f532efec8d21dda43700816f9993b54.zip
recreated Makefile patch to install into the correct directory for version 0.6.7
(Portage version: 2.1.1-r1)
Diffstat (limited to 'app-shells/scsh/files')
-rw-r--r--app-shells/scsh/files/0.6.7-Makefile.in-doc-dir-gentoo.patch93
1 files changed, 93 insertions, 0 deletions
diff --git a/app-shells/scsh/files/0.6.7-Makefile.in-doc-dir-gentoo.patch b/app-shells/scsh/files/0.6.7-Makefile.in-doc-dir-gentoo.patch
new file mode 100644
index 000000000000..6ec949bb115d
--- /dev/null
+++ b/app-shells/scsh/files/0.6.7-Makefile.in-doc-dir-gentoo.patch
@@ -0,0 +1,93 @@
+--- Makefile.in.orig 2004-09-24 01:43:55.743685848 +0200
++++ Makefile.in 2004-09-24 01:43:55.745685544 +0200
+@@ -33,7 +33,7 @@
+ host = @host@
+ ### End of `configure' section###
+
+-htmldir = $(libdir)/scsh/doc/scsh-manual/html
++htmldir = /usr/share/doc/scsh-0.6.7/scsh-manual/html
+
+ # HP 9000 series, if you don't have gcc
+ # CC = cc
+@@ -358,38 +358,38 @@
+ done
+
+ inst-doc:
+- for f in $(srcdir)/doc/*.txt $(srcdir)/doc/*.ps; do \
+- $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/; \
++ for f in $(srcdir)/doc/*.txt $(srcdir)/doc/*.ps; do \
++ $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/; \
+ done && \
+ for f in $(srcdir)/doc/src/*.tex \
+ $(srcdir)/doc/src/*.dvi \
+ $(srcdir)/doc/src/*.ps; \
+- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/s48-manual/; \
++ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/s48-manual/;\
+ done && \
+ for f in $(srcdir)/doc/src/manual/*.html; \
+- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/s48-manual/html/; \
++ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/s48-manual/html/;\
+ done && \
+ for f in $(srcdir)/doc/scsh-manual/*.tex \
+ $(srcdir)/doc/scsh-manual/*.sty \
+ $(srcdir)/doc/scsh-manual/*.dvi \
+ $(srcdir)/doc/scsh-manual/*.ps \
+ $(srcdir)/doc/scsh-manual/*.pdf; \
+- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/scsh-manual/; \
++ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/scsh-manual/;\
+ done && \
+ for f in $(srcdir)/doc/scsh-manual/html/*.html \
+ $(srcdir)/doc/scsh-manual/html/*.gif \
+ $(srcdir)/doc/scsh-manual/html/*.css; \
+- do $(INSTALL_DATA) $$f $(DESTDIR)$(htmldir)/; \
++ do $(INSTALL_DATA) $$f $(DESTDIR)$(htmldir)/; \
+ done && \
+ for f in $(srcdir)/doc/scsh-paper/*.tex \
+ $(srcdir)/doc/scsh-paper/*.sty \
+ $(srcdir)/doc/scsh-paper/*.dvi \
+ $(srcdir)/doc/scsh-paper/*.ps; \
+- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/scsh-paper/; \
++ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/scsh-paper/; \
+ done && \
+ for f in $(srcdir)/doc/scsh-paper/html/*.html \
+ $(srcdir)/doc/scsh-paper/html/*.css; \
+- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/scsh-paper/html; \
++ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/scsh-paper/html/;\
+ done
+
+
+@@ -412,19 +412,21 @@
+ chmod +x $@
+
+ dirs:
+- for dir in $(libdir) $(bindir) $(incdir) $(LIB) $(mandir) $(htmldir); do\
+- { mkdir -p $(DESTDIR)$$dir && [ -w $(DESTDIR)$$dir ]; } || { \
+- echo "$(DESTDIR)$$dir not a writable directory" >&2; \
+- exit 1; \
+- } \
+- done && \
+- for dir in \
+- rts env big opt misc link srfi scsh doc/scsh-manual \
+- doc/s48-manual/html doc/scsh-paper/html cig; do \
+- { mkdir -p $(DESTDIR)$(LIB)/$$dir && [ -w $(DESTDIR)$(LIB)/$$dir ]; } || { \
+- echo "$(DESTDIR)$(LIB)/$$dir not a writable directory" >&2; \
+- exit 1; \
+- }; \
++ for dir in $(libdir) $(bindir) $(incdir) $(LIB) $(mandir) $(htmldir); \
++ do \
++ { mkdir -p $(DESTDIR)$$dir && [ -w $(DESTDIR)$$dir ]; } \
++ || { echo "$(DESTDIR)$$dir not a writable directory" >&2; exit 1; }; \
++ done && \
++ for dir in rts env big opt misc link srfi scsh; \
++ do \
++ { mkdir -p $(DESTDIR)$(LIB)/$$dir && [ -w $(DESTDIR)$(LIB)/$$dir ];} \
++ || { echo "$(DESTDIR)$(LIB)/$$dir not a writable directory" >&2; exit 1;};\
++ done && \
++ for dir in \
++ scsh-manual/html s48-manual/html scsh-paper/html cig; do \
++ { mkdir -p $(DESTDIR)/usr/share/doc/scsh-0.6.7/$$dir; } \
++ || { echo "mkdir -p $(DESTDIR)/usr/share/doc/scsh-0.6.7/$$dir failed" >&2;\
++ exit 1;}; \
+ done
+
+ configure: configure.in