ports/61424: Update port: games/lbreakout

KATO Tsuguru tkato at prontomail.com
Fri Jan 16 13:40:53 UTC 2004


>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 at 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:



More information about the freebsd-ports-bugs mailing list