aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authordaichi <daichi@FreeBSD.org>2003-08-05 14:07:54 +0800
committerdaichi <daichi@FreeBSD.org>2003-08-05 14:07:54 +0800
commit471bc15a0935f5b0bd88835b1bafad597d35dfef (patch)
treeaeb32d9850c8c9edf0f83a2c9671350495d1909e /games
parent8594bbc504d5ed812ae01382d1365a78af868fc2 (diff)
downloadfreebsd-ports-gnome-471bc15a0935f5b0bd88835b1bafad597d35dfef.tar.gz
freebsd-ports-gnome-471bc15a0935f5b0bd88835b1bafad597d35dfef.tar.zst
freebsd-ports-gnome-471bc15a0935f5b0bd88835b1bafad597d35dfef.zip
update games/ltris: 1.0.1 -> 1.0.4
PR: 55244 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'games')
-rw-r--r--games/ltris/Makefile16
-rw-r--r--games/ltris/distinfo2
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