summaryrefslogtreecommitdiffstats
path: root/games/glchess/files
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2001-12-26 18:36:58 +0000
committerpat <pat@FreeBSD.org>2001-12-26 18:36:58 +0000
commit5a21d5f8cccc723f520240ceff58e5ba24781e04 (patch)
treef14f4e7544abc51ba99b7425e68366f7c8e4d087 /games/glchess/files
parent34d2efa5a7866de0d0e00ee019751a47a038c283 (diff)
downloadFreeBSD-ports-5a21d5f8cccc723f520240ceff58e5ba24781e04.zip
FreeBSD-ports-5a21d5f8cccc723f520240ceff58e5ba24781e04.tar.gz
Update to 0.4.2
Diffstat (limited to 'games/glchess/files')
-rw-r--r--games/glchess/files/Makefile.bsd24
-rw-r--r--games/glchess/files/patch-Makefile15
-rw-r--r--games/glchess/files/patch-src::Makefile13
3 files changed, 24 insertions, 28 deletions
diff --git a/games/glchess/files/Makefile.bsd b/games/glchess/files/Makefile.bsd
new file mode 100644
index 0000000..bebdc6b
--- /dev/null
+++ b/games/glchess/files/Makefile.bsd
@@ -0,0 +1,24 @@
+CFLAGS += `${GTK_CONFIG} --cflags` $(INCLDIR) ${PTHREAD_CFLAGS}
+LIBS = `${GTK_CONFIG} --libs` -lgtkgl -lGL -lGLU -lm -lXi -lXmu ${PTHREAD_LIBS}
+
+OBJS = main.o \
+ anim.o \
+ config.o \
+ draw.o \
+ dialog.o \
+ engine.o \
+ game.o \
+ global.o \
+ image.o \
+ interface.o \
+ menu.o \
+ models.o \
+ move.o \
+ player.o \
+ prefs.o \
+ san.o \
+ splash.o \
+ texture.o \
+
+all: $(OBJS)
+ $(CC) $(CFLAGS) $(OBJS) -o glchess $(LIBS)
diff --git a/games/glchess/files/patch-Makefile b/games/glchess/files/patch-Makefile
deleted file mode 100644
index 8739982..0000000
--- a/games/glchess/files/patch-Makefile
+++ /dev/null
@@ -1,15 +0,0 @@
---- Makefile.orig Sat Dec 8 19:18:34 2001
-+++ Makefile Sat Dec 8 19:19:24 2001
-@@ -1,4 +1,3 @@
--PREFIX = /usr/local
-
- INSTALLDIR = $(PREFIX)/bin
- MANDIR = $(PREFIX)/man/man6
-@@ -8,7 +7,6 @@
- DATE = `date "+%Y-%m-%d"`
-
- all:
-- @clear
- @echo "Building glChess..."
- @cd src && make
- @mv src/glchess .
diff --git a/games/glchess/files/patch-src::Makefile b/games/glchess/files/patch-src::Makefile
deleted file mode 100644
index 3404fb9..0000000
--- a/games/glchess/files/patch-src::Makefile
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/Makefile.orig Tue Jul 17 16:05:53 2001
-+++ src/Makefile Sun Jul 29 20:17:58 2001
-@@ -1,7 +1,6 @@
--CC = gcc
--CFLAGS = -g -Wall `gtk-config --cflags`
--
--LIBS = `gtk-config --libs` -lgtkgl -lGL -lGLU -lm -L/usr/X11R6/lib -lXi -lXmu
-+CFLAGS += `${GTK_CONFIG} --cflags` $(INCLDIR) ${PTHREAD_CFLAGS}
-+INCLDIR = -I${X11BASE}/include -I${LOCALBASE}/include
-+LIBS = `${GTK_CONFIG} --libs` -L${X11BASE}/lib -lgtkgl -lGL -lGLU -lm -lXi -lXmu ${PTHREAD_LIBS}
-
- OBJS = main.o \
- animation.o \
OpenPOWER on IntegriCloud