ports/55244: Update port: games/ltris to 1.0.4
KATO Tsuguru
tkato at prontomail.com
Mon Aug 4 15:20:31 UTC 2003
>Number: 55244
>Category: ports
>Synopsis: Update port: games/ltris to 1.0.4
>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: Mon Aug 04 08:20:11 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 1.0.4
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/games/ltris/Makefile games/ltris/Makefile
--- /usr/ports/games/ltris/Makefile Tue Jul 29 21:32:07 2003
+++ games/ltris/Makefile Sun Aug 3 23:16:09 2003
@@ -6,7 +6,7 @@
#
PORTNAME= ltris
-PORTVERSION= 1.0.1
+PORTVERSION= 1.0.4
PORTEPOCH= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@@ -17,16 +17,16 @@
LIB_DEPENDS= SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer
-SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
-
+USE_SDL= yes
+USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}"
-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'
post-install:
${CHOWN} root:games ${PREFIX}/bin/${PORTNAME}
diff -urN /usr/ports/games/ltris/distinfo games/ltris/distinfo
--- /usr/ports/games/ltris/distinfo Tue Jan 15 16:31:43 2002
+++ games/ltris/distinfo Sun Aug 3 23:17:18 2003
@@ -1 +1 @@
-MD5 (ltris-1.0.1.tar.gz) = 76f87ccc12442b8107abe295c9167327
+MD5 (ltris-1.0.4.tar.gz) = e5fc931877f21384972e755894254b43
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list