From tkato432@yahoo.com  Wed Aug  3 18:33:48 2011
Return-Path: <tkato432@yahoo.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 030C81065679
	for <FreeBSD-gnats-submit@FreeBSD.org>; Wed,  3 Aug 2011 18:33:36 +0000 (UTC)
	(envelope-from tkato432@yahoo.com)
Received: from msa102lp.auone-net.jp (msa102lp.auone-net.jp [222.3.140.165])
	by mx1.freebsd.org (Postfix) with ESMTP id CE3398FC1B
	for <FreeBSD-gnats-submit@FreeBSD.org>; Wed,  3 Aug 2011 18:33:35 +0000 (UTC)
Received: from localhost.localdomain (ZT028230.ppp.dion.ne.jp [59.128.28.230])
	by msa102lp.auone-net.jp (au one net msa) with ESMTP id 3B7294AC036
	for <FreeBSD-gnats-submit@FreeBSD.org>; Thu,  4 Aug 2011 03:33:34 +0900 (JST)
Message-Id: <20110804032234.61a8990c.tkato432@yahoo.com>
Date: Thu, 4 Aug 2011 03:22:34 +0900
From: KATO Tsuguru <tkato432@yahoo.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: Update port: games/tuxracer

>Number:         159457
>Category:       ports
>Synopsis:       Update port: games/tuxracer
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ehaupt
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 03 18:40:24 UTC 2011
>Closed-Date:    Wed Aug 10 18:26:07 CEST 2011
>Last-Modified:  Wed Aug 10 16:30:28 UTC 2011
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Fix MASTER_SITES
- Support USE_TK
- Support COPYTREE_SHARE

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/tuxracer/Makefile games/tuxracer/Makefile
--- /usr/ports/games/tuxracer/Makefile	2011-03-03 12:54:28.000000000 +0900
+++ games/tuxracer/Makefile	2011-07-30 16:06:33.000000000 +0900
@@ -9,38 +9,36 @@
 PORTVERSION=	0.61
 PORTREVISION=	10
 CATEGORIES=	games
-MASTER_SITES=	SF
-DISTFILES=	${PORTNAME}-${PORTVERSION}.tar.gz \
-		${PORTNAME}-data-${PORTVERSION}.tar.gz
+MASTER_SITES=	SF \
+		SF/${PORTNAME}/${PORTNAME}-data/${PORTVERSION}:data
+DISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
+		${PORTNAME}-data-${PORTVERSION}${EXTRACT_SUFX}:data
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A 3d penguin racing game using OpenGL
 
-LIB_DEPENDS=	tcl85:${PORTSDIR}/lang/tcl85
-
 USE_SDL=	mixer sdl
 USE_GL=		gl
 USE_XORG=	x11 xt xmu xi
+USE_TK_BUILD=	yes
+USE_TK=		yes
 USE_GMAKE=	yes
 USE_AUTOTOOLS=	automake14 autoconf
 AUTOMAKE_ARGS=	-a
 CONFIGURE_ENV=	THREAD_LIB="${PTHREAD_LIBS}"
-MAKE_ENV=	${CONFIGURE_ENV}
-CONFIGURE_ARGS=	--with-tcl-inc="${LOCALBASE}/include/tcl8.5" \
+CONFIGURE_ARGS=	--with-tcl-inc="${TCL_INCLUDEDIR}" \
 		--with-tcl-libs="${LOCALBASE}/lib" \
 		--with-gl-libs="${LOCALBASE}/lib" \
 		--with-gl-inc="${LOCALBASE}/include" \
-		--with-data-dir=${PREFIX}/share/tuxracer
-
-WORKDATA=	${WRKDIR}/${PORTNAME}-data-${PORTVERSION}
-COURSEDIRS=	1 2 3 4 5 6 7 8 9 10 11
+		--with-data-dir=${DATADIR}
+MAKE_ENV=	${CONFIGURE_ENV}
 
 post-extract:
 	@${RM} ${WRKSRC}/missing
 
 post-install:
 	@${MKDIR} ${DATADIR}
-	@(${CHMOD} -R o+r ${WORKDATA} && cd ${WORKDATA} && ${TAR} -c -f - *) | \
-		(cd ${DATADIR} && ${TAR} -x -f - )
+	@(cd ${WORKDATA} ${WRKDIR}/${PORTNAME}-data-${PORTVERSION} \
+		&& ${COPYTREE_SHARE} . ${DATADIR})
 
 .include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->ehaupt 
Responsible-Changed-By: ehaupt 
Responsible-Changed-When: Tue Aug 9 20:55:18 CEST 2011 
Responsible-Changed-Why:  
I will take care of it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=159457 
State-Changed-From-To: open->closed 
State-Changed-By: ehaupt 
State-Changed-When: Wed Aug 10 18:26:06 CEST 2011 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=159457 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/159457: commit references a PR
Date: Wed, 10 Aug 2011 16:25:41 +0000 (UTC)

 ehaupt      2011-08-10 16:24:58 UTC
 
   FreeBSD ports repository
 
   Modified files:
     games/tuxracer       Makefile 
   Log:
   - Fix MASTER_SITES
   - Support USE_TK
   - Support COPYTREE_SHARE
   
   PR:             159457
   Submitted by:   KATO Tsuguru <tkato432@yahoo.com>
   
   Revision  Changes    Path
   1.45      +11 -13    ports/games/tuxracer/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
