--- gt3-dcl5-20000124.orig/debian/README.Debian
+++ gt3-dcl5-20000124/debian/README.Debian
@@ -0,0 +1,6 @@
+gt3-dcl5 for Debian
+----------------------
+
+<possible notes regarding this package - if none, delete this file>
+
+ -- TAKEHIRO Shin-ichi <takepiro@gfd-dennou.org>, Sun,  5 Nov 2000 22:07:02 +0900
--- gt3-dcl5-20000124.orig/debian/changelog
+++ gt3-dcl5-20000124/debian/changelog
@@ -0,0 +1,9 @@
+gt3-dcl5 (20000124-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- TAKEHIRO Shin-ichi <takepiro@gfd-dennou.org>  Sun,  5 Nov 2000 22:07:02 +0900
+
+Local variables:
+mode: debian-changelog
+End:
--- gt3-dcl5-20000124.orig/debian/copyright
+++ gt3-dcl5-20000124/debian/copyright
@@ -0,0 +1,10 @@
+This package was debianized by TAKEHIRO Shin-ichi <takepiro@gfd-dennou.org> on
+Sun,  5 Nov 2000 22:07:02 +0900.
+
+It was downloaded from <fill in ftp site>
+
+Upstream Author(s): <put author(s) name and email here>
+
+Copyright:
+
+<Must follow here>
--- gt3-dcl5-20000124.orig/debian/cron.d.ex
+++ gt3-dcl5-20000124/debian/cron.d.ex
@@ -0,0 +1,4 @@
+#
+# Regular cron jobs for the gt3-dcl5 package
+#
+0 4	* * *	root	gt3-dcl5_maintenance
--- gt3-dcl5-20000124.orig/debian/dirs
+++ gt3-dcl5-20000124/debian/dirs
@@ -0,0 +1 @@
+usr/bin
--- gt3-dcl5-20000124.orig/debian/emacsen-install.ex
+++ gt3-dcl5-20000124/debian/emacsen-install.ex
@@ -0,0 +1,45 @@
+#! /bin/sh -e
+# /usr/lib/emacsen-common/packages/install/gt3-dcl5
+
+# Written by Jim Van Zandt <jrv@vanzandt.mv.com>, borrowing heavily
+# from the install scripts for gettext by Santiago Vila
+# <sanvila@ctv.es> and octave by Dirk Eddelbuettel <edd@debian.org>.
+
+FLAVOR=$1
+PACKAGE=gt3-dcl5
+
+if [ ${FLAVOR} = emacs ]; then exit 0; fi
+
+echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}
+
+#FLAVORTEST=`echo $FLAVOR | cut -c-6`
+#if [ ${FLAVORTEST} = xemacs ] ; then
+#    SITEFLAG="-no-site-file"
+#else
+#    SITEFLAG="--no-site-file"
+#fi
+FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile"
+
+ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}
+ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+
+# Install-info-altdir does not actually exist. 
+# Maybe somebody will write it.
+if test -x /usr/sbin/install-info-altdir; then
+    echo install/${PACKAGE}: install Info links for ${FLAVOR}
+    install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/info/${PACKAGE}.info.gz
+fi
+
+install -m 755 -d ${ELCDIR}
+cd ${ELDIR}
+FILES=`echo *.el`
+cp ${FILES} ${ELCDIR}
+cd ${ELCDIR}
+
+cat << EOF > path.el
+(setq load-path (cons "." load-path) byte-compile-warnings nil)
+EOF
+${FLAVOR} ${FLAGS} ${FILES}
+rm -f *.el path.el
+
+exit 0
--- gt3-dcl5-20000124.orig/debian/emacsen-remove.ex
+++ gt3-dcl5-20000124/debian/emacsen-remove.ex
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+# /usr/lib/emacsen-common/packages/remove/gt3-dcl5
+
+FLAVOR=$1
+PACKAGE=gt3-dcl5
+
+if [ ${FLAVOR} != emacs ]; then
+    if test -x /usr/sbin/install-info-altdir; then
+        echo remove/${PACKAGE}: removing Info links for ${FLAVOR}
+        install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/gt3-dcl5.info.gz
+    fi
+
+    echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
+    rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+fi
--- gt3-dcl5-20000124.orig/debian/emacsen-startup.ex
+++ gt3-dcl5-20000124/debian/emacsen-startup.ex
@@ -0,0 +1,16 @@
+;; -*-emacs-lisp-*-
+;;
+;; Emacs startup file for the Debian GNU/Linux gt3-dcl5 package
+;;
+;; Originally contributed by Nils Naumann <naumann@unileoben.ac.at>
+;; Modified by Dirk Eddelbuettel <edd@debian.org>
+;; Adapted for dh-make by Jim Van Zandt <jrv@vanzandt.mv.com>
+
+;; The gt3-dcl5 package follows the Debian/GNU Linux 'emacsen' policy and
+;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
+;; xemacs19, emacs20, xemacs20...).  The compiled code is then
+;; installed in a subdirectory of the respective site-lisp directory.
+;; We have to add this to the load-path:
+(setq load-path (nconc load-path (list (concat "/usr/share/"
+                                               (symbol-name flavor)
+                                               "/site-lisp/gt3-dcl5"))))
--- gt3-dcl5-20000124.orig/debian/ex.doc-base.package
+++ gt3-dcl5-20000124/debian/ex.doc-base.package
@@ -0,0 +1,22 @@
+Document: gt3-dcl5
+Title: Debian gt3-dcl5 Manual
+Author: <insert document author here>
+Abstract: This manual describes what gt3-dcl5 is
+ and how it can be used to
+ manage online manuals on Debian systems.
+Section: unknown
+
+Format: debiandoc-sgml
+Files: /usr/doc/gt3-dcl5/gt3-dcl5.sgml.gz
+
+Format: postscript
+Files: /usr/doc/gt3-dcl5/gt3-dcl5.ps.gz
+
+Format: text
+Files: /usr/doc/gt3-dcl5/gt3-dcl5.text.gz
+
+Format: HTML
+Index: /usr/doc/gt3-dcl5/html/index.html
+Files: /usr/doc/gt3-dcl5/html/*.html
+
+  
--- gt3-dcl5-20000124.orig/debian/init.d.ex
+++ gt3-dcl5-20000124/debian/init.d.ex
@@ -0,0 +1,70 @@
+#! /bin/sh
+#
+# skeleton	example file to build /etc/init.d/ scripts.
+#		This file should be used to construct scripts for /etc/init.d.
+#
+#		Written by Miquel van Smoorenburg <miquels@cistron.nl>.
+#		Modified for Debian GNU/Linux
+#		by Ian Murdock <imurdock@gnu.ai.mit.edu>.
+#
+# Version:	@(#)skeleton  1.8  03-Mar-1998  miquels@cistron.nl
+#
+# This file was automatically customized by dh-make on Sun,  5 Nov 2000 22:07:02 +0900
+
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/sbin/gt3-dcl5
+NAME=gt3-dcl5
+DESC=gt3-dcl5
+
+test -f $DAEMON || exit 0
+
+set -e
+
+case "$1" in
+  start)
+	echo -n "Starting $DESC: "
+	start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
+		--exec $DAEMON
+	echo "$NAME."
+	;;
+  stop)
+	echo -n "Stopping $DESC: "
+	start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
+		--exec $DAEMON
+	echo "$NAME."
+	;;
+  #reload)
+	#
+	#	If the daemon can reload its config files on the fly
+	#	for example by sending it SIGHUP, do it here.
+	#
+	#	If the daemon responds to changes in its config file
+	#	directly anyway, make this a do-nothing entry.
+	#
+	# echo "Reloading $DESC configuration files."
+	# start-stop-daemon --stop --signal 1 --quiet --pidfile \
+	#	/var/run/$NAME.pid --exec $DAEMON
+  #;;
+  restart|force-reload)
+	#
+	#	If the "reload" option is implemented, move the "force-reload"
+	#	option to the "reload" entry above. If not, "force-reload" is
+	#	just the same as "restart".
+	#
+	echo -n "Restarting $DESC: "
+	start-stop-daemon --stop --quiet --pidfile \
+		/var/run/$NAME.pid --exec $DAEMON
+	sleep 1
+	start-stop-daemon --start --quiet --pidfile \
+		/var/run/$NAME.pid --exec $DAEMON
+	echo "$NAME."
+	;;
+  *)
+	N=/etc/init.d/$NAME
+	# echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
+	echo "Usage: $N {start|stop|restart|force-reload}" >&2
+	exit 1
+	;;
+esac
+
+exit 0
--- gt3-dcl5-20000124.orig/debian/manpage.1.ex
+++ gt3-dcl5-20000124/debian/manpage.1.ex
@@ -0,0 +1,60 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH GT3-DCL5 SECTION "November  5, 2000"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+gt3-dcl5 \- program to do something
+.SH SYNOPSIS
+.B gt3-dcl5
+.RI [ options ] " files" ...
+.br
+.B bar
+.RI [ options ] " files" ...
+.SH DESCRIPTION
+This manual page documents briefly the
+.B gt3-dcl5
+and
+.B bar
+commands.
+This manual page was written for the Debian GNU/Linux distribution
+because the original program does not have a manual page.
+Instead, it has documentation in the GNU Info format; see below.
+.PP
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
+.\" respectively.
+\fBgt3-dcl5\fP is a program that...
+.SH OPTIONS
+These programs follow the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+A summary of options is included below.
+For a complete description, see the Info files.
+.TP
+.B \-h, \-\-help
+Show summary of options.
+.TP
+.B \-v, \-\-version
+Show version of program.
+.SH SEE ALSO
+.BR bar (1),
+.BR baz (1).
+.br
+The programs are documented fully by
+.IR "The Rise and Fall of a Fooish Bar" ,
+available via the Info system.
+.SH AUTHOR
+This manual page was written by TAKEHIRO Shin-ichi <takepiro@gfd-dennou.org>,
+for the Debian GNU/Linux system (but may be used by others).
--- gt3-dcl5-20000124.orig/debian/menu.ex
+++ gt3-dcl5-20000124/debian/menu.ex
@@ -0,0 +1,2 @@
+?package(gt3-dcl5):needs=X11|text|vc|wm section=Apps/see-menu-manual\
+  title="gt3-dcl5" command="/usr/bin/gt3-dcl5"
--- gt3-dcl5-20000124.orig/debian/postinst.ex
+++ gt3-dcl5-20000124/debian/postinst.ex
@@ -0,0 +1,47 @@
+#! /bin/sh
+# postinst script for gt3-dcl5
+#
+# 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/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 0
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
--- gt3-dcl5-20000124.orig/debian/postrm.ex
+++ gt3-dcl5-20000124/debian/postrm.ex
@@ -0,0 +1,38 @@
+#! /bin/sh
+# postrm script for gt3-dcl5
+#
+# 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/doc/packaging-manual/
+
+case "$1" in
+       purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+                                # update the menu system
+#        if [ -x /usr/bin/update-menus ]; then update-menus; fi
+
+        ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 0
+
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+
--- gt3-dcl5-20000124.orig/debian/preinst.ex
+++ gt3-dcl5-20000124/debian/preinst.ex
@@ -0,0 +1,40 @@
+#! /bin/sh
+# preinst script for gt3-dcl5
+#
+# 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>
+
+case "$1" in
+    install|upgrade)
+#        if [ "$1" = "upgrade" ]
+#        then
+#            start-stop-daemon --stop --quiet --oknodo  \
+#                --pidfile /var/run/gt3-dcl5.pid  \
+#                --exec /usr/sbin/gt3-dcl5 2>/dev/null || true
+#        fi
+    ;;
+
+    abort-upgrade)
+    ;;
+
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
--- gt3-dcl5-20000124.orig/debian/prerm.ex
+++ gt3-dcl5-20000124/debian/prerm.ex
@@ -0,0 +1,37 @@
+#! /bin/sh
+# prerm script for gt3-dcl5
+#
+# 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/doc/packaging-manual/
+
+case "$1" in
+    remove|upgrade|deconfigure)
+#       install-info --quiet --remove /usr/info/gt3-dcl5.info.gz
+        ;;
+    failed-upgrade)
+        ;;
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
--- gt3-dcl5-20000124.orig/debian/watch.ex
+++ gt3-dcl5-20000124/debian/watch.ex
@@ -0,0 +1,5 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# Site		Directory		Pattern			Version	Script
+sunsite.unc.edu	/pub/Linux/Incoming	gt3-dcl5-(.*)\.tar\.gz	debian	uupdate
--- gt3-dcl5-20000124.orig/debian/control
+++ gt3-dcl5-20000124/debian/control
@@ -0,0 +1,11 @@
+Source: gt3-dcl5
+Section: unknown
+Priority: optional
+Maintainer: TAKEHIRO Shin-ichi <takepiro@gfd-dennou.org>
+Standards-Version: 3.0.1
+
+Package: gt3-dcl5
+Architecture: any
+Depends: dcl (>=5.2), ${shlibs:Depends}
+Description: gtool3 on dcl5 -- an analizing tool of 3-D grid data 
+ Please visit http://www.gfd-dennou.org/ (written in Japanese)
--- gt3-dcl5-20000124.orig/debian/rules
+++ gt3-dcl5-20000124/debian/rules
@@ -0,0 +1,146 @@
+#!/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
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=1
+
+# For Fujitsu Fortran & C. You have to install ffc package. 
+#   Please copy control.ffc to control. 
+#PACKAGE=gt3-dcl5-ffc
+#PREFIXLIB=gt3-dcl5-ffc
+#CC=fcc
+#FC=frt
+
+# For GNU Fortran. 
+#   Please copy control.g77 to control. 
+PACKAGE=gt3-dcl5
+PREFIXLIB=gt3-dcl5
+CC=gcc
+FC=g77
+
+export CC
+export FC
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE) GTOOLDIR=`pwd`
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) clean.all
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs usr/lib/$(PREFIXLIB)/bin usr/lib/$(PREFIXLIB)/lib usr/lib/$(PREFIXLIB)/include
+
+	# Add here commands to install the package into debian/tmp.
+	$(MAKE) install GTOOLDIR=`pwd`
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+#	dh_testversion
+	dh_testdir
+	dh_testroot
+#	dh_installdebconf	
+	dh_installdocs HISTORY.doc INSTALL CREDITS.tex STATUS.doc doc/howtoloo.doc doc/gokuraku doc/reference
+	dh_installexamples
+	dh_installmenu
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installinit
+	dh_installcron
+	dh_installmanpages
+	dh_installinfo
+#	dh_undocumented
+	dh_installchangelogs 
+	dh_link usr/lib/$(PREFIXLIB)/bin/gt3frt  usr/bin/gt3frt \
+		usr/lib/$(PREFIXLIB)/bin/gtb2l.pl usr/bin/gtb2l \
+		usr/lib/$(PREFIXLIB)/bin/gtb2l.pl usr/bin/gtl2b \
+		usr/lib/$(PREFIXLIB)/bin/gtadd usr/bin/gtadd \
+		usr/lib/$(PREFIXLIB)/bin/gtanim usr/bin/gtanim \
+		usr/lib/$(PREFIXLIB)/bin/gtavr usr/bin/gtavr \
+		usr/lib/$(PREFIXLIB)/bin/gtbpf usr/bin/gtbpf \
+		usr/lib/$(PREFIXLIB)/bin/gtcon usr/bin/gtcon \
+		usr/lib/$(PREFIXLIB)/bin/gtcont usr/bin/gtcont \
+		usr/lib/$(PREFIXLIB)/bin/gtcontex usr/bin/gtcontex \
+		usr/lib/$(PREFIXLIB)/bin/gtcrax usr/bin/gtcrax \
+		usr/lib/$(PREFIXLIB)/bin/gtcreate usr/bin/gtcreate \
+		usr/lib/$(PREFIXLIB)/bin/gtcurv usr/bin/gtcurv \
+		usr/lib/$(PREFIXLIB)/bin/gtdiv usr/bin/gtdiv \
+		usr/lib/$(PREFIXLIB)/bin/gtedy usr/bin/gtedy \
+		usr/lib/$(PREFIXLIB)/bin/gtext usr/bin/gtext \
+		usr/lib/$(PREFIXLIB)/bin/gtfixendian usr/bin/gtfixendian \
+		usr/lib/$(PREFIXLIB)/bin/gtfunc usr/bin/gtfunc \
+		usr/lib/$(PREFIXLIB)/bin/gthead usr/bin/gthead \
+		usr/lib/$(PREFIXLIB)/bin/gthydro usr/bin/gthydro \
+		usr/lib/$(PREFIXLIB)/bin/gtimis usr/bin/gtimis \
+		usr/lib/$(PREFIXLIB)/bin/gtint1 usr/bin/gtint1 \
+		usr/lib/$(PREFIXLIB)/bin/gtint2 usr/bin/gtint2 \
+		usr/lib/$(PREFIXLIB)/bin/gtintrp usr/bin/gtintrp \
+		usr/lib/$(PREFIXLIB)/bin/gtmark usr/bin/gtmark \
+		usr/lib/$(PREFIXLIB)/bin/gtmask usr/bin/gtmask \
+		usr/lib/$(PREFIXLIB)/bin/gtmetrics usr/bin/gtmetrics \
+		usr/lib/$(PREFIXLIB)/bin/gtmlt usr/bin/gtmlt \
+		usr/lib/$(PREFIXLIB)/bin/gtmxmn usr/bin/gtmxmn \
+		usr/lib/$(PREFIXLIB)/bin/gtonth2 usr/bin/gtonth2 \
+		usr/lib/$(PREFIXLIB)/bin/gtpv2 usr/bin/gtpv2 \
+		usr/lib/$(PREFIXLIB)/bin/gtqsat usr/bin/gtqsat \
+		usr/lib/$(PREFIXLIB)/bin/gtrelh usr/bin/gtrelh \
+		usr/lib/$(PREFIXLIB)/bin/gtrun usr/bin/gtrun \
+		usr/lib/$(PREFIXLIB)/bin/gts2p usr/bin/gts2p \
+		usr/lib/$(PREFIXLIB)/bin/gtscat usr/bin/gtscat \
+		usr/lib/$(PREFIXLIB)/bin/gtsel usr/bin/gtsel \
+		usr/lib/$(PREFIXLIB)/bin/gtseq usr/bin/gtseq \
+		usr/lib/$(PREFIXLIB)/bin/gtset usr/bin/gtset \
+		usr/lib/$(PREFIXLIB)/bin/gtshow usr/bin/gtshow \
+		usr/lib/$(PREFIXLIB)/bin/gtskelton usr/bin/gtskelton \
+		usr/lib/$(PREFIXLIB)/bin/gtslp usr/bin/gtslp \
+		usr/lib/$(PREFIXLIB)/bin/gtsqrt usr/bin/gtsqrt \
+		usr/lib/$(PREFIXLIB)/bin/gtstfilt usr/bin/gtstfilt \
+		usr/lib/$(PREFIXLIB)/bin/gtstrm usr/bin/gtstrm \
+		usr/lib/$(PREFIXLIB)/bin/gtstspct usr/bin/gtstspct \
+		usr/lib/$(PREFIXLIB)/bin/gtstspct_old usr/bin/gtstspct_old \
+		usr/lib/$(PREFIXLIB)/bin/gtsub usr/bin/gtsub \
+		usr/lib/$(PREFIXLIB)/bin/gttheta usr/bin/gttheta \
+		usr/lib/$(PREFIXLIB)/bin/gtthetae usr/bin/gtthetae \
+		usr/lib/$(PREFIXLIB)/bin/gttv usr/bin/gttv \
+		usr/lib/$(PREFIXLIB)/bin/gtvect usr/bin/gtvect \
+		usr/lib/$(PREFIXLIB)/bin/gtxpwspct usr/bin/gtxpwspct
+	dh_strip
+	dh_compress
+	dh_fixperms
+
+	# You may want to make some executables suid here.
+	dh_suidregister
+#	dh_makeshlibs
+	dh_installdeb
+#	dh_perl
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- gt3-dcl5-20000124.orig/debian/docs
+++ gt3-dcl5-20000124/debian/docs
@@ -0,0 +1 @@
+INSTALL
--- gt3-dcl5-20000124.orig/debian/control.g77
+++ gt3-dcl5-20000124/debian/control.g77
@@ -0,0 +1,11 @@
+Source: gt3-dcl5
+Section: unknown
+Priority: optional
+Maintainer: TAKEHIRO Shin-ichi <takepiro@gfd-dennou.org>
+Standards-Version: 3.0.1
+
+Package: gt3-dcl5
+Architecture: any
+Depends: dcl (>=5.2), ${shlibs:Depends}
+Description: gtool3 on dcl5 -- an analizing tool of 3-D grid data 
+ Please visit http://www.gfd-dennou.org/ (written in Japanese)
--- gt3-dcl5-20000124.orig/debian/control.ffc
+++ gt3-dcl5-20000124/debian/control.ffc
@@ -0,0 +1,11 @@
+Source: gt3-dcl5
+Section: unknown
+Priority: optional
+Maintainer: TAKEHIRO Shin-ichi <takepiro@gfd-dennou.org>
+Standards-Version: 3.0.1
+
+Package: gt3-dcl5-ffc
+Architecture: any
+Depends: ffc (>=2.0) | ffcpara (>=2.0), dcl-ffc (>=5.2), ${shlibs:Depends}
+Description: gtool3 on dcl5 -- an analizing tool of 3-D grid data 
+ Please visit http://www.gfd-dennou.org/ (written in Japanese)
--- gt3-dcl5-20000124.orig/debian/TEBIKI.gt3-dcl5.debian
+++ gt3-dcl5-20000124/debian/TEBIKI.gt3-dcl5.debian
@@ -0,0 +1,16 @@
+表題  gt3-dcl5 の debian 化
+
+履歴  2000/11/05  竹広真一
+
+●Deb パッケージの作り方
+
+  1. g77 or ffc(Fujitsu Fortran & C) のどちらかを選択
+
+     ・rules の先頭の変数を選択
+     ・control ファイルを選択. ffc なら control.ffc を control にコピー
+     ・Mkinclude を選択. ffc なら Mkinclude.debian-ffc を Mkinclude にコピー
+
+  2. build
+
+     % dpkg-buildpackage -rsudo -us -uc
+
--- gt3-dcl5-20000124.orig/Mkinclude
+++ gt3-dcl5-20000124/Mkinclude
@@ -15,12 +15,13 @@
 ###SYSTEM		= UXP
 ###SYSTEM		= SX3
 ###SYSTEM		= HITAC
-SYSTEM		= Linux-frt
+SYSTEM		= Linux
+###SYSTEM		= Linux-frt
 
 ############## $B%3%s%Q%$%k%*%W%7%g%s$N;XDj(B ##########
 
-STDFFLAGS	= $(SYSFFLAGS) -O 
-###STDFFLAGS	= $(SYSFFLAGS) -O -fno-globals -Wno-globals
+###STDFFLAGS	= $(SYSFFLAGS) -O 
+STDFFLAGS	= $(SYSFFLAGS) -O -fno-globals -Wno-globals
 ###STDFFLAGS  	= $(SYSFFLAGS) -g
 STDCFLAGS	= $(SYSCFLAGS) -O
 ###STDCFLAGS	= $(SYSCFLAGS) -g
@@ -41,8 +42,9 @@
 ############## $B%$%s%9%H!<%k%G%#%l%/%H%j$N;XDj(B ##########
 
 ######## gtool3 $B$N%$%s%9%H!<%k%G%#%l%/%H%j86E@(B
-###DESTDIR		= $(GTOOLDIR)/debian/tmp/usr
-DESTDIR		= $(HOME)
+DESTDIR		= $(GTOOLDIR)/debian/tmp/usr/lib/gt3-dcl5
+###DESTDIR		= $(GTOOLDIR)/debian/tmp/usr/lib/gt3-dcl5-ffc
+###DESTDIR		= $(HOME)
 
 ######## gtool3 $B%i%$%V%i%j$N%$%s%9%H!<%k@h(B
 LIBDEST		= $(DESTDIR)/lib
@@ -53,7 +55,7 @@
 BINDEST		= $(DESTDIR)/bin
 
 ######## gtool3 $B%$%s%/%k!<%I%U%!%$%k$N%$%s%9%H!<%k@h(B
-INCDEST		= $(DESTDIR)/include/gt3-dcl5
+INCDEST		= $(DESTDIR)/include
 
 ############## $BB>$N%i%$%V%i%j$N%G%#%l%/%H%j$N;XDj(B ######
 
@@ -61,14 +63,14 @@
 #                                $B4D6-JQ?t(B DCLDIR $B$r@_Dj$9$k$3$H(B
 ###DCLLIBDIR	= $(LIBDEST)
 ###DCLLIBDIR	= $(DCLDIR)/lib
-###DCLLIBDIR	= /usr/lib/dcl-5.0.1
-DCLLIBDIR	= $(HOME)/dcl-5.1/lib
+DCLLIBDIR	= /usr/lib/dcl-5.2/lib
+###DCLLIBDIR	= /usr/lib/dcl-5.2-ffc/lib
 
 
 ######## symake $B%i%$%V%i%j$N$"$j$+(B
 ###SYSMAKEDIR	= $(LIBDEST)/sysmake
-SYSMAKEDIR	= $(HOME)/lib/sysmake
-###SYSMAKEDIR	= /usr/lib/sysmake
+###SYSMAKEDIR	= $(HOME)/lib/sysmake
+SYSMAKEDIR	= /usr/lib/sysmake
 
 ############## $B<4%U%!%$%k$N%Q%9L>@\F,;R;XDj(B ##########
 
@@ -104,7 +106,7 @@
 GTOOLLIB	= $(LIB)
 GTOOLLIBFILE	= $(LIBRARY)
 
-DCLLIBNAME	= dcl
+DCLLIBNAME	= dcl52f77
 DCLLIB		= lib$(DCLLIBNAME).a
 DCLLIBFILE	= $(DCLLIBDIR)/$(DCLLIB)
 
--- gt3-dcl5-20000124.orig/Mkinclude.debian-g77
+++ gt3-dcl5-20000124/Mkinclude.debian-g77
@@ -0,0 +1,125 @@
+#
+#  include file for Makefile for dennou/util/gtool/gt3-dcl5
+#
+#     You need dcl, sysmake libraries to install gtool3 for dcl-5.0 
+#
+#######################################################################
+######################## $B%5%$%H0MB8ItJ,$3$3$+$i(B #######################
+#######################################################################
+
+############## $B%7%9%F%`;XDj(B(SYSMAKE) ###################
+
+###SYSTEM		= Sun
+###SYSTEM		= FSun
+###SYSTEM		= IBMAIX
+###SYSTEM		= UXP
+###SYSTEM		= SX3
+###SYSTEM		= HITAC
+SYSTEM		= Linux
+###SYSTEM		= Linux-frt
+
+############## $B%3%s%Q%$%k%*%W%7%g%s$N;XDj(B ##########
+
+###STDFFLAGS	= $(SYSFFLAGS) -O 
+STDFFLAGS	= $(SYSFFLAGS) -O -fno-globals -Wno-globals
+###STDFFLAGS  	= $(SYSFFLAGS) -g
+STDCFLAGS	= $(SYSCFLAGS) -O
+###STDCFLAGS	= $(SYSCFLAGS) -g
+STDLDFLAGS	= $(SYSLDFLAGS)
+###STDLDFLAGS	= $(SYSLDFLAGS) -g
+STDCPPFLAGS	= $(SYSCPPFLAGS)
+AUTODBL		= ### $(SYSAUTODBL)
+AUTODBLDEF	= ### -DAUTO_DBL
+
+############## gtool3 $B$N%=!<%9%D%j!<86E@(B ############
+# Debianization $B$G$O(B GTOOLDIR $B$OD>@\(B make $B$N%3%^%s%I%i%$%s$+$i;XDj(B
+# $B$9$k$N$rK\B'$H$9$k(B. Debian $B0J30$G$O0J2<$N$h$&$KE,Ev$K;X<($9$k(B.
+# 
+# GTOOLDIR	= $(HOME)/src/gt3-dcl5
+# GTOOLDIR	= $(HOME)/e/gt3-dcl5/gt3-dcl5
+GTOOLDIR	= $(HOME)/gt3-dcl5
+
+############## $B%$%s%9%H!<%k%G%#%l%/%H%j$N;XDj(B ##########
+
+######## gtool3 $B$N%$%s%9%H!<%k%G%#%l%/%H%j86E@(B
+DESTDIR		= $(GTOOLDIR)/debian/tmp/usr/lib/gt3-dcl5
+###DESTDIR		= $(GTOOLDIR)/debian/tmp/usr/lib/gt3-dcl5-ffc
+###DESTDIR		= $(HOME)
+
+######## gtool3 $B%i%$%V%i%j$N%$%s%9%H!<%k@h(B
+LIBDEST		= $(DESTDIR)/lib
+LIBINST		= $(DESTDIR)/lib
+##LIBINST		= /usr/lib/gt3-dcl5	# Debian $B0J30$O4X78$J$$(B.
+
+######## gtool3 $B<B9T%U%!%$%k%$%s%9%H!<%k@h(B
+BINDEST		= $(DESTDIR)/bin
+
+######## gtool3 $B%$%s%/%k!<%I%U%!%$%k$N%$%s%9%H!<%k@h(B
+INCDEST		= $(DESTDIR)/include
+
+############## $BB>$N%i%$%V%i%j$N%G%#%l%/%H%j$N;XDj(B ######
+
+######## dcl $B%i%$%V%i%j$N$"$j$+(B
+#                                $B4D6-JQ?t(B DCLDIR $B$r@_Dj$9$k$3$H(B
+###DCLLIBDIR	= $(LIBDEST)
+###DCLLIBDIR	= $(DCLDIR)/lib
+DCLLIBDIR	= /usr/lib/dcl-5.2/lib
+###DCLLIBDIR	= /usr/lib/dcl-5.2-ffc/lib
+
+
+######## symake $B%i%$%V%i%j$N$"$j$+(B
+###SYSMAKEDIR	= $(LIBDEST)/sysmake
+###SYSMAKEDIR	= $(HOME)/lib/sysmake
+SYSMAKEDIR	= /usr/lib/sysmake
+
+############## $B<4%U%!%$%k$N%Q%9L>@\F,;R;XDj(B ##########
+
+GTAXDIR		= /var/spool/gt3-dcl5
+
+GTAXLOC		= \'$(GTAXDIR)/GTAXLOC.\'
+GTAXWGT		= \'$(GTAXDIR)/GTAXWGT.\'
+###GTAXLOC		= \'#Axxxxx.DENNOU.GTAXLOC.\'
+###GTAXWGT		= \'#Axxxxx.DENNOU.GTAXWGT.\'
+
+#######################################################################
+######################## $B%5%$%H0MB8ItJ,$3$3$^$G(B #######################
+#######################################################################
+
+include $(SYSMAKEDIR)/Makedef.$(SYSTEM)
+
+SRCDIR 		= $(GTOOLDIR)/src
+INCDIR		= $(GTOOLDIR)/include
+LIBDIR 		= $(GTOOLDIR)/lib
+BINDIR		= $(GTOOLDIR)/bin
+SAMPLEDIR	= $(GTOOLDIR)/sample
+GT3FRT		= $(BINDIR)/gt3frt
+
+LIBNAME		= gtool3
+LIB		= lib$(LIBNAME).a
+LIBRARY	 	= $(LIBDIR)/$(LIB)
+LIBS		= $(LINKOPT)-L$(LIBDIR) \
+		  $(LINKOPT)-l$(LIBNAME)
+
+#GTOOLLIBDIR	= $(LIBDEST)
+GTOOLLIBDIR	= $(LIBINST)
+GTOOLLIBNAME	= $(LIBNAME)
+GTOOLLIB	= $(LIB)
+GTOOLLIBFILE	= $(LIBRARY)
+
+DCLLIBNAME	= dcl52f77
+DCLLIB		= lib$(DCLLIBNAME).a
+DCLLIBFILE	= $(DCLLIBDIR)/$(DCLLIB)
+
+DCLDBASENAME	= dcldbase
+DCLDBASEDIR	= $(DCLLIBDIR)/$(DCLDBASENAME)
+
+STDLIBS		= $(LINKOPT)-L$(GTOOLLIBDIR) \
+		  $(LINKOPT)-l$(GTOOLLIBNAME) \
+		  $(LINKOPT)-L$(DCLLIBDIR) \
+		  $(LINKOPT)-L$(DCLLIBDIR) \
+		  $(LINKOPT)-l$(DCLLIBNAME)
+
+STDXLIBS	= $(SYSXLIBS)
+
+MKINCLUDE	= $(GTOOLDIR)/Mkinclude
+
--- gt3-dcl5-20000124.orig/Mkinclude.debian-ffc
+++ gt3-dcl5-20000124/Mkinclude.debian-ffc
@@ -0,0 +1,125 @@
+#
+#  include file for Makefile for dennou/util/gtool/gt3-dcl5
+#
+#     You need dcl, sysmake libraries to install gtool3 for dcl-5.0 
+#
+#######################################################################
+######################## $B%5%$%H0MB8ItJ,$3$3$+$i(B #######################
+#######################################################################
+
+############## $B%7%9%F%`;XDj(B(SYSMAKE) ###################
+
+###SYSTEM		= Sun
+###SYSTEM		= FSun
+###SYSTEM		= IBMAIX
+###SYSTEM		= UXP
+###SYSTEM		= SX3
+###SYSTEM		= HITAC
+###SYSTEM		= Linux
+SYSTEM		= Linux-frt
+
+############## $B%3%s%Q%$%k%*%W%7%g%s$N;XDj(B ##########
+
+STDFFLAGS	= $(SYSFFLAGS) -O 
+###STDFFLAGS	= $(SYSFFLAGS) -O -fno-globals -Wno-globals
+###STDFFLAGS  	= $(SYSFFLAGS) -g
+STDCFLAGS	= $(SYSCFLAGS) -O
+###STDCFLAGS	= $(SYSCFLAGS) -g
+STDLDFLAGS	= $(SYSLDFLAGS)
+###STDLDFLAGS	= $(SYSLDFLAGS) -g
+STDCPPFLAGS	= $(SYSCPPFLAGS)
+AUTODBL		= ### $(SYSAUTODBL)
+AUTODBLDEF	= ### -DAUTO_DBL
+
+############## gtool3 $B$N%=!<%9%D%j!<86E@(B ############
+# Debianization $B$G$O(B GTOOLDIR $B$OD>@\(B make $B$N%3%^%s%I%i%$%s$+$i;XDj(B
+# $B$9$k$N$rK\B'$H$9$k(B. Debian $B0J30$G$O0J2<$N$h$&$KE,Ev$K;X<($9$k(B.
+# 
+# GTOOLDIR	= $(HOME)/src/gt3-dcl5
+# GTOOLDIR	= $(HOME)/e/gt3-dcl5/gt3-dcl5
+GTOOLDIR	= $(HOME)/gt3-dcl5
+
+############## $B%$%s%9%H!<%k%G%#%l%/%H%j$N;XDj(B ##########
+
+######## gtool3 $B$N%$%s%9%H!<%k%G%#%l%/%H%j86E@(B
+###DESTDIR		= $(GTOOLDIR)/debian/tmp/usr/lib/gt3-dcl5
+DESTDIR		= $(GTOOLDIR)/debian/tmp/usr/lib/gt3-dcl5-ffc
+###DESTDIR		= $(HOME)
+
+######## gtool3 $B%i%$%V%i%j$N%$%s%9%H!<%k@h(B
+LIBDEST		= $(DESTDIR)/lib
+LIBINST		= $(DESTDIR)/lib
+##LIBINST		= /usr/lib/gt3-dcl5	# Debian $B0J30$O4X78$J$$(B.
+
+######## gtool3 $B<B9T%U%!%$%k%$%s%9%H!<%k@h(B
+BINDEST		= $(DESTDIR)/bin
+
+######## gtool3 $B%$%s%/%k!<%I%U%!%$%k$N%$%s%9%H!<%k@h(B
+INCDEST		= $(DESTDIR)/include
+
+############## $BB>$N%i%$%V%i%j$N%G%#%l%/%H%j$N;XDj(B ######
+
+######## dcl $B%i%$%V%i%j$N$"$j$+(B
+#                                $B4D6-JQ?t(B DCLDIR $B$r@_Dj$9$k$3$H(B
+###DCLLIBDIR	= $(LIBDEST)
+###DCLLIBDIR	= $(DCLDIR)/lib
+###DCLLIBDIR	= /usr/lib/dcl-5.2/lib
+DCLLIBDIR	= /usr/lib/dcl-5.2-ffc/lib
+
+
+######## symake $B%i%$%V%i%j$N$"$j$+(B
+###SYSMAKEDIR	= $(LIBDEST)/sysmake
+###SYSMAKEDIR	= $(HOME)/lib/sysmake
+SYSMAKEDIR	= /usr/lib/sysmake
+
+############## $B<4%U%!%$%k$N%Q%9L>@\F,;R;XDj(B ##########
+
+GTAXDIR		= /var/spool/gt3-dcl5
+
+GTAXLOC		= \'$(GTAXDIR)/GTAXLOC.\'
+GTAXWGT		= \'$(GTAXDIR)/GTAXWGT.\'
+###GTAXLOC		= \'#Axxxxx.DENNOU.GTAXLOC.\'
+###GTAXWGT		= \'#Axxxxx.DENNOU.GTAXWGT.\'
+
+#######################################################################
+######################## $B%5%$%H0MB8ItJ,$3$3$^$G(B #######################
+#######################################################################
+
+include $(SYSMAKEDIR)/Makedef.$(SYSTEM)
+
+SRCDIR 		= $(GTOOLDIR)/src
+INCDIR		= $(GTOOLDIR)/include
+LIBDIR 		= $(GTOOLDIR)/lib
+BINDIR		= $(GTOOLDIR)/bin
+SAMPLEDIR	= $(GTOOLDIR)/sample
+GT3FRT		= $(BINDIR)/gt3frt
+
+LIBNAME		= gtool3
+LIB		= lib$(LIBNAME).a
+LIBRARY	 	= $(LIBDIR)/$(LIB)
+LIBS		= $(LINKOPT)-L$(LIBDIR) \
+		  $(LINKOPT)-l$(LIBNAME)
+
+#GTOOLLIBDIR	= $(LIBDEST)
+GTOOLLIBDIR	= $(LIBINST)
+GTOOLLIBNAME	= $(LIBNAME)
+GTOOLLIB	= $(LIB)
+GTOOLLIBFILE	= $(LIBRARY)
+
+DCLLIBNAME	= dcl52f77
+DCLLIB		= lib$(DCLLIBNAME).a
+DCLLIBFILE	= $(DCLLIBDIR)/$(DCLLIB)
+
+DCLDBASENAME	= dcldbase
+DCLDBASEDIR	= $(DCLLIBDIR)/$(DCLDBASENAME)
+
+STDLIBS		= $(LINKOPT)-L$(GTOOLLIBDIR) \
+		  $(LINKOPT)-l$(GTOOLLIBNAME) \
+		  $(LINKOPT)-L$(DCLLIBDIR) \
+		  $(LINKOPT)-L$(DCLLIBDIR) \
+		  $(LINKOPT)-l$(DCLLIBNAME)
+
+STDXLIBS	= $(SYSXLIBS)
+
+MKINCLUDE	= $(GTOOLDIR)/Mkinclude
+
