pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ztrack: Eliminated



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Thu Jul 28 21:01:28 2016 +0200
Changeset:	2d1862f5ee42825d4357514f5449f4b918d830d9

Removed Files:
	ztrack/DESCR
	ztrack/Makefile
	ztrack/PLIST
	ztrack/distinfo
	ztrack/patches/patch-Makefile
	ztrack/patches/patch-ztrack.c

Log Message:
ztrack: Eliminated

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2d1862f5ee42825d4357514f5449f4b918d830d9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 ztrack/DESCR                  |  1 -
 ztrack/Makefile               | 25 --------------------
 ztrack/PLIST                  |  3 ---
 ztrack/distinfo               |  8 -------
 ztrack/patches/patch-Makefile | 53 -------------------------------------------
 ztrack/patches/patch-ztrack.c | 21 -----------------
 6 files changed, 111 deletions(-)

diffs:
diff --git a/ztrack/DESCR b/ztrack/DESCR
deleted file mode 100644
index 8e0c7a3..0000000
--- a/ztrack/DESCR
+++ /dev/null
@@ -1 +0,0 @@
-Ztrack is a simple curses-based pseudo-3D driving game.
diff --git a/ztrack/Makefile b/ztrack/Makefile
deleted file mode 100644
index 2512e43..0000000
--- a/ztrack/Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
-# $NetBSD$
-
-DISTNAME=	ztrack-1.0
-CATEGORIES=	games
-MASTER_SITES=	${MASTER_SITE_SUNSITE:=games/arcade/}
-
-MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-# Nothing better available
-HOMEPAGE=	${MASTER_SITE_SUNSITE:=games/arcade/}
-COMMENT=	Simple curses-based pseudo-3D driving game
-LICENSE=	public-domain
-
-WRKSRC=		${WRKDIR}/${PKGBASE}
-
-MAKE_FLAGS+=	BINDIR=${PREFIX}/bin
-MAKE_FLAGS+=	MANDIR=${PREFIX}/${PKGMANDIR}/man6
-
-SUBST_CLASSES+=		makefile
-SUBST_STAGE.makefile=	pre-configure
-SUBST_MESSAGE.makefile=	Link with the proper curses type
-SUBST_FILES.makefile=	Makefile
-SUBST_SED.makefile=	-e '/LIBS/ s,-lncurses,-l${BUILDLINK_LIBNAME.curses},'
-
-.include "../../mk/curses.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/ztrack/PLIST b/ztrack/PLIST
deleted file mode 100644
index 799624a..0000000
--- a/ztrack/PLIST
+++ /dev/null
@@ -1,3 +0,0 @@
-@comment $NetBSD$
-bin/ztrack
-man/man6/ztrack.6
diff --git a/ztrack/distinfo b/ztrack/distinfo
deleted file mode 100644
index 02e800b..0000000
--- a/ztrack/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD$
-
-SHA1 (ztrack-1.0.tar.gz) = 1cc31c82d78b87efa18623edf72eaa02859b38f0
-RMD160 (ztrack-1.0.tar.gz) = ff3deaf1a31e048350cb94f1d9fed87e84a99fde
-SHA512 (ztrack-1.0.tar.gz) = 10efc72b593f6068ebf515ebd5be8d4c0451f37e798161dca5addbfcc468b6ee1d2bfc6b92701c6024ae4cb4fd3b1053a7891c2e7a023855aa2821420e6bb62c
-Size (ztrack-1.0.tar.gz) = 10186 bytes
-SHA1 (patch-Makefile) = cb68993430fa3286ebb1c5828c3e5209adf844f9
-SHA1 (patch-ztrack.c) = f47973334a3baa59e8ac675fc43280a6f9bb6881
diff --git a/ztrack/patches/patch-Makefile b/ztrack/patches/patch-Makefile
deleted file mode 100644
index 082f37c..0000000
--- a/ztrack/patches/patch-Makefile
+++ /dev/null
@@ -1,53 +0,0 @@
-$NetBSD$
-
-- Accept user defined CC, CFLAGS and LDFLAGS.
-- Add DESTDIR support
-- Fix permissions of installed files
-
---- Makefile.orig	1996-09-30 03:34:20.000000000 +0000
-+++ Makefile
-@@ -2,16 +2,16 @@
- #
- # note that you need an ANSI C compiler;
- # gcc is easiest if you've got it or can get it
--CC=gcc
-+CC?=gcc
- 
- # flags for Linux/gcc, hack as required
- # remove '-DHAVE_RANDOM' if your libc doesn't have 'random' and 'srandom'.
- # add '-DNO_COLOUR' if you don't want colour or the colour support
- # causes problems.
--CFLAGS=-O2 -Wall -DHAVE_RANDOM -I/usr/include/ncurses #-DDEBUG
-+CFLAGS+= -Wall -DHAVE_RANDOM
- 
- # if using ncurses:
--LIBS=-lncurses
-+LIBS=-lcurses
- 
- # bsd-derived is usually:
- #LIBS=-lcurses -ltermcap
-@@ -20,6 +20,7 @@ LIBS=-lncurses
- #LIBS=-lcurses -lterminfo
- 
- # change these if needed - they're used by 'make install'
-+DESTDIR?=
- BINDIR=/usr/games
- MANDIR=/usr/man/man6
- 
-@@ -31,11 +32,13 @@ OBJS=ztrack.o
- all: ztrack
- 
- ztrack: $(OBJS)
--	$(CC) $(CFLAGS) -o ztrack $(OBJS) $(LIBS)
-+	$(CC) $(CFLAGS) $(LDFLAGS) -o ztrack $(OBJS) $(LIBS)
- 
- install: ztrack
--	install -s -m 511 ztrack $(BINDIR)
--	install -m 444 ztrack.6 $(MANDIR)
-+	install -d $(DESTDIR)$(BINDIR)
-+	install -s -m 755 ztrack $(DESTDIR)$(BINDIR)
-+	install -d $(DESTDIR)$(MANDIR)
-+	install -m 644 ztrack.6 $(DESTDIR)$(MANDIR)
- 
- clean:
- 	$(RM) *.o *~ ztrack
diff --git a/ztrack/patches/patch-ztrack.c b/ztrack/patches/patch-ztrack.c
deleted file mode 100644
index ea5e156..0000000
--- a/ztrack/patches/patch-ztrack.c
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD$
-
-Add explicit braces to avoid ambiguous 'else' (pointed out by -Wall)
-
---- ztrack.c.orig	1995-12-01 02:34:36.000000000 +0000
-+++ ztrack.c
-@@ -553,12 +553,13 @@ int f,l=0,r=0;
- 
- for(f=0;f<MAX_ENEMY;f++)
-   if(enemy[f].active)
--    if(FIX_DOWN(enemy[f].ypos)==0)
-+    if(FIX_DOWN(enemy[f].ypos)==0) {
-       if(enemy[f].lane==lane-1)
-         l=1;
-       else
-         if(enemy[f].lane==lane+1)
-           r=1;
-+    }
- 
- use_colour(COLOR_YELLOW,A_BOLD);
- 


Home | Main Index | Thread Index | Old Index