mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Update to 2.6.
PR: ports/52126 Submitted by: Stefan Farfeleder <stefan@fafoe.dyndns.org> Approved by: thomas.vogt@bsdunix.ch (maintainer)
This commit is contained in:
parent
a238a9339b
commit
7194cbda48
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=81052
@ -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
|
||||
|
||||
|
@ -1 +1 @@
|
||||
MD5 (foobillard-2.4.tar.gz) = 9f1adabaf9b62ed1ab7e050d43519f73
|
||||
MD5 (foobillard-2.6.tar.gz) = 988dde14ecb7765bc28e365295ec082d
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user