Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Aug 2002 11:08:29 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/42036: Update port: games/gl-117 to 0.6.5
Message-ID:  <200208261808.g7QI8TGJ023410@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         42036
>Category:       ports
>Synopsis:       Update port: games/gl-117 to 0.6.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 26 11:10:04 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.6.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 0.6.5

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/games/gl-117/Makefile games/gl-117/Makefile
--- /usr/ports/games/gl-117/Makefile	Thu Aug  8 14:13:56 2002
+++ games/gl-117/Makefile	Sat Aug 24 17:28:36 2002
@@ -7,26 +7,33 @@
 #
 
 PORTNAME=	gl-117
-PORTVERSION=	0.6
+PORTVERSION=	0.6.5
 CATEGORIES=	games
-MASTER_SITES=	http://home.t-online.de/home/Primetime./gl-117/
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	ports@FreeBSD.org
 
-LIB_DEPENDS=	SDL-1.1:${PORTSDIR}/devel/sdl12 \
-		SDL_mixer:${PORTSDIR}/audio/sdl_mixer
+LIB_DEPENDS=	SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
+		SDL-1.1.4:${PORTSDIR}/devel/sdl12
+
+SDL_CONFIG?=	${LOCALBASE}/bin/sdl11-config
 
-USE_REINPLACE=	yes
 USE_MESA=	yes
+USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
-CFLAGS+=	${PTHREAD_CFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include
-CONFIGURE_ENV=	CPPFLAGS="${CXXFLAGS}" \
-		LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib -L${X11BASE}/lib -lGL -lGLU -lglut -lstdc++"
+CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+
+CPPFLAGS=	`${SDL_CONFIG} --cflags` -I${X11BASE}/include
+LDFLAGS=	`${SDL_CONFIG} --libs` -L${X11BASE}/lib
 
 post-patch:
-.for file in configure src/audio.h src/main.h src/net.h
-	@${REINPLACE_CMD} -e "s|SDL/|SDL11/|g" -e "s|-lSDL |-lSDL-1.1 |g" \
-		-e "s|-lSDLmain|-lSDLmain-1.1|g" ${WRKSRC}/${file}
+.for file in configure src/audio.h src/glland.h src/main.h src/net.h
+	@${REINPLACE_CMD} -e 's|^CPPFLAGS="-D|CPPFLAGS="\$$CPPFLAGS -D|g ; \
+		 s|SDL/||g ; \
+		 s|-lSDL |-lSDL-1.1 |g ; \
+		 s|-lSDLmain|-lSDLmain-1.1|g' ${WRKSRC}/${file}
 .endfor
 
 .include <bsd.port.mk>
diff -urN /usr/ports/games/gl-117/distinfo games/gl-117/distinfo
--- /usr/ports/games/gl-117/distinfo	Thu Aug  8 14:13:56 2002
+++ games/gl-117/distinfo	Sat Aug 24 15:29:02 2002
@@ -1 +1 @@
-MD5 (gl-117-0.6.tar.gz) = 5248f8c6dfcf1a1c4ff4990a4d90c976
+MD5 (gl-117-0.6.5.tar.gz) = 882a70b0ddcbd8b4e9f0e220860f6ca3
diff -urN /usr/ports/games/gl-117/pkg-plist games/gl-117/pkg-plist
--- /usr/ports/games/gl-117/pkg-plist	Thu Aug  8 14:13:56 2002
+++ games/gl-117/pkg-plist	Sat Aug 24 18:01:45 2002
@@ -1,4 +1,6 @@
 bin/gl-117
+share/gl-117/models/aster1.3ds
+share/gl-117/models/base1.3ds
 share/gl-117/models/cannon1.3ds
 share/gl-117/models/cannon2.3ds
 share/gl-117/models/container1.3ds
@@ -47,6 +49,8 @@
 share/gl-117/sounds/missile1.wav
 share/gl-117/sounds/plane1.wav
 share/gl-117/sounds/thunder1.wav
+share/gl-117/textures/aster1_n.tga
+share/gl-117/textures/base1_no.tga
 share/gl-117/textures/cactus1.tga
 share/gl-117/textures/cross.tga
 share/gl-117/textures/cross2.tga
@@ -55,11 +59,15 @@
 share/gl-117/textures/fig2_fra.tga
 share/gl-117/textures/fig3_fra.tga
 share/gl-117/textures/fig4_fra.tga
+share/gl-117/textures/fig5_fra.tga
 share/gl-117/textures/fig6_fra.tga
 share/gl-117/textures/fig7_fra.tga
 share/gl-117/textures/fig8_noi.tga
 share/gl-117/textures/fig9_noi.tga
 share/gl-117/textures/flare1.tga
+share/gl-117/textures/flare2.tga
+share/gl-117/textures/flare3.tga
+share/gl-117/textures/flare4.tga
 share/gl-117/textures/font1.tga
 share/gl-117/textures/font2.tga
 share/gl-117/textures/gl-117_c.tga
@@ -86,8 +94,8 @@
 share/gl-117/textures/walls_co.tga
 share/gl-117/textures/water1.tga
 share/gl-117/textures/water2.tga
-@dirrm share/gl-117/models
-@dirrm share/gl-117/music
-@dirrm share/gl-117/sounds
 @dirrm share/gl-117/textures
+@dirrm share/gl-117/sounds
+@dirrm share/gl-117/music
+@dirrm share/gl-117/models
 @dirrm share/gl-117

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208261808.g7QI8TGJ023410>