aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2003-05-15 20:04:35 +0000
committerEric Anholt <anholt@FreeBSD.org>2003-05-15 20:04:35 +0000
commit7194cbda4845a2e0fcc93933d7b12150c9363fad (patch)
treec63ab714c96d0fe6970f2c9f49e98ac74458bfcb /games
parenta238a9339bc9b3621e2bd964fd7636f3b4d6976d (diff)
downloadports-7194cbda4845a2e0fcc93933d7b12150c9363fad.tar.gz
ports-7194cbda4845a2e0fcc93933d7b12150c9363fad.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/foobillard/Makefile14
-rw-r--r--games/foobillard/distinfo2
-rw-r--r--games/foobillard/files/patch-Makefile.in11
3 files changed, 10 insertions, 17 deletions
diff --git a/games/foobillard/Makefile b/games/foobillard/Makefile
index b2efffb6027c..7b64e6d3e553 100644
--- a/games/foobillard/Makefile
+++ b/games/foobillard/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= foobillard
-PORTVERSION= 2.4
+PORTVERSION= 2.6
CATEGORIES= games
MASTER_SITES= http://foobillard.sunsite.dk/dnl/
@@ -22,12 +22,10 @@ SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
USE_MESA= yes
USE_GMAKE= yes
MAKE_ENV= SDL_CONFIG="${SDL_CONFIG}"
-USE_REINPLACE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-SDL --prefix=${PREFIX} \
- --includedir="${X11BASE}/include"
-CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib -lgnugetopt"
+CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
+ LIBS="-L${LOCALBASE}/lib -lgnugetopt"
.if !defined(WITH_NVIDIA_BUMPREF)
CONFIGURE_ARGS+= --disable-bumpref
@@ -36,12 +34,6 @@ CONFIGURE_ARGS+= --disable-bumpref
MAN6= foobillard.6
MANCOMPRESSED= no
-post-patch:
- @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
- ${WRKSRC}/src/Makefile.in
- @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' \
- ${WRKSRC}/src/Makefile.in
-
post-install:
@${INSTALL_MAN} ${WRKSRC}/foobillard.6 ${PREFIX}/man/man6/foobillard.6
diff --git a/games/foobillard/distinfo b/games/foobillard/distinfo
index 62bf9a3bf6dd..969cd789e5eb 100644
--- a/games/foobillard/distinfo
+++ b/games/foobillard/distinfo
@@ -1 +1 @@
-MD5 (foobillard-2.4.tar.gz) = 9f1adabaf9b62ed1ab7e050d43519f73
+MD5 (foobillard-2.6.tar.gz) = 988dde14ecb7765bc28e365295ec082d
diff --git a/games/foobillard/files/patch-Makefile.in b/games/foobillard/files/patch-Makefile.in
index 40b9f6d70e0e..ef17fd808442 100644
--- a/games/foobillard/files/patch-Makefile.in
+++ b/games/foobillard/files/patch-Makefile.in
@@ -1,6 +1,6 @@
---- src/Makefile.in.orig Sun Feb 16 13:48:17 2003
-+++ src/Makefile.in Sun Feb 16 13:52:33 2003
-@@ -69,16 +69,16 @@
+--- src/Makefile.in.orig Wed Apr 30 16:44:52 2003
++++ src/Makefile.in Thu May 15 13:01:03 2003
+@@ -69,9 +69,9 @@
INCLUDES = -DNDEBUG -DDATA_DIRECTORY='"${pkgdatadir}/"'
@@ -12,11 +12,12 @@
@USE_SDL_FALSE@SDL_LIBS =
@USE_SDL_TRUE@GLUT_LIBS =
@USE_SDL_FALSE@GLUT_LIBS = -lglut
+@@ -80,7 +80,7 @@
@USE_BUMPREF_TRUE@BUMPREF_CFLAGS =
@USE_BUMPREF_FALSE@BUMPREF_CFLAGS = -DNO_NV_BUMPREF
--CFLAGS = -Wall -O3 `freetype-config --cflags` ${SDL_CFLAGS} ${BUMPREF_CFLAGS}
-+CFLAGS += -Wall `freetype-config --cflags` ${SDL_CFLAGS} ${BUMPREF_CFLAGS} -I%%X11BASE%%/include
+-CFLAGS = -Wall `freetype-config --cflags` ${SDL_CFLAGS} ${BUMPREF_CFLAGS} ${DEBUG_CFLAGS}
++CFLAGS += -Wall `freetype-config --cflags` ${SDL_CFLAGS} ${BUMPREF_CFLAGS} ${DEBUG_CFLAGS}
#LIBS = -L$(LIBDIR) -lglut -lGLU -lGL -lXext -lXaw -lm -lXi -lpng -lz
#LIBS = -L$(LIBDIR) -lglut -lGLU -lGL -lXext -lXaw -lm -lXi -lpng -lz