the Fink project is an effort to port
popular Unix programs to Mac OS X
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
BuildDepends: fink (>= 0.24.12-1)
PatchFile: %n.patch
PatchFile-MD5: 9287f15771ec97354961b4a2bfc16b79
CompileScript: <<
gnumake
<<
InstallScript: <<
mkdir -p %i/bin
/usr/bin/install pgn-extract %i/bin/pgn-extract
<<
DocFiles: README COPYING
Description: Convert chess games into PGN notation
License: GPL
Maintainer: Matthias Neeracher
Homepage: http://www.cs.ukc.ac.uk/people/staff/djb/extract.html
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.