Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2004 22:30:16 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/61424: Update port: games/lbreakout
Message-ID:  <20040116223016.745cd076.tkato@prontomail.com>
Resent-Message-ID: <200401161340.i0GDeFY9068060@freefall.freebsd.org>

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

>Number:         61424
>Category:       ports
>Synopsis:       Update port: games/lbreakout
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 16 05:40:15 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.9-RELEASE-p1 i386
>Organization:
>Environment:
>Description:
- Utilize USE_SDL
- PERL -> REINPLACE_CMD
- Fix WWW: line

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/lbreakout/Makefile games/lbreakout/Makefile
--- /usr/ports/games/lbreakout/Makefile	Fri Nov 21 08:17:20 2003
+++ games/lbreakout/Makefile	Thu Jan  8 00:21:09 2004
@@ -14,20 +14,17 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A nice clone of classical Breakout game
 
-LIB_DEPENDS=	SDL-1.1.5:${PORTSDIR}/devel/sdl12
-
-SDL_CONFIG?=	${LOCALBASE}/bin/sdl11-config
-
+USE_SDL=	yes
+USE_REINPLACE=	yes
 USE_GMAKE=	yes
-USE_PERL5_BUILD=yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	LIBS="-lcompat" \
-		SDL_CONFIG="${SDL_CONFIG}"
+CONFIGURE_ENV=	LIBS="-lcompat"
 
-pre-patch:
-	@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
-	@${FIND} ${WRKSRC} \( -name "*.[ch]" -or -name "*.cpp" \) | \
-		${XARGS} ${PERL} -pi -e 's|"SDL/SDL|"SDL|g ; s|<SDL/SDL|<SDL|g'
+post-patch:
+	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+	@${GREP} -lR "SDL/SDL" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
+		's|"SDL/SDL|"SDL|g ; \
+		 s|<SDL/SDL|<SDL|g'
 
 pre-install:
 	${MKDIR} /var/games/${PORTNAME}
diff -urN /usr/ports/games/lbreakout/pkg-descr games/lbreakout/pkg-descr
--- /usr/ports/games/lbreakout/pkg-descr	Mon Jan  8 07:37:04 2001
+++ games/lbreakout/pkg-descr	Thu Jan  8 00:21:32 2004
@@ -18,4 +18,4 @@
      Cool effects
      Own levels can be created
 
-WWW: http://lgames.sourceforge.net/#lbreakout
+WWW: http://lgames.sourceforge.net/index.php?project=LBreakout
>Release-Note:
>Audit-Trail:
>Unformatted:



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