aboutsummaryrefslogtreecommitdiff
path: root/games/ltris
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2005-10-29 19:51:13 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2005-10-29 19:51:13 +0000
commit5b1362070c18d4b81f91c3e31d761887c60af6ab (patch)
treec06c3e46977f1f602553797dd30db8717b71acdf /games/ltris
parent6353b026e65c87aae58000398ca8166e74c78c16 (diff)
downloadports-5b1362070c18d4b81f91c3e31d761887c60af6ab.tar.gz
ports-5b1362070c18d4b81f91c3e31d761887c60af6ab.zip
Update to 1.0.11
PR: 88190 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Notes
Notes: svn path=/head/; revision=146692
Diffstat (limited to 'games/ltris')
-rw-r--r--games/ltris/Makefile16
-rw-r--r--games/ltris/distinfo4
-rw-r--r--games/ltris/pkg-plist1
3 files changed, 17 insertions, 4 deletions
diff --git a/games/ltris/Makefile b/games/ltris/Makefile
index 9c6441035eb2..b3ebd00a7ef4 100644
--- a/games/ltris/Makefile
+++ b/games/ltris/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= ltris
-PORTVERSION= 1.0.10
+PORTVERSION= 1.0.11
PORTEPOCH= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@@ -19,11 +19,23 @@ USE_SDL= mixer sdl
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.pre.mk>
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.else
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.endif
+
post-patch:
- @${REINPLACE_CMD} -e 's|--mode=666||g' ${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e 's|= @mixer_flag@|= @INTLLIBS@ @mixer_flag@|g ; \
+ s|--mode=666||g' ${WRKSRC}/src/Makefile.in
post-install:
${CHOWN} root:games ${PREFIX}/bin/${PORTNAME}
diff --git a/games/ltris/distinfo b/games/ltris/distinfo
index f8e75d06c340..45cac5ef5fee 100644
--- a/games/ltris/distinfo
+++ b/games/ltris/distinfo
@@ -1,2 +1,2 @@
-MD5 (ltris-1.0.10.tar.gz) = 20b66684a471c9929f34eaea1eb0c1d2
-SIZE (ltris-1.0.10.tar.gz) = 563853
+MD5 (ltris-1.0.11.tar.gz) = 412ecd9b7577a5bbcb76e19b5397391c
+SIZE (ltris-1.0.11.tar.gz) = 808214
diff --git a/games/ltris/pkg-plist b/games/ltris/pkg-plist
index 4b3926b6bded..c95afdcff3e2 100644
--- a/games/ltris/pkg-plist
+++ b/games/ltris/pkg-plist
@@ -1,4 +1,5 @@
bin/ltris
+%%NLS%%share/locale/de/LC_MESSAGES/ltris.mo
%%DATADIR%%/figures
%%DATADIR%%/gfx/back0.bmp
%%DATADIR%%/gfx/back1.bmp