diff options
author | lioux <lioux@FreeBSD.org> | 2001-07-29 23:33:22 +0000 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2001-07-29 23:33:22 +0000 |
commit | 89cb124834e295d611bbb7fdcc66e2b10e91533b (patch) | |
tree | d55f2efa0d0c6e0214b9029c821ae160275c126c /games/glchess/files | |
parent | 7ea93ea37f792c2f6b9c7d3d9cfd64cab931be3b (diff) | |
download | FreeBSD-ports-89cb124834e295d611bbb7fdcc66e2b10e91533b.zip FreeBSD-ports-89cb124834e295d611bbb7fdcc66e2b10e91533b.tar.gz |
New port glchess version 0.3.3, A 3D OpenGL based chess game
PR: 29061
Submitted by: Patrick Li <pat@databits.net>
Diffstat (limited to 'games/glchess/files')
-rw-r--r-- | games/glchess/files/patch-Makefile | 18 | ||||
-rw-r--r-- | games/glchess/files/patch-src::Makefile | 13 |
2 files changed, 31 insertions, 0 deletions
diff --git a/games/glchess/files/patch-Makefile b/games/glchess/files/patch-Makefile new file mode 100644 index 0000000..5341356 --- /dev/null +++ b/games/glchess/files/patch-Makefile @@ -0,0 +1,18 @@ +--- Makefile.orig Wed Jul 18 09:19:16 2001 ++++ Makefile Wed Jul 18 09:06:04 2001 +@@ -1,12 +1,11 @@ +-INSTALLDIR = /usr/local/bin +-MANDIR = /usr/local/man/man6 +-SHAREDIR = /usr/local/share/games/glchess ++INSTALLDIR = ${PREFIX}/bin ++MANDIR = ${PREFIX}/man/man6 ++SHAREDIR = ${DATADIR} + + VERSION = 0.3.3 + 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 new file mode 100644 index 0000000..6aa63d4 --- /dev/null +++ b/games/glchess/files/patch-src::Makefile @@ -0,0 +1,13 @@ +--- 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 += -g -Wall `${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 \ |