diff options
author | Daichi GOTO <daichi@FreeBSD.org> | 2003-08-05 06:07:54 +0000 |
---|---|---|
committer | Daichi GOTO <daichi@FreeBSD.org> | 2003-08-05 06:07:54 +0000 |
commit | 1f05d5b572554bcd62c15822c81f46327a162d15 (patch) | |
tree | 7e08db0f3b6949f7d9f7fb8c2aea569d43556926 /games/ltris | |
parent | update games/digger-vgl: 1.0 -> 20020314 (diff) |
update games/ltris: 1.0.1 -> 1.0.4
PR: 55244
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes:
svn path=/head/; revision=86333
Diffstat (limited to 'games/ltris')
-rw-r--r-- | games/ltris/Makefile | 16 | ||||
-rw-r--r-- | games/ltris/distinfo | 2 |
2 files changed, 9 insertions, 9 deletions
diff --git a/games/ltris/Makefile b/games/ltris/Makefile index 944025a2ec01..95f2024c3840 100644 --- a/games/ltris/Makefile +++ b/games/ltris/Makefile @@ -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 @@ COMMENT= An another tetris clone but a good one with bunch of cool features 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 --git a/games/ltris/distinfo b/games/ltris/distinfo index 64e4cc5cd347..a7bd194d32b0 100644 --- a/games/ltris/distinfo +++ b/games/ltris/distinfo @@ -1 +1 @@ -MD5 (ltris-1.0.1.tar.gz) = 76f87ccc12442b8107abe295c9167327 +MD5 (ltris-1.0.4.tar.gz) = e5fc931877f21384972e755894254b43 |