pgn-extract stable port information

Package: pgn-extract
Version: 15.0
Revision: 1
Source: ftp://ftp.cs.ukc.ac.uk/pub/djb/Extract/pgn-extract.tgz
Source-MD5: ae83686650900af4d027e17b6e34f361
NoSourceDirectory: true
Patch: %n.patch
CompileScript: <<
gnumake
<<
InstallScript: <<
mkdir -p %i/bin
/usr/bin/install pgn-extract %i/bin/pgn-extract
<<
DocFiles: README COPYING
Description: Convert collections of Chess games into PGN notation
License: GPL
Maintainer: Matthias Neeracher
Homepage: http://www.cs.ukc.ac.uk/people/staff/djb/extract.html

pgn-extract stable port .patch

diff -u pgn-extract.orig/Makefile pgn-extract/Makefile
--- pgn-extract.orig/Makefile Fri Sep 14 01:36:03 2001
+++ pgn-extract/Makefile Tue Jul 2 22:31:23 2002
@@ -30,10 +30,9 @@
# Linux users might need to add -D__linux__ to these in order to
# use strcasecmp instead of strcmpi (cf output.c)

-CFLAGS=-c -pedantic -Wall -Wshadow -Wformat -Wpointer-arith \
- -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings $(DEBUGINFO)\
- -I/usr/local/lib/ansi-include
-CC=gcc
+CFLAGS=-c -D__unix__ -Wall -Wshadow -Wformat -Wpointer-arith \
+ -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings $(DEBUGINFO)
+CC=cc

# AIX 3.2 Users might like to use these alternatives for CFLAGS and CC.
# Thanks to Erol Basturk for providing them.

pgn-extract _unstable_ port information

Package: pgn-extract
Version: 16.2
Revision: 1
Source: ftp://ftp.cs.kent.ac.uk/pub/djb/Extract/pgn-extract-16-2.tgz
Source-MD5: 407d9048b779b1d17877559d3c78ad5b
Patch: %n.patch
CompileScript: <<
gnumake
<<
InstallScript: <<
mkdir -p %i/bin
/usr/bin/install pgn-extract %i/bin/pgn-extract
<<
DocFiles: README COPYING
Description: Convert collections of Chess games into PGN notation
License: GPL
Maintainer: Matthias Neeracher
Homepage: http://www.cs.ukc.ac.uk/people/staff/djb/extract.html

pgn-extract _unstable_ port .patch

diff -ru pgn-extract-16-2-orig/Makefile pgn-extract-16-2/Makefile
--- pgn-extract-16-2-orig/Makefile 2007-11-22 02:43:31.000000000 +0100
+++ pgn-extract-16-2/Makefile 2007-11-22 02:47:09.000000000 +0100
@@ -33,9 +33,8 @@
# Mac OS X users might need to add -D__unix__ to CFLAGS
# and use CC=cc

-CFLAGS+=-c -pedantic -Wall -Wshadow -Wformat -Wpointer-arith \
- -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings $(DEBUGINFO)\
- -I/usr/local/lib/ansi-include
+CFLAGS+=-c -pedantic -Wall -Wshadow -Wformat -Wpointer-arith -D__unix__ \
+ -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings $(DEBUGINFO)
CC=gcc

# AIX 3.2 Users might like to use these alternatives for CFLAGS and CC.