--- mit-scheme-doc-7.7.90+20080130.orig/debian/control
+++ mit-scheme-doc-7.7.90+20080130/debian/control
@@ -0,0 +1,21 @@
+Source: mit-scheme-doc
+Section: non-free/doc
+Priority: optional
+Maintainer: Chris Hanson <cph@debian.org>
+Build-Depends: debhelper (>> 5.0.0)
+Build-Depends-Indep: texinfo
+Standards-Version: 3.7.3
+
+Package: mit-scheme-doc
+Architecture: all
+Enhances: mit-scheme (= ${source:Version})
+Conflicts: mit-scheme (<< 7.7.90+20060414-0)
+Replaces: mit-scheme (<< 7.7.90+20060414-0)
+Description: MIT/GNU Scheme documentation
+ MIT/GNU Scheme is an implementation of the Scheme programming language,
+ providing an interpreter, compiler, source-code debugger, integrated
+ Emacs-like editor, and a large runtime library.  MIT/GNU Scheme is best
+ suited to programming large applications with a rapid development
+ cycle.
+ .
+ This package contains documentation in Info, HTML, and PDF formats.
--- mit-scheme-doc-7.7.90+20080130.orig/debian/mit-scheme-doc.doc-base.ref
+++ mit-scheme-doc-7.7.90+20080130/debian/mit-scheme-doc.doc-base.ref
@@ -0,0 +1,13 @@
+Document: mit-scheme-ref
+Title: MIT/GNU Scheme Reference Manual
+Author: Chris Hanson
+Abstract: A detailed description of the MIT/GNU Scheme runtime system.
+ This is intended to be a reference document for programmers.
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/mit-scheme-doc/html/mit-scheme-ref/index.html
+Files: /usr/share/doc/mit-scheme-doc/html/mit-scheme-ref/*.html
+
+Format: pdf
+Files: /usr/share/doc/mit-scheme-doc/pdf/mit-scheme-ref.pdf.gz
--- mit-scheme-doc-7.7.90+20080130.orig/debian/copyright
+++ mit-scheme-doc-7.7.90+20080130/debian/copyright
@@ -0,0 +1,30 @@
+This package was debianized by Chris Hanson <cph@debian.org> on
+Sat, 15 Apr 2006 21:31:48 -0400.
+
+It was downloaded from http://www.gnu.org/software/mit-scheme/
+
+Upstream Author: Chris Hanson <cph@debian.org>
+
+Copyright:
+
+   The MIT/GNU Scheme Reference Manual and related manuals are
+   Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1999, 2000,
+   2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Massachusetts
+   Institute of Technology, 77 Massachusetts Avenue, Cambridge MA
+   02139, USA.  They are released under the GNU Free Documentation
+   License.  On Debian GNU/Linux systems, the complete text of the GNU
+   Free Documentation License can be found in
+   `/usr/share/common-licenses/GFDL'.
+
+   ----------------------------------------------------------------
+
+   Permission is granted to copy, distribute and/or modify these
+   documents under the terms of the GNU Free Documentation License,
+   Version 1.2 or any later version published by the Free Software
+   Foundation; with no Invariant Sections, with the Front-Cover Texts
+   being "A GNU Manual," and with the Back-Cover Texts as in (a)
+   below.
+
+   (a) The FSF's Back-Cover Text is: "You have freedom to copy and
+   modify this GNU Manual, like GNU software.  Copies published by the
+   Free Software Foundation raise funds for GNU development."
--- mit-scheme-doc-7.7.90+20080130.orig/debian/mit-scheme-doc.info
+++ mit-scheme-doc-7.7.90+20080130/debian/mit-scheme-doc.info
@@ -0,0 +1,4 @@
+doc/imail/mit-scheme-imail.info*
+doc/ref-manual/mit-scheme-ref.info*
+doc/sos/mit-scheme-sos.info*
+doc/user-manual/mit-scheme-user.info*
--- mit-scheme-doc-7.7.90+20080130.orig/debian/mit-scheme-doc.postrm
+++ mit-scheme-doc-7.7.90+20080130/debian/mit-scheme-doc.postrm
@@ -0,0 +1,33 @@
+#!/bin/sh
+# postrm script for mit-scheme
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postrm> `remove'
+#        * <postrm> `purge'
+#        * <old-postrm> `upgrade' <new-version>
+#        * <new-postrm> `failed-upgrade' <old-version>
+#        * <new-postrm> `abort-install'
+#        * <new-postrm> `abort-install' <old-version>
+#        * <new-postrm> `abort-upgrade' <old-version>
+#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+# for details, see /usr/share/doc/packaging-manual/
+
+case "${1}" in
+(purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+    ;;
+(*)
+    echo "postrm called with unknown argument \"${1}\"" >&2
+    exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
--- mit-scheme-doc-7.7.90+20080130.orig/debian/mit-scheme-doc.preinst
+++ mit-scheme-doc-7.7.90+20080130/debian/mit-scheme-doc.preinst
@@ -0,0 +1,30 @@
+#!/bin/sh
+# preinst script for mit-scheme
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <new-preinst> `install'
+#        * <new-preinst> `install' <old-version>
+#        * <new-preinst> `upgrade' <old-version>
+#        * <old-preinst> `abort-upgrade' <new-version>
+#
+# For details see /usr/share/doc/packaging-manual/
+
+case "${1}" in
+(install|upgrade|abort-upgrade)
+    ;;
+(*)
+    echo "preinst called with unknown argument \"${1}\"" >&2
+    exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
--- mit-scheme-doc-7.7.90+20080130.orig/debian/mit-scheme-doc.doc-base.imail
+++ mit-scheme-doc-7.7.90+20080130/debian/mit-scheme-doc.doc-base.imail
@@ -0,0 +1,15 @@
+Document: mit-scheme-imail
+Title: IMAIL User's Manual
+Author: Chris Hanson
+Abstract: IMAIL is program for reading electronic mail.
+ IMAIL runs inside of Edwin, MIT/GNU Scheme's Emacs-like editor, and
+ is intended to be similar to Rmail while providing support for IMAP
+ and MIME.  This manual describes how to use IMAIL.
+Section: Apps/Net
+
+Format: HTML
+Index: /usr/share/doc/mit-scheme-doc/html/mit-scheme-imail/index.html
+Files: /usr/share/doc/mit-scheme-doc/html/mit-scheme-imail/*.html
+
+Format: pdf
+Files: /usr/share/doc/mit-scheme-doc/pdf/mit-scheme-imail.pdf.gz
--- mit-scheme-doc-7.7.90+20080130.orig/debian/mit-scheme-doc.postinst
+++ mit-scheme-doc-7.7.90+20080130/debian/mit-scheme-doc.postinst
@@ -0,0 +1,39 @@
+#!/bin/sh
+# postinst script for mit-scheme
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see /usr/share/doc/packaging-manual/
+#
+# quoting from the policy:
+#     Any necessary prompting should almost always be confined to the
+#     post-installation script, and should be protected with a conditional
+#     so that unnecessary prompting doesn't happen if a package's
+#     installation fails and the `postinst' is called with `abort-upgrade',
+#     `abort-remove' or `abort-deconfigure'.
+
+case "${1}" in
+(configure|abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+(*)
+    echo "postinst called with unknown argument \"${1}\"" >&2
+    exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
--- mit-scheme-doc-7.7.90+20080130.orig/debian/mit-scheme-doc.prerm
+++ mit-scheme-doc-7.7.90+20080130/debian/mit-scheme-doc.prerm
@@ -0,0 +1,32 @@
+#!/bin/sh
+# prerm script for mit-scheme
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see /usr/share/doc/packaging-manual/
+
+case "${1}" in
+(upgrade|remove|failed-upgrade|deconfigure)
+    ;;
+(*)
+    echo "prerm called with unknown argument \"${1}\"" >&2
+    exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
--- mit-scheme-doc-7.7.90+20080130.orig/debian/mit-scheme-doc.doc-base.user
+++ mit-scheme-doc-7.7.90+20080130/debian/mit-scheme-doc.doc-base.user
@@ -0,0 +1,18 @@
+Document: mit-scheme-user
+Title: MIT/GNU Scheme User's Manual
+Author: Stephen Adams and Chris Hanson
+Abstract: This document describes how to install and use MIT/GNU Scheme.
+ It gives installation instructions for all of the platforms that we
+ support; complete documentation of the command-line options and
+ environment variables that control how Scheme works; and rudimentary
+ descriptions of how to interact with the evaluator, compile and debug
+ programs, and use the editor.  The release notes are included as an
+ appendix.
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/mit-scheme-doc/html/mit-scheme-user/index.html
+Files: /usr/share/doc/mit-scheme-doc/html/mit-scheme-user/*.html
+
+Format: pdf
+Files: /usr/share/doc/mit-scheme-doc/pdf/mit-scheme-user.pdf.gz
--- mit-scheme-doc-7.7.90+20080130.orig/debian/changelog
+++ mit-scheme-doc-7.7.90+20080130/debian/changelog
@@ -0,0 +1,50 @@
+mit-scheme-doc (7.7.90+20080130-1) unstable; urgency=low
+
+  * New upstream.
+  * debian/copyright: update copyright dates and refer to standard copy of
+    GFDL in common-licenses.
+  * debian/control: bump standards-version to 3.7.3.
+
+ -- Chris Hanson <cph@debian.org>  Wed, 30 Jan 2008 20:45:17 -0500
+
+mit-scheme-doc (7.7.90+20070909-1) unstable; urgency=low
+
+  * New upstream.
+
+ -- Chris Hanson <cph@debian.org>  Fri, 28 Sep 2007 22:12:08 -0400
+
+mit-scheme-doc (7.7.90+20070820-1) unstable; urgency=low
+
+  * New upstream.
+
+ -- Chris Hanson <cph@debian.org>  Tue, 21 Aug 2007 13:54:24 -0400
+
+mit-scheme-doc (7.7.90+20070623-1) unstable; urgency=low
+
+  * New upstream.
+  * debian/rules: fix lintian warning about "make distclean".
+
+ -- Chris Hanson <cph@debian.org>  Sun, 24 Jun 2007 00:04:05 -0400
+
+mit-scheme-doc (7.7.90+20070205-1) unstable; urgency=low
+
+  * New upstream.
+  * debian/control: remove explicit tetex dependencies; texinfo indirectly
+    provides adequate dependencies.
+
+ -- Chris Hanson <cph@debian.org>  Mon, 5 Feb 2007 13:33:43 -0500
+
+mit-scheme-doc (7.7.90+20060906-1) unstable; urgency=low
+
+  * New upstream version.
+  * Add debian/watch file.
+  * Use debhelper v5.
+  * Bump standards-version (no changes).
+
+ -- Chris Hanson <cph@debian.org>  Sat,  9 Sep 2006 20:53:46 -0400
+
+mit-scheme-doc (7.7.90+20060414-1) unstable; urgency=low
+
+  * Split off from mit-scheme package.
+
+ -- Chris Hanson <cph@debian.org>  Sat, 15 Apr 2006 21:29:50 -0400
--- mit-scheme-doc-7.7.90+20080130.orig/debian/watch
+++ mit-scheme-doc-7.7.90+20080130/debian/watch
@@ -0,0 +1,5 @@
+version=3
+opts="dversionmangle=s/^([\d\.]+)\+([\d]+)$/$2/" \
+  http://ftp.gnu.org/gnu/mit-scheme/snapshot.pkg/([\d]+)/mit-scheme-([\d]+)\.tar\.(?:gz|bz2) debian uupdate
+#http://ftp.gnu.org/gnu/mit-scheme/testing.pkg/([\d\.]+)/mit-scheme-([\d\.]+)\.tar\.(?:gz|bz2) debian uupdate
+#http://ftp.gnu.org/gnu/mit-scheme/stable.pkg/([\d\.]+)/mit-scheme-([\d\.]+)(?:-src)?\.tar\.(?:gz|bz2) debian uupdate
--- mit-scheme-doc-7.7.90+20080130.orig/debian/rules
+++ mit-scheme-doc-7.7.90+20080130/debian/rules
@@ -0,0 +1,74 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+DESTDIR := $(shell pwd)/debian/mit-scheme-doc
+
+PREFIX = /usr
+INFODIR = $(PREFIX)/share/info
+MANDIR = $(PREFIX)/share/man
+DOCDIR = $(PREFIX)/share/doc/mit-scheme-doc
+HTMLDIR = $(DOCDIR)/html
+PDFDIR = $(DOCDIR)/pdf
+
+INSTALL = install --preserve-timestamps
+
+CONF_FLAGS := --prefix=$(PREFIX) --mandir=$(MANDIR) --infodir=$(INFODIR) \
+	--enable-html=$(HTMLDIR) --enable-pdf=$(PDFDIR) --enable-ps=no
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	cd doc; ./configure $(CONF_FLAGS)
+	touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp:
+	dh_testdir
+	$(MAKE)
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	[ ! -f doc/Makefile ] || $(MAKE) distclean
+	rm -f build-stamp configure-stamp
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	cd doc;$(MAKE) install-html DESTDIR=$(DESTDIR)
+	cd doc;$(MAKE) install-pdf DESTDIR=$(DESTDIR)
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs doc/ChangeLog
+	dh_installdocs
+	dh_installexamples
+#	dh_installcatalogs
+	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture-dependent files here.
+binary-arch: build install
+# We have nothing to do by default.
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- mit-scheme-doc-7.7.90+20080130.orig/debian/compat
+++ mit-scheme-doc-7.7.90+20080130/debian/compat
@@ -0,0 +1 @@
+5
--- mit-scheme-doc-7.7.90+20080130.orig/debian/mit-scheme-doc.doc-base.sos
+++ mit-scheme-doc-7.7.90+20080130/debian/mit-scheme-doc.doc-base.sos
@@ -0,0 +1,13 @@
+Document: mit-scheme-sos
+Title: The SOS Manual
+Author: Chris Hanson
+Abstract: SOS is an object-oriented programming extension for MIT/GNU Scheme.
+ This document is a reference manual for SOS.
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/mit-scheme-doc/html/mit-scheme-sos/index.html
+Files: /usr/share/doc/mit-scheme-doc/html/mit-scheme-sos/*.html
+
+Format: pdf
+Files: /usr/share/doc/mit-scheme-doc/pdf/mit-scheme-sos.pdf.gz