[scottfree] 02/08: Import Debian patch 1.14-1

Stephen Kitt skitt at moszumanska.debian.org
Fri Jan 20 08:00:45 UTC 2017


This is an automated email from the git hooks/post-receive script.

skitt pushed a commit to branch master
in repository scottfree.

commit 6af8af15c2b88616400f019da946409e66259559
Author: Clint Adams <schizo at debian.org>
Date:   Tue Mar 24 03:35:49 1998 -0500

    Import Debian patch 1.14-1
---
 Makefile         | 11 ++++++++---
 debian/changelog | 10 ++++++++++
 debian/control   | 16 ++++++++++++++++
 debian/copyright |  8 ++++++++
 debian/dirs      |  1 +
 debian/rules     | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 93 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index abe57c4..57f35fb 100755
--- a/Makefile
+++ b/Makefile
@@ -4,11 +4,16 @@
 CC	=	gcc
 #
 #
-all	:	ScottCurses
+all	:	scottfree
 
 ScottCurses.o:	ScottCurses.c Scott.h
 
-ScottCurses:	ScottCurses.o
-	$(CC) ScottCurses.o -o ScottCurses -lcurses -ltermcap
+scottfree:	ScottCurses.o
+	$(CC) ScottCurses.o -o scottfree -lcurses
 
+install:
+	mkdir -p $(DESTDIR)/usr/games
+	install -m 755 -o root -g root scottfree $(DESTDIR)/usr/games
 
+clean:
+	rm -f ScottCurses.o scottfree
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..16db4fe
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,10 @@
+scottfree (1.14-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Clint Adams <schizo at debian.org>  Tue, 24 Mar 1998 03:35:49 -0500
+
+Local variables:
+mode: debian-changelog
+add-log-mailing-address: "schizo at debian.org"
+End:
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..4040a21
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,16 @@
+Source: scottfree
+Section: games
+Priority: optional
+Maintainer: Clint Adams <schizo at debian.org>
+Standards-Version: 2.4.0.0
+
+Package: scottfree
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Interpreter for Adventure International games
+ ScottFree reads and executes TRS80 format Scott Adams datafiles. It is
+ possible to run other formats either by writing a loader for that format or
+ a convertor to TRS80 format.
+ .
+ Most Adventure International Games are distributed as shareware and are
+ available from ftp://ftp.gmd.de/if-archive/scott-adams/
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..4577d96
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,8 @@
+This package was debianized by Clint Adams schizo at debian.org on
+Tue, 24 Mar 1998 03:35:49 -0500.
+
+It was downloaded from ftp://ftp.gmd.de/if-archive/scott-adams
+
+Copyright:
+
+ScottFree is distributed under the GPL version 2 (/usr/doc/copyright/GPL).
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..33359b8
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1 @@
+usr/games
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..549cad9
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,50 @@
+#!/usr/bin/make -f
+# Made with the aid of debmake, by Christoph Lameter,
+# based on the sample debian/rules file for GNU hello by Ian Jackson.
+
+package=scottfree
+
+build:
+	$(checkdir)
+	
+	make CFLAGS="-O2 -g -Wall"
+	touch build
+
+clean:
+	$(checkdir)
+	-rm -f build
+	-make clean
+	-rm -f `find . -name "*~"`
+	-rm -rf debian/tmp debian/files* core debian/substvars
+
+binary-indep: checkroot build
+	$(checkdir)
+# There are no architecture-independent files to be uploaded
+# generated by this package.  If there were any they would be
+# made here.
+
+binary-arch: checkroot build
+	$(checkdir)
+	-rm -rf debian/tmp
+	install -d debian/tmp
+	cd debian/tmp && install -d `cat ../dirs`
+	make install DESTDIR=`pwd`/debian/tmp
+# Must have debmake installed for this to work. Otherwise please copy
+# /usr/bin/debstd into the debian directory and change debstd to debian/debstd
+	debstd README Definition
+	dpkg-gencontrol
+	chown -R root.root debian/tmp
+	chmod -R go=rX debian/tmp
+	dpkg --build debian/tmp ..
+
+define checkdir
+	test -f debian/rules
+endef
+
+binary: binary-indep binary-arch
+
+checkroot:
+	$(checkdir)
+	test root = "`whoami`"
+
+.PHONY: binary binary-arch binary-indep clean checkroot

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/scottfree.git



More information about the Pkg-games-commits mailing list