aboutsummaryrefslogtreecommitdiffstats
path: root/games/ltris
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2005-10-30 03:51:13 +0800
committermnag <mnag@FreeBSD.org>2005-10-30 03:51:13 +0800
commitba2b131c8d7de953c20ba28379796b9ecb4c8a77 (patch)
treeb8277912911f8bba0fd0d51b46876ae7e61fb41e /games/ltris
parentb165f6ee1b1b95710469e56c8acd14a8a99fda36 (diff)
downloadfreebsd-ports-gnome-ba2b131c8d7de953c20ba28379796b9ecb4c8a77.tar.gz
freebsd-ports-gnome-ba2b131c8d7de953c20ba28379796b9ecb4c8a77.tar.zst
freebsd-ports-gnome-ba2b131c8d7de953c20ba28379796b9ecb4c8a77.zip
Update to 1.0.11
PR: 88190 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
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