ports/88190: Update port: games/ltris to 1.0.11

KATO Tsuguru tkato432 at yahoo.com
Sat Oct 29 18:10:19 UTC 2005


>Number:         88190
>Category:       ports
>Synopsis:       Update port: games/ltris to 1.0.11
>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:   Sat Oct 29 18:10:15 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p13 i386
>Organization:
>Environment:
>Description:
- Update to version 1.0.11

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/ltris/Makefile games/ltris/Makefile
--- /usr/ports/games/ltris/Makefile	Sat Feb 26 15:56:40 2005
+++ games/ltris/Makefile	Sat Oct 29 00:35:00 2005
@@ -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_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 -urN /usr/ports/games/ltris/distinfo games/ltris/distinfo
--- /usr/ports/games/ltris/distinfo	Sat Feb 26 15:56:40 2005
+++ games/ltris/distinfo	Thu Oct  6 01:46:01 2005
@@ -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 -urN /usr/ports/games/ltris/pkg-plist games/ltris/pkg-plist
--- /usr/ports/games/ltris/pkg-plist	Mon Aug 16 22:39:23 2004
+++ games/ltris/pkg-plist	Thu Oct  6 02:06:35 2005
@@ -1,4 +1,5 @@
 bin/ltris
+%%NLS%%share/locale/de/LC_MESSAGES/ltris.mo
 %%DATADIR%%/figures
 %%DATADIR%%/gfx/back0.bmp
 %%DATADIR%%/gfx/back1.bmp
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list