From nobody@FreeBSD.org  Sun May  8 23:47:54 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9B6B3106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  8 May 2011 23:47:54 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 8CBDE8FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  8 May 2011 23:47:54 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p48Nlrvx032667
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 8 May 2011 23:47:53 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p48NlrjA032666;
	Sun, 8 May 2011 23:47:53 GMT
	(envelope-from nobody)
Message-Id: <201105082347.p48NlrjA032666@red.freebsd.org>
Date: Sun, 8 May 2011 23:47:53 GMT
From: Sven Moeller <smoeller@nichthelfer.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Update for 3D RTS Game MegaGlest
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         156895
>Category:       ports
>Synopsis:       Update for games/megaglest
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    stephen
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 08 23:50:09 UTC 2011
>Closed-Date:    Thu Jul 21 04:25:11 UTC 2011
>Last-Modified:  Thu Jul 21 15:30:12 UTC 2011
>Originator:     Sven Moeller
>Release:        8.1-RELEASE
>Organization:
>Environment:
FreeBSD pcbsd-7168 8.1-RELEASE FreeBSD 8.1-RELEASE #1: Sat Jul 17 14:19:59 PDT 2010     root@build8x64.pcbsd.org:/usr/obj/usr/pcbsd-build81/fbsd-source/8.1/sys/PCBSD  amd64
>Description:
Yesterday Upstream had released an Update for the OpenSource 3D RTS MegaGlest. This is an update for the corresponding FreeBSD Port.

Please find the attached diff file.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN megaglest.orig/Makefile megaglest/Makefile
--- megaglest.orig/Makefile	2011-04-10 02:45:08.000000000 +0200
+++ megaglest/Makefile	2011-05-09 01:21:33.000000000 +0200
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	megaglest
-PORTVERSION=	3.4.0
+PORTVERSION=	3.5.1
 CATEGORIES=	games
 MASTER_SITES=	SF/${PORTNAME}/current_release/
 DISTNAME=	${PORTNAME}-source-${PORTVERSION}
@@ -21,9 +21,11 @@
 		vorbis.4:${PORTSDIR}/audio/libvorbis
 RUN_DEPENDS=	${DATADIR}/tutorials/basic_tutorial/basic_tutorial.xml:${PORTSDIR}/games/megaglest-data
 
-SUB_FILES=	glest-wrapper pkg-message
+EXTRACT_DEPENDS=xz:${PORTSDIR}/archivers/xz
 
-USE_BZIP2=	yes
+SUB_FILES=	pkg-message
+
+USE_XZ=		yes
 USE_CMAKE=	yes
 USE_DOS2UNIX=	yes
 USE_GL=		yes
@@ -32,6 +34,8 @@
 USE_SDL=	yes
 USE_WX=		2.8+
 
+WRKSRC=         ${WRKDIR}/${DISTNAME}/${PORTNAME}-${PORTVERSION}
+
 OPTIONS=	EDITOR "Install MegaGlest Editor" off
 
 .include <bsd.port.options.mk>
@@ -43,22 +47,21 @@
 .endif
 
 do-install:
-	${STRIP_CMD} ${WRKSRC}/mk/linux/glest.bin
+	${STRIP_CMD} ${WRKSRC}/mk/linux/megaglest
 	@${MKDIR} ${DATADIR}
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
 .endif
-	${INSTALL_PROGRAM} ${WRKSRC}/mk/linux/glest.bin ${DATADIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/mk/linux/megaglest ${PREFIX}/bin/${PORTNAME}
 .for f in glest.ini glestkeys.ini servers.ini
 	${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
 .endfor
-	${INSTALL_SCRIPT} ${WRKDIR}/glest-wrapper ${PREFIX}/bin/${PORTNAME}
-.if !defined(NOPORTDOCS)
-	${INSTALL_DATA} ${WRKSRC}/code_license.txt ${DOCSDIR}
-.endif
+.for f in AUTHORS.source_code.txt CHANGELOG.txt README.txt COPYRIGHT.source_code.txt
+	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.endfor
 .if defined(WITH_EDITOR)
-	${INSTALL_PROGRAM} ${WRKSRC}/mk/linux/glest_editor ${PREFIX}/bin/megaglest_editor
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/mk/linux/megaglest_editor ${PREFIX}/bin/megaglest_editor
+.endif 
 
 post-install:
 	@${CAT} ${PKGMESSAGE}
diff -ruN megaglest.orig/distinfo megaglest/distinfo
--- megaglest.orig/distinfo	2011-04-07 07:17:21.000000000 +0200
+++ megaglest/distinfo	2011-05-08 21:22:49.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (megaglest-source-3.4.0.tar.bz2) = da17c210fb6c3c366bf0e2b44e243740008c3a6ad62f27d631002e46f0210654
-SIZE (megaglest-source-3.4.0.tar.bz2) = 899312
+SHA256 (megaglest-source-3.5.1.tar.xz) = a60580acca668428277f32171165ce41a0bc2b4a07da179bcad61b0cb2018512
+SIZE (megaglest-source-3.5.1.tar.xz) = 3238128
diff -ruN megaglest.orig/files/glest-wrapper.in megaglest/files/glest-wrapper.in
--- megaglest.orig/files/glest-wrapper.in	2011-04-07 07:17:21.000000000 +0200
+++ megaglest/files/glest-wrapper.in	1970-01-01 01:00:00.000000000 +0100
@@ -1,27 +0,0 @@
-#!/bin/sh
-
-# The executable needs to be run from its data directory, and needs to store
-# configuration in it. We therefore mirror the data directory hierarchy in
-# ~/.megaglest3.4.0, and create symlinks to the data files.
-
-if [ -d ~/.megaglest3.4.0 ]
-then
-        echo "Using existing ~/.megaglest3.4.0 directory."
-else
-        echo "Creating ~/.megaglest3.4.0 directory."
-        cd %%DATADIR%% || exit 1
-        find * -type d -exec mkdir -p ~/.megaglest3.4.0/{} \;
-        find * -type f -exec ln -s %%DATADIR%%/{} ~/.megaglest3.4.0/{} \; 2>/dev/null
-	mkdir -p ~/.megaglest3.4.0/screens
-	mkdir -p ~/.megaglest3.4.0/shaders/standard
-	touch ~/.megaglest3.4.0/megaglest.log
-	rm ~/.megaglest3.4.0/glest.ini ~/.megaglest3.4.0/megaglest ~/.megaglest3.4.0/servers.ini
-	cp -f %%DATADIR%%/glest.ini ~/.megaglest3.4.0/
-	cp -f %%DATADIR%%/glestkeys.ini ~/.megaglest3.4.0/
-	cp -f %%DATADIR%%/servers.ini ~/.megaglest3.4.0/
-	chmod 640 ~/.megaglest3.4.0/glest.ini ~/.megaglest3.4.0/servers.ini
-fi
-
-cd ~/.megaglest3.4.0 || exit 1
-echo "Please be patient while loading MegaGlest..."
-exec %%DATADIR%%/glest.bin "$@"
diff -ruN megaglest.orig/files/patch-CMakeLists.txt megaglest/files/patch-CMakeLists.txt
--- megaglest.orig/files/patch-CMakeLists.txt	2011-04-07 07:17:21.000000000 +0200
+++ megaglest/files/patch-CMakeLists.txt	1970-01-01 01:00:00.000000000 +0100
@@ -1,23 +0,0 @@
-*** CMakeLists.txt	2011-02-10 17:41:19.000000000 +0100
---- CMakeLists.txt_FreeBSD	2011-02-10 17:41:56.000000000 +0100
-*************** IF(CMAKE_COMPILER_IS_GNUCXX OR MINGW)
-*** 59,76 ****
-- 	OPTION(WANT_SVN_STAMP "use svn stamp" ON)
-- 	IF(WANT_SVN_STAMP)
-- 		# The stuff below gets SVN Global Revision # but ONLY when calling cmake!
-- 		# the FindSubversion.cmake module is part of the standard distribution
-- 		include(FindSubversion)
-- 		# extract working copy information for SOURCE_DIR into MY_XXX variables
-- 		Subversion_WC_INFO(${PROJECT_SOURCE_DIR} MG)
-- 		#add_definitions(-DSVNVERSION="${MG_WC_REVISION}")
-- 	ENDIF()
-- 
-- 	SET(SVN_VERSION_CMD "-DSVNVERSION='\\\"${MG_WC_REVISION}\\\"'")
-- 
-- 	IF(UNIX AND NOT APPLE)
-- 		# We do some funky character escaping to get the right stuff written out to 
-- 		# the final Makefile so we get the SVN Global Revsion #
-- 		SET(SVN_VERSION_CMD "-DSVNVERSION='\\\"`svnversion -n ${PROJECT_SOURCE_DIR}`\\\"'")
-- 	ENDIF()
-- 
---- 58 ----
diff -ruN megaglest.orig/files/pkg-message.in megaglest/files/pkg-message.in
--- megaglest.orig/files/pkg-message.in	2011-04-10 02:45:08.000000000 +0200
+++ megaglest/files/pkg-message.in	2011-04-25 22:33:49.000000000 +0200
@@ -13,4 +13,9 @@
 
 4) Enjoy it ;)
 
+5) If you did an updrade from version 3.4.0 your personal settings are stored
+   in ~/.megaglest3.4.0
+   When you copy glestuser.ini and glestuserkeys.ini to ~/.megaglest
+   you'll have your old settings again.
+
 ###############################################################################
diff -ruN megaglest.orig/pkg-plist megaglest/pkg-plist
--- megaglest.orig/pkg-plist	2011-04-10 02:45:08.000000000 +0200
+++ megaglest/pkg-plist	2011-05-09 00:41:29.000000000 +0200
@@ -1,9 +1,7 @@
 %%EDITOR%%bin/megaglest_editor
 bin/megaglest
-%%DATADIR%%/glest.bin
 %%DATADIR%%/glest.ini
 %%DATADIR%%/glestkeys.ini
 %%DATADIR%%/servers.ini
-%%PORTDOCS%%%%DOCSDIR%%/code_license.txt
 %%PORTDOCS%%@dirrmtry %%DOCSDIR%%
 @dirrmtry %%DATADIR%%


>Release-Note:
>Audit-Trail:

From: Sven Moeller <smoeller@nichthelfer.de>
To: bug-followup@FreeBSD.org, smoeller@nichthelfer.de
Cc:  
Subject: Re: ports/156895: Update for 3D RTS Game MegaGlest
Date: Wed, 11 May 2011 00:53:42 +0200

 This is a multi-part message in MIME format.
 --------------010909040503050909000405
 Content-Type: text/plain; charset=ISO-8859-15; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Upstream has updated the distfiles. I was told by one of the upstream 
 members and the change is recorded here: 
 http://sourceforge.net/apps/trac/megaglest/changeset/2253
 
 On the MegaGlest forums was it explained too:
 
 http://glest.org/glest_board/index.php?topic=7086.msg72740#msg72740
 
 Please find attached a complete new patch file which was generated 
 against PORTVERSION 3.4.0.
 
 Applying these patch set, some files will shrink to 0 Bytes in size. So, 
 they can be deleted anyways.
 
 Sven
 
 --------------010909040503050909000405
 Content-Type: text/plain;
  name="megaglest-3.5.1-diff.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="megaglest-3.5.1-diff.txt"
 
 diff -ruN megaglest.orig/Makefile megaglest/Makefile
 --- megaglest.orig/Makefile	2011-04-10 02:45:08.000000000 +0200
 +++ megaglest/Makefile	2011-05-10 23:49:14.000000000 +0200
 @@ -6,7 +6,7 @@
  #
  
  PORTNAME=	megaglest
 -PORTVERSION=	3.4.0
 +PORTVERSION=	3.5.1
  CATEGORIES=	games
  MASTER_SITES=	SF/${PORTNAME}/current_release/
  DISTNAME=	${PORTNAME}-source-${PORTVERSION}
 @@ -21,9 +21,9 @@
  		vorbis.4:${PORTSDIR}/audio/libvorbis
  RUN_DEPENDS=	${DATADIR}/tutorials/basic_tutorial/basic_tutorial.xml:${PORTSDIR}/games/megaglest-data
  
 -SUB_FILES=	glest-wrapper pkg-message
 +SUB_FILES=	pkg-message
  
 -USE_BZIP2=	yes
 +USE_XZ=		yes
  USE_CMAKE=	yes
  USE_DOS2UNIX=	yes
  USE_GL=		yes
 @@ -32,6 +32,8 @@
  USE_SDL=	yes
  USE_WX=		2.8+
  
 +WRKSRC=         ${WRKDIR}/${PORTNAME}-${PORTVERSION}
 +
  OPTIONS=	EDITOR "Install MegaGlest Editor" off
  
  .include <bsd.port.options.mk>
 @@ -43,22 +45,21 @@
  .endif
  
  do-install:
 -	${STRIP_CMD} ${WRKSRC}/mk/linux/glest.bin
 +	${STRIP_CMD} ${WRKSRC}/mk/linux/megaglest
  	@${MKDIR} ${DATADIR}
  .if !defined(NOPORTDOCS)
  	@${MKDIR} ${DOCSDIR}
  .endif
 -	${INSTALL_PROGRAM} ${WRKSRC}/mk/linux/glest.bin ${DATADIR}
 +	${INSTALL_PROGRAM} ${WRKSRC}/mk/linux/megaglest ${PREFIX}/bin/${PORTNAME}
  .for f in glest.ini glestkeys.ini servers.ini
  	${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
  .endfor
 -	${INSTALL_SCRIPT} ${WRKDIR}/glest-wrapper ${PREFIX}/bin/${PORTNAME}
 -.if !defined(NOPORTDOCS)
 -	${INSTALL_DATA} ${WRKSRC}/code_license.txt ${DOCSDIR}
 -.endif
 +.for f in AUTHORS.source_code.txt CHANGELOG.txt README.txt COPYRIGHT.source_code.txt
 +	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
 +.endfor
  .if defined(WITH_EDITOR)
 -	${INSTALL_PROGRAM} ${WRKSRC}/mk/linux/glest_editor ${PREFIX}/bin/megaglest_editor
 -.endif
 +	${INSTALL_PROGRAM} ${WRKSRC}/mk/linux/megaglest_editor ${PREFIX}/bin/megaglest_editor
 +.endif 
  
  post-install:
  	@${CAT} ${PKGMESSAGE}
 diff -ruN megaglest.orig/distinfo megaglest/distinfo
 --- megaglest.orig/distinfo	2011-04-07 07:17:21.000000000 +0200
 +++ megaglest/distinfo	2011-05-10 23:47:02.000000000 +0200
 @@ -1,2 +1,2 @@
 -SHA256 (megaglest-source-3.4.0.tar.bz2) = da17c210fb6c3c366bf0e2b44e243740008c3a6ad62f27d631002e46f0210654
 -SIZE (megaglest-source-3.4.0.tar.bz2) = 899312
 +SHA256 (megaglest-source-3.5.1.tar.xz) = c1b074d4bd5ede63818fcf02c46c7c6cef08fb59e8ba880be4135acab14033a1
 +SIZE (megaglest-source-3.5.1.tar.xz) = 3237432
 diff -ruN megaglest.orig/files/glest-wrapper.in megaglest/files/glest-wrapper.in
 --- megaglest.orig/files/glest-wrapper.in	2011-04-07 07:17:21.000000000 +0200
 +++ megaglest/files/glest-wrapper.in	1970-01-01 01:00:00.000000000 +0100
 @@ -1,27 +0,0 @@
 -#!/bin/sh
 -
 -# The executable needs to be run from its data directory, and needs to store
 -# configuration in it. We therefore mirror the data directory hierarchy in
 -# ~/.megaglest3.4.0, and create symlinks to the data files.
 -
 -if [ -d ~/.megaglest3.4.0 ]
 -then
 -        echo "Using existing ~/.megaglest3.4.0 directory."
 -else
 -        echo "Creating ~/.megaglest3.4.0 directory."
 -        cd %%DATADIR%% || exit 1
 -        find * -type d -exec mkdir -p ~/.megaglest3.4.0/{} \;
 -        find * -type f -exec ln -s %%DATADIR%%/{} ~/.megaglest3.4.0/{} \; 2>/dev/null
 -	mkdir -p ~/.megaglest3.4.0/screens
 -	mkdir -p ~/.megaglest3.4.0/shaders/standard
 -	touch ~/.megaglest3.4.0/megaglest.log
 -	rm ~/.megaglest3.4.0/glest.ini ~/.megaglest3.4.0/megaglest ~/.megaglest3.4.0/servers.ini
 -	cp -f %%DATADIR%%/glest.ini ~/.megaglest3.4.0/
 -	cp -f %%DATADIR%%/glestkeys.ini ~/.megaglest3.4.0/
 -	cp -f %%DATADIR%%/servers.ini ~/.megaglest3.4.0/
 -	chmod 640 ~/.megaglest3.4.0/glest.ini ~/.megaglest3.4.0/servers.ini
 -fi
 -
 -cd ~/.megaglest3.4.0 || exit 1
 -echo "Please be patient while loading MegaGlest..."
 -exec %%DATADIR%%/glest.bin "$@"
 diff -ruN megaglest.orig/files/patch-CMakeLists.txt megaglest/files/patch-CMakeLists.txt
 --- megaglest.orig/files/patch-CMakeLists.txt	2011-04-07 07:17:21.000000000 +0200
 +++ megaglest/files/patch-CMakeLists.txt	1970-01-01 01:00:00.000000000 +0100
 @@ -1,23 +0,0 @@
 -*** CMakeLists.txt	2011-02-10 17:41:19.000000000 +0100
 ---- CMakeLists.txt_FreeBSD	2011-02-10 17:41:56.000000000 +0100
 -*************** IF(CMAKE_COMPILER_IS_GNUCXX OR MINGW)
 -*** 59,76 ****
 -- 	OPTION(WANT_SVN_STAMP "use svn stamp" ON)
 -- 	IF(WANT_SVN_STAMP)
 -- 		# The stuff below gets SVN Global Revision # but ONLY when calling cmake!
 -- 		# the FindSubversion.cmake module is part of the standard distribution
 -- 		include(FindSubversion)
 -- 		# extract working copy information for SOURCE_DIR into MY_XXX variables
 -- 		Subversion_WC_INFO(${PROJECT_SOURCE_DIR} MG)
 -- 		#add_definitions(-DSVNVERSION="${MG_WC_REVISION}")
 -- 	ENDIF()
 -- 
 -- 	SET(SVN_VERSION_CMD "-DSVNVERSION='\\\"${MG_WC_REVISION}\\\"'")
 -- 
 -- 	IF(UNIX AND NOT APPLE)
 -- 		# We do some funky character escaping to get the right stuff written out to 
 -- 		# the final Makefile so we get the SVN Global Revsion #
 -- 		SET(SVN_VERSION_CMD "-DSVNVERSION='\\\"`svnversion -n ${PROJECT_SOURCE_DIR}`\\\"'")
 -- 	ENDIF()
 -- 
 ---- 58 ----
 diff -ruN megaglest.orig/files/pkg-message.in megaglest/files/pkg-message.in
 --- megaglest.orig/files/pkg-message.in	2011-04-10 02:45:08.000000000 +0200
 +++ megaglest/files/pkg-message.in	2011-04-25 22:33:49.000000000 +0200
 @@ -13,4 +13,9 @@
  
  4) Enjoy it ;)
  
 +5) If you did an updrade from version 3.4.0 your personal settings are stored
 +   in ~/.megaglest3.4.0
 +   When you copy glestuser.ini and glestuserkeys.ini to ~/.megaglest
 +   you'll have your old settings again.
 +
  ###############################################################################
 diff -ruN megaglest.orig/pkg-plist megaglest/pkg-plist
 --- megaglest.orig/pkg-plist	2011-04-10 02:45:08.000000000 +0200
 +++ megaglest/pkg-plist	2011-05-11 00:36:19.000000000 +0200
 @@ -1,9 +1,11 @@
  %%EDITOR%%bin/megaglest_editor
  bin/megaglest
 -%%DATADIR%%/glest.bin
  %%DATADIR%%/glest.ini
  %%DATADIR%%/glestkeys.ini
  %%DATADIR%%/servers.ini
 -%%PORTDOCS%%%%DOCSDIR%%/code_license.txt
 +%%PORTDOCS%%%%DOCSDIR%%/README.txt
 +%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT.source_code.txt
 +%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG.txt
 +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS.source_code.txt
  %%PORTDOCS%%@dirrmtry %%DOCSDIR%%
  @dirrmtry %%DATADIR%%
 
 --------------010909040503050909000405--

From: Sven Moeller <smoeller@nichthelfer.de>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc:  
Subject: Re: ports/156895: Update for 3D RTS Game MegaGlest
Date: Wed, 15 Jun 2011 01:29:14 +0200

 This is a multi-part message in MIME format.
 --------------020104010108040909090807
 Content-Type: text/plain; charset=ISO-8859-15; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Here's an update for Version 3.5.2 of MegaGlest. The diffs were made 
 against Port version 3.4.0
 
 
 --------------020104010108040909090807
 Content-Type: text/plain;
  name="megaglest-3.5.2-diff.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="megaglest-3.5.2-diff.txt"
 
 diff -ruN megaglest.orig/Makefile megaglest/Makefile
 --- megaglest.orig/Makefile	2011-04-10 02:45:08.000000000 +0200
 +++ megaglest/Makefile	2011-06-14 23:18:34.000000000 +0200
 @@ -6,10 +6,11 @@
  #
  
  PORTNAME=	megaglest
 -PORTVERSION=	3.4.0
 +PORTVERSION=	3.5.2
 +PORTREVISION=	3
  CATEGORIES=	games
  MASTER_SITES=	SF/${PORTNAME}/current_release/
 -DISTNAME=	${PORTNAME}-source-${PORTVERSION}
 +DISTNAME=	${PORTNAME}-source-${PORTVERSION}.${PORTREVISION}
  
  MAINTAINER=	smoeller@nichthelfer.de
  COMMENT=	Open source 3D real-time strategy game
 @@ -21,9 +22,9 @@
  		vorbis.4:${PORTSDIR}/audio/libvorbis
  RUN_DEPENDS=	${DATADIR}/tutorials/basic_tutorial/basic_tutorial.xml:${PORTSDIR}/games/megaglest-data
  
 -SUB_FILES=	glest-wrapper pkg-message
 +SUB_FILES=	pkg-message
  
 -USE_BZIP2=	yes
 +USE_XZ=		yes
  USE_CMAKE=	yes
  USE_DOS2UNIX=	yes
  USE_GL=		yes
 @@ -32,6 +33,8 @@
  USE_SDL=	yes
  USE_WX=		2.8+
  
 +WRKSRC=         ${WRKDIR}/${PORTNAME}-${PORTVERSION}
 +
  OPTIONS=	EDITOR "Install MegaGlest Editor" off
  
  .include <bsd.port.options.mk>
 @@ -43,22 +46,21 @@
  .endif
  
  do-install:
 -	${STRIP_CMD} ${WRKSRC}/mk/linux/glest.bin
 +	${STRIP_CMD} ${WRKSRC}/mk/linux/megaglest
  	@${MKDIR} ${DATADIR}
  .if !defined(NOPORTDOCS)
  	@${MKDIR} ${DOCSDIR}
  .endif
 -	${INSTALL_PROGRAM} ${WRKSRC}/mk/linux/glest.bin ${DATADIR}
 +	${INSTALL_PROGRAM} ${WRKSRC}/mk/linux/megaglest ${PREFIX}/bin/${PORTNAME}
  .for f in glest.ini glestkeys.ini servers.ini
  	${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
  .endfor
 -	${INSTALL_SCRIPT} ${WRKDIR}/glest-wrapper ${PREFIX}/bin/${PORTNAME}
 -.if !defined(NOPORTDOCS)
 -	${INSTALL_DATA} ${WRKSRC}/code_license.txt ${DOCSDIR}
 -.endif
 +.for f in AUTHORS.source_code.txt CHANGELOG.txt README.txt COPYRIGHT.source_code.txt
 +	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
 +.endfor
  .if defined(WITH_EDITOR)
 -	${INSTALL_PROGRAM} ${WRKSRC}/mk/linux/glest_editor ${PREFIX}/bin/megaglest_editor
 -.endif
 +	${INSTALL_PROGRAM} ${WRKSRC}/mk/linux/megaglest_editor ${PREFIX}/bin/megaglest_editor
 +.endif 
  
  post-install:
  	@${CAT} ${PKGMESSAGE}
 diff -ruN megaglest.orig/distinfo megaglest/distinfo
 --- megaglest.orig/distinfo	2011-04-07 07:17:21.000000000 +0200
 +++ megaglest/distinfo	2011-05-29 21:15:02.000000000 +0200
 @@ -1,2 +1,2 @@
 -SHA256 (megaglest-source-3.4.0.tar.bz2) = da17c210fb6c3c366bf0e2b44e243740008c3a6ad62f27d631002e46f0210654
 -SIZE (megaglest-source-3.4.0.tar.bz2) = 899312
 +SHA256 (megaglest-source-3.5.2.3.tar.xz) = 76e1c899aeffa54cbf0de38104a7bc4d6abcc5a504922636bfba4c44d9d40454
 +SIZE (megaglest-source-3.5.2.3.tar.xz) = 1185872
 diff -ruN megaglest.orig/files/glest-wrapper.in megaglest/files/glest-wrapper.in
 --- megaglest.orig/files/glest-wrapper.in	2011-04-07 07:17:21.000000000 +0200
 +++ megaglest/files/glest-wrapper.in	1970-01-01 01:00:00.000000000 +0100
 @@ -1,27 +0,0 @@
 -#!/bin/sh
 -
 -# The executable needs to be run from its data directory, and needs to store
 -# configuration in it. We therefore mirror the data directory hierarchy in
 -# ~/.megaglest3.4.0, and create symlinks to the data files.
 -
 -if [ -d ~/.megaglest3.4.0 ]
 -then
 -        echo "Using existing ~/.megaglest3.4.0 directory."
 -else
 -        echo "Creating ~/.megaglest3.4.0 directory."
 -        cd %%DATADIR%% || exit 1
 -        find * -type d -exec mkdir -p ~/.megaglest3.4.0/{} \;
 -        find * -type f -exec ln -s %%DATADIR%%/{} ~/.megaglest3.4.0/{} \; 2>/dev/null
 -	mkdir -p ~/.megaglest3.4.0/screens
 -	mkdir -p ~/.megaglest3.4.0/shaders/standard
 -	touch ~/.megaglest3.4.0/megaglest.log
 -	rm ~/.megaglest3.4.0/glest.ini ~/.megaglest3.4.0/megaglest ~/.megaglest3.4.0/servers.ini
 -	cp -f %%DATADIR%%/glest.ini ~/.megaglest3.4.0/
 -	cp -f %%DATADIR%%/glestkeys.ini ~/.megaglest3.4.0/
 -	cp -f %%DATADIR%%/servers.ini ~/.megaglest3.4.0/
 -	chmod 640 ~/.megaglest3.4.0/glest.ini ~/.megaglest3.4.0/servers.ini
 -fi
 -
 -cd ~/.megaglest3.4.0 || exit 1
 -echo "Please be patient while loading MegaGlest..."
 -exec %%DATADIR%%/glest.bin "$@"
 diff -ruN megaglest.orig/files/patch-CMakeLists.txt megaglest/files/patch-CMakeLists.txt
 --- megaglest.orig/files/patch-CMakeLists.txt	2011-04-07 07:17:21.000000000 +0200
 +++ megaglest/files/patch-CMakeLists.txt	1970-01-01 01:00:00.000000000 +0100
 @@ -1,23 +0,0 @@
 -*** CMakeLists.txt	2011-02-10 17:41:19.000000000 +0100
 ---- CMakeLists.txt_FreeBSD	2011-02-10 17:41:56.000000000 +0100
 -*************** IF(CMAKE_COMPILER_IS_GNUCXX OR MINGW)
 -*** 59,76 ****
 -- 	OPTION(WANT_SVN_STAMP "use svn stamp" ON)
 -- 	IF(WANT_SVN_STAMP)
 -- 		# The stuff below gets SVN Global Revision # but ONLY when calling cmake!
 -- 		# the FindSubversion.cmake module is part of the standard distribution
 -- 		include(FindSubversion)
 -- 		# extract working copy information for SOURCE_DIR into MY_XXX variables
 -- 		Subversion_WC_INFO(${PROJECT_SOURCE_DIR} MG)
 -- 		#add_definitions(-DSVNVERSION="${MG_WC_REVISION}")
 -- 	ENDIF()
 -- 
 -- 	SET(SVN_VERSION_CMD "-DSVNVERSION='\\\"${MG_WC_REVISION}\\\"'")
 -- 
 -- 	IF(UNIX AND NOT APPLE)
 -- 		# We do some funky character escaping to get the right stuff written out to 
 -- 		# the final Makefile so we get the SVN Global Revsion #
 -- 		SET(SVN_VERSION_CMD "-DSVNVERSION='\\\"`svnversion -n ${PROJECT_SOURCE_DIR}`\\\"'")
 -- 	ENDIF()
 -- 
 ---- 58 ----
 diff -ruN megaglest.orig/files/pkg-message.in megaglest/files/pkg-message.in
 --- megaglest.orig/files/pkg-message.in	2011-04-10 02:45:08.000000000 +0200
 +++ megaglest/files/pkg-message.in	2011-04-25 22:33:49.000000000 +0200
 @@ -13,4 +13,9 @@
  
  4) Enjoy it ;)
  
 +5) If you did an updrade from version 3.4.0 your personal settings are stored
 +   in ~/.megaglest3.4.0
 +   When you copy glestuser.ini and glestuserkeys.ini to ~/.megaglest
 +   you'll have your old settings again.
 +
  ###############################################################################
 diff -ruN megaglest.orig/pkg-plist megaglest/pkg-plist
 --- megaglest.orig/pkg-plist	2011-04-10 02:45:08.000000000 +0200
 +++ megaglest/pkg-plist	2011-05-11 00:36:19.000000000 +0200
 @@ -1,9 +1,11 @@
  %%EDITOR%%bin/megaglest_editor
  bin/megaglest
 -%%DATADIR%%/glest.bin
  %%DATADIR%%/glest.ini
  %%DATADIR%%/glestkeys.ini
  %%DATADIR%%/servers.ini
 -%%PORTDOCS%%%%DOCSDIR%%/code_license.txt
 +%%PORTDOCS%%%%DOCSDIR%%/README.txt
 +%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT.source_code.txt
 +%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG.txt
 +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS.source_code.txt
  %%PORTDOCS%%@dirrmtry %%DOCSDIR%%
  @dirrmtry %%DATADIR%%
 
 --------------020104010108040909090807--

From: Sven Moeller <smoeller@nichthelfer.de>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc:  
Subject: Re: ports/156895: Update for 3D RTS Game MegaGlest
Date: Sat, 02 Jul 2011 23:53:27 +0200

 This is a multi-part message in MIME format.
 --------------060801080903000805050504
 Content-Type: text/plain; charset=ISO-8859-15; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Am 09.05.2011 01:50, schrieb FreeBSD-gnats-submit@FreeBSD.org:
 > Thank you very much for your problem report.
 > It has the internal identification `ports/156895'.
 > The individual assigned to look at your
 > report is: freebsd-ports-bugs.
 >
 > You can access the state of your problem report at any time
 > via this link:
 >
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=156895
 >
 >> Category:       ports
 >> Responsible:    freebsd-ports-bugs
 >> Synopsis:       Update for 3D RTS Game MegaGlest
 >> Arrival-Date:   Sun May 08 23:50:09 UTC 2011
 
 Hi,
 
 here's another Update of the patches which fixes the use of 
 PORTREVISION. In UPDATING-Text.txt is the text for /usr/ports/UPDATING.
 
 Thanks and kind regards
 
 Sven
 
 --------------060801080903000805050504
 Content-Type: text/plain;
  name="UPDATING-Text.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="UPDATING-Text.txt"
 
 20110702:
   AFFECTS: users of games/megaglest*
   AUTHOR: smoeller@nichthelfer.de
 
   If you did an updrade from version 3.4.0 your personal settings are stored
   in ~/.megaglest3.4.0
   When you copy glestuser.ini and glestuserkeys.ini to ~/.megaglest you'll have your old settings again.
  
 
 --------------060801080903000805050504
 Content-Type: text/plain;
  name="megaglest-3.5.2-diff.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="megaglest-3.5.2-diff.txt"
 
 diff -ruN megaglest.orig/Makefile megaglest/Makefile
 --- megaglest.orig/Makefile	2011-04-10 02:45:08.000000000 +0200
 +++ megaglest/Makefile	2011-07-02 22:54:41.000000000 +0200
 @@ -6,10 +6,10 @@
  #
  
  PORTNAME=	megaglest
 -PORTVERSION=	3.4.0
 +PORTVERSION=	3.5.2
  CATEGORIES=	games
  MASTER_SITES=	SF/${PORTNAME}/current_release/
 -DISTNAME=	${PORTNAME}-source-${PORTVERSION}
 +DISTNAME=	${PORTNAME}-source-${PORTVERSION}.3
  
  MAINTAINER=	smoeller@nichthelfer.de
  COMMENT=	Open source 3D real-time strategy game
 @@ -21,9 +21,9 @@
  		vorbis.4:${PORTSDIR}/audio/libvorbis
  RUN_DEPENDS=	${DATADIR}/tutorials/basic_tutorial/basic_tutorial.xml:${PORTSDIR}/games/megaglest-data
  
 -SUB_FILES=	glest-wrapper pkg-message
 +SUB_FILES=	pkg-message
  
 -USE_BZIP2=	yes
 +USE_XZ=		yes
  USE_CMAKE=	yes
  USE_DOS2UNIX=	yes
  USE_GL=		yes
 @@ -32,6 +32,8 @@
  USE_SDL=	yes
  USE_WX=		2.8+
  
 +WRKSRC=         ${WRKDIR}/${PORTNAME}-${PORTVERSION}
 +
  OPTIONS=	EDITOR "Install MegaGlest Editor" off
  
  .include <bsd.port.options.mk>
 @@ -43,22 +45,21 @@
  .endif
  
  do-install:
 -	${STRIP_CMD} ${WRKSRC}/mk/linux/glest.bin
 +	${STRIP_CMD} ${WRKSRC}/mk/linux/megaglest
  	@${MKDIR} ${DATADIR}
  .if !defined(NOPORTDOCS)
  	@${MKDIR} ${DOCSDIR}
  .endif
 -	${INSTALL_PROGRAM} ${WRKSRC}/mk/linux/glest.bin ${DATADIR}
 +	${INSTALL_PROGRAM} ${WRKSRC}/mk/linux/megaglest ${PREFIX}/bin/${PORTNAME}
  .for f in glest.ini glestkeys.ini servers.ini
  	${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
  .endfor
 -	${INSTALL_SCRIPT} ${WRKDIR}/glest-wrapper ${PREFIX}/bin/${PORTNAME}
 -.if !defined(NOPORTDOCS)
 -	${INSTALL_DATA} ${WRKSRC}/code_license.txt ${DOCSDIR}
 -.endif
 +.for f in AUTHORS.source_code.txt CHANGELOG.txt README.txt COPYRIGHT.source_code.txt
 +	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
 +.endfor
  .if defined(WITH_EDITOR)
 -	${INSTALL_PROGRAM} ${WRKSRC}/mk/linux/glest_editor ${PREFIX}/bin/megaglest_editor
 -.endif
 +	${INSTALL_PROGRAM} ${WRKSRC}/mk/linux/megaglest_editor ${PREFIX}/bin/megaglest_editor
 +.endif 
  
  post-install:
  	@${CAT} ${PKGMESSAGE}
 diff -ruN megaglest.orig/distinfo megaglest/distinfo
 --- megaglest.orig/distinfo	2011-04-07 07:17:21.000000000 +0200
 +++ megaglest/distinfo	2011-05-29 21:15:02.000000000 +0200
 @@ -1,2 +1,2 @@
 -SHA256 (megaglest-source-3.4.0.tar.bz2) = da17c210fb6c3c366bf0e2b44e243740008c3a6ad62f27d631002e46f0210654
 -SIZE (megaglest-source-3.4.0.tar.bz2) = 899312
 +SHA256 (megaglest-source-3.5.2.3.tar.xz) = 76e1c899aeffa54cbf0de38104a7bc4d6abcc5a504922636bfba4c44d9d40454
 +SIZE (megaglest-source-3.5.2.3.tar.xz) = 1185872
 diff -ruN megaglest.orig/files/glest-wrapper.in megaglest/files/glest-wrapper.in
 --- megaglest.orig/files/glest-wrapper.in	2011-04-07 07:17:21.000000000 +0200
 +++ megaglest/files/glest-wrapper.in	1970-01-01 01:00:00.000000000 +0100
 @@ -1,27 +0,0 @@
 -#!/bin/sh
 -
 -# The executable needs to be run from its data directory, and needs to store
 -# configuration in it. We therefore mirror the data directory hierarchy in
 -# ~/.megaglest3.4.0, and create symlinks to the data files.
 -
 -if [ -d ~/.megaglest3.4.0 ]
 -then
 -        echo "Using existing ~/.megaglest3.4.0 directory."
 -else
 -        echo "Creating ~/.megaglest3.4.0 directory."
 -        cd %%DATADIR%% || exit 1
 -        find * -type d -exec mkdir -p ~/.megaglest3.4.0/{} \;
 -        find * -type f -exec ln -s %%DATADIR%%/{} ~/.megaglest3.4.0/{} \; 2>/dev/null
 -	mkdir -p ~/.megaglest3.4.0/screens
 -	mkdir -p ~/.megaglest3.4.0/shaders/standard
 -	touch ~/.megaglest3.4.0/megaglest.log
 -	rm ~/.megaglest3.4.0/glest.ini ~/.megaglest3.4.0/megaglest ~/.megaglest3.4.0/servers.ini
 -	cp -f %%DATADIR%%/glest.ini ~/.megaglest3.4.0/
 -	cp -f %%DATADIR%%/glestkeys.ini ~/.megaglest3.4.0/
 -	cp -f %%DATADIR%%/servers.ini ~/.megaglest3.4.0/
 -	chmod 640 ~/.megaglest3.4.0/glest.ini ~/.megaglest3.4.0/servers.ini
 -fi
 -
 -cd ~/.megaglest3.4.0 || exit 1
 -echo "Please be patient while loading MegaGlest..."
 -exec %%DATADIR%%/glest.bin "$@"
 diff -ruN megaglest.orig/files/patch-CMakeLists.txt megaglest/files/patch-CMakeLists.txt
 --- megaglest.orig/files/patch-CMakeLists.txt	2011-04-07 07:17:21.000000000 +0200
 +++ megaglest/files/patch-CMakeLists.txt	1970-01-01 01:00:00.000000000 +0100
 @@ -1,23 +0,0 @@
 -*** CMakeLists.txt	2011-02-10 17:41:19.000000000 +0100
 ---- CMakeLists.txt_FreeBSD	2011-02-10 17:41:56.000000000 +0100
 -*************** IF(CMAKE_COMPILER_IS_GNUCXX OR MINGW)
 -*** 59,76 ****
 -- 	OPTION(WANT_SVN_STAMP "use svn stamp" ON)
 -- 	IF(WANT_SVN_STAMP)
 -- 		# The stuff below gets SVN Global Revision # but ONLY when calling cmake!
 -- 		# the FindSubversion.cmake module is part of the standard distribution
 -- 		include(FindSubversion)
 -- 		# extract working copy information for SOURCE_DIR into MY_XXX variables
 -- 		Subversion_WC_INFO(${PROJECT_SOURCE_DIR} MG)
 -- 		#add_definitions(-DSVNVERSION="${MG_WC_REVISION}")
 -- 	ENDIF()
 -- 
 -- 	SET(SVN_VERSION_CMD "-DSVNVERSION='\\\"${MG_WC_REVISION}\\\"'")
 -- 
 -- 	IF(UNIX AND NOT APPLE)
 -- 		# We do some funky character escaping to get the right stuff written out to 
 -- 		# the final Makefile so we get the SVN Global Revsion #
 -- 		SET(SVN_VERSION_CMD "-DSVNVERSION='\\\"`svnversion -n ${PROJECT_SOURCE_DIR}`\\\"'")
 -- 	ENDIF()
 -- 
 ---- 58 ----
 diff -ruN megaglest.orig/files/pkg-message.in megaglest/files/pkg-message.in
 --- megaglest.orig/files/pkg-message.in	2011-04-10 02:45:08.000000000 +0200
 +++ megaglest/files/pkg-message.in	2011-04-25 22:33:49.000000000 +0200
 @@ -13,4 +13,9 @@
  
  4) Enjoy it ;)
  
 +5) If you did an updrade from version 3.4.0 your personal settings are stored
 +   in ~/.megaglest3.4.0
 +   When you copy glestuser.ini and glestuserkeys.ini to ~/.megaglest
 +   you'll have your old settings again.
 +
  ###############################################################################
 diff -ruN megaglest.orig/pkg-plist megaglest/pkg-plist
 --- megaglest.orig/pkg-plist	2011-04-10 02:45:08.000000000 +0200
 +++ megaglest/pkg-plist	2011-05-11 00:36:19.000000000 +0200
 @@ -1,9 +1,11 @@
  %%EDITOR%%bin/megaglest_editor
  bin/megaglest
 -%%DATADIR%%/glest.bin
  %%DATADIR%%/glest.ini
  %%DATADIR%%/glestkeys.ini
  %%DATADIR%%/servers.ini
 -%%PORTDOCS%%%%DOCSDIR%%/code_license.txt
 +%%PORTDOCS%%%%DOCSDIR%%/README.txt
 +%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT.source_code.txt
 +%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG.txt
 +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS.source_code.txt
  %%PORTDOCS%%@dirrmtry %%DOCSDIR%%
  @dirrmtry %%DATADIR%%
 
 --------------060801080903000805050504--
Responsible-Changed-From-To: freebsd-ports-bugs->stephen 
Responsible-Changed-By: stephen 
Responsible-Changed-When: Sat Jul 16 03:05:31 UTC 2011 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=156895 
State-Changed-From-To: open->feedback 
State-Changed-By: stephen 
State-Changed-When: Sat Jul 16 15:53:29 UTC 2011 
State-Changed-Why:  
Maintainer/submitter has suggested they may want to make more changes. 

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

From: Stephen Montgomery-Smith <stephen@missouri.edu>
To: bug-followup@FreeBSD.org, smoeller@nichthelfer.de
Cc:  
Subject: Re: ports/156895: Update for games/megaglest
Date: Sat, 16 Jul 2011 10:56:54 -0500

 This is a multi-part message in MIME format.
 --------------050807080601030203010304
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 I changed some of the wording in pkg-message.in.  English is my first 
 language, but I still don't think I have mastered it.  But look it over 
 and decide if you like my changes.  I will make the same changes to the 
 suggested UPDATING.
 
 Please make further changes from this patch (which is against 3.4.0.)
 
 --------------050807080601030203010304
 Content-Type: text/plain;
  name="megaglest-patch.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="megaglest-patch.txt"
 
 Index: Makefile
 ===================================================================
 RCS file: /home/pcvs/ports/games/megaglest/Makefile,v
 retrieving revision 1.2
 diff -u -r1.2 Makefile
 --- Makefile	10 Apr 2011 00:45:08 -0000	1.2
 +++ Makefile	16 Jul 2011 05:48:26 -0000
 @@ -6,10 +6,10 @@
  #
  
  PORTNAME=	megaglest
 -PORTVERSION=	3.4.0
 +PORTVERSION=	3.5.2
  CATEGORIES=	games
  MASTER_SITES=	SF/${PORTNAME}/current_release/
 -DISTNAME=	${PORTNAME}-source-${PORTVERSION}
 +DISTNAME=	${PORTNAME}-source-${PORTVERSION}.3
  
  MAINTAINER=	smoeller@nichthelfer.de
  COMMENT=	Open source 3D real-time strategy game
 @@ -21,9 +21,9 @@
  		vorbis.4:${PORTSDIR}/audio/libvorbis
  RUN_DEPENDS=	${DATADIR}/tutorials/basic_tutorial/basic_tutorial.xml:${PORTSDIR}/games/megaglest-data
  
 -SUB_FILES=	glest-wrapper pkg-message
 +SUB_FILES=	pkg-message
  
 -USE_BZIP2=	yes
 +USE_XZ=		yes
  USE_CMAKE=	yes
  USE_DOS2UNIX=	yes
  USE_GL=		yes
 @@ -32,6 +32,8 @@
  USE_SDL=	yes
  USE_WX=		2.8+
  
 +WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 +
  OPTIONS=	EDITOR "Install MegaGlest Editor" off
  
  .include <bsd.port.options.mk>
 @@ -43,21 +45,20 @@
  .endif
  
  do-install:
 -	${STRIP_CMD} ${WRKSRC}/mk/linux/glest.bin
 +	${STRIP_CMD} ${WRKSRC}/mk/linux/megaglest
  	@${MKDIR} ${DATADIR}
  .if !defined(NOPORTDOCS)
  	@${MKDIR} ${DOCSDIR}
  .endif
 -	${INSTALL_PROGRAM} ${WRKSRC}/mk/linux/glest.bin ${DATADIR}
 +	${INSTALL_PROGRAM} ${WRKSRC}/mk/linux/megaglest ${PREFIX}/bin/${PORTNAME}
  .for f in glest.ini glestkeys.ini servers.ini
  	${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
  .endfor
 -	${INSTALL_SCRIPT} ${WRKDIR}/glest-wrapper ${PREFIX}/bin/${PORTNAME}
 -.if !defined(NOPORTDOCS)
 -	${INSTALL_DATA} ${WRKSRC}/code_license.txt ${DOCSDIR}
 -.endif
 +.for f in AUTHORS.source_code.txt CHANGELOG.txt README.txt COPYRIGHT.source_code.txt
 +	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
 +.endfor
  .if defined(WITH_EDITOR)
 -	${INSTALL_PROGRAM} ${WRKSRC}/mk/linux/glest_editor ${PREFIX}/bin/megaglest_editor
 +	${INSTALL_PROGRAM} ${WRKSRC}/mk/linux/megaglest_editor ${PREFIX}/bin/megaglest_editor
  .endif
  
  post-install:
 Index: distinfo
 ===================================================================
 RCS file: /home/pcvs/ports/games/megaglest/distinfo,v
 retrieving revision 1.1
 diff -u -r1.1 distinfo
 --- distinfo	7 Apr 2011 05:17:21 -0000	1.1
 +++ distinfo	16 Jul 2011 05:48:26 -0000
 @@ -1,2 +1,2 @@
 -SHA256 (megaglest-source-3.4.0.tar.bz2) = da17c210fb6c3c366bf0e2b44e243740008c3a6ad62f27d631002e46f0210654
 -SIZE (megaglest-source-3.4.0.tar.bz2) = 899312
 +SHA256 (megaglest-source-3.5.2.3.tar.xz) = 76e1c899aeffa54cbf0de38104a7bc4d6abcc5a504922636bfba4c44d9d40454
 +SIZE (megaglest-source-3.5.2.3.tar.xz) = 1185872
 Index: pkg-plist
 ===================================================================
 RCS file: /home/pcvs/ports/games/megaglest/pkg-plist,v
 retrieving revision 1.2
 diff -u -r1.2 pkg-plist
 --- pkg-plist	10 Apr 2011 00:45:08 -0000	1.2
 +++ pkg-plist	16 Jul 2011 05:48:26 -0000
 @@ -1,9 +1,11 @@
  %%EDITOR%%bin/megaglest_editor
  bin/megaglest
 -%%DATADIR%%/glest.bin
  %%DATADIR%%/glest.ini
  %%DATADIR%%/glestkeys.ini
  %%DATADIR%%/servers.ini
 -%%PORTDOCS%%%%DOCSDIR%%/code_license.txt
 +%%PORTDOCS%%%%DOCSDIR%%/README.txt
 +%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT.source_code.txt
 +%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG.txt
 +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS.source_code.txt
  %%PORTDOCS%%@dirrmtry %%DOCSDIR%%
  @dirrmtry %%DATADIR%%
 Index: files/glest-wrapper.in
 ===================================================================
 RCS file: files/glest-wrapper.in
 diff -N files/glest-wrapper.in
 --- files/glest-wrapper.in	7 Apr 2011 05:17:21 -0000	1.1
 +++ /dev/null	1 Jan 1970 00:00:00 -0000
 @@ -1,27 +0,0 @@
 -#!/bin/sh
 -
 -# The executable needs to be run from its data directory, and needs to store
 -# configuration in it. We therefore mirror the data directory hierarchy in
 -# ~/.megaglest3.4.0, and create symlinks to the data files.
 -
 -if [ -d ~/.megaglest3.4.0 ]
 -then
 -        echo "Using existing ~/.megaglest3.4.0 directory."
 -else
 -        echo "Creating ~/.megaglest3.4.0 directory."
 -        cd %%DATADIR%% || exit 1
 -        find * -type d -exec mkdir -p ~/.megaglest3.4.0/{} \;
 -        find * -type f -exec ln -s %%DATADIR%%/{} ~/.megaglest3.4.0/{} \; 2>/dev/null
 -	mkdir -p ~/.megaglest3.4.0/screens
 -	mkdir -p ~/.megaglest3.4.0/shaders/standard
 -	touch ~/.megaglest3.4.0/megaglest.log
 -	rm ~/.megaglest3.4.0/glest.ini ~/.megaglest3.4.0/megaglest ~/.megaglest3.4.0/servers.ini
 -	cp -f %%DATADIR%%/glest.ini ~/.megaglest3.4.0/
 -	cp -f %%DATADIR%%/glestkeys.ini ~/.megaglest3.4.0/
 -	cp -f %%DATADIR%%/servers.ini ~/.megaglest3.4.0/
 -	chmod 640 ~/.megaglest3.4.0/glest.ini ~/.megaglest3.4.0/servers.ini
 -fi
 -
 -cd ~/.megaglest3.4.0 || exit 1
 -echo "Please be patient while loading MegaGlest..."
 -exec %%DATADIR%%/glest.bin "$@"
 Index: files/patch-CMakeLists.txt
 ===================================================================
 RCS file: files/patch-CMakeLists.txt
 diff -N files/patch-CMakeLists.txt
 --- files/patch-CMakeLists.txt	7 Apr 2011 05:17:21 -0000	1.1
 +++ /dev/null	1 Jan 1970 00:00:00 -0000
 @@ -1,23 +0,0 @@
 -*** CMakeLists.txt	2011-02-10 17:41:19.000000000 +0100
 ---- CMakeLists.txt_FreeBSD	2011-02-10 17:41:56.000000000 +0100
 -*************** IF(CMAKE_COMPILER_IS_GNUCXX OR MINGW)
 -*** 59,76 ****
 -- 	OPTION(WANT_SVN_STAMP "use svn stamp" ON)
 -- 	IF(WANT_SVN_STAMP)
 -- 		# The stuff below gets SVN Global Revision # but ONLY when calling cmake!
 -- 		# the FindSubversion.cmake module is part of the standard distribution
 -- 		include(FindSubversion)
 -- 		# extract working copy information for SOURCE_DIR into MY_XXX variables
 -- 		Subversion_WC_INFO(${PROJECT_SOURCE_DIR} MG)
 -- 		#add_definitions(-DSVNVERSION="${MG_WC_REVISION}")
 -- 	ENDIF()
 -- 
 -- 	SET(SVN_VERSION_CMD "-DSVNVERSION='\\\"${MG_WC_REVISION}\\\"'")
 -- 
 -- 	IF(UNIX AND NOT APPLE)
 -- 		# We do some funky character escaping to get the right stuff written out to 
 -- 		# the final Makefile so we get the SVN Global Revsion #
 -- 		SET(SVN_VERSION_CMD "-DSVNVERSION='\\\"`svnversion -n ${PROJECT_SOURCE_DIR}`\\\"'")
 -- 	ENDIF()
 -- 
 ---- 58 ----
 Index: files/pkg-message.in
 ===================================================================
 RCS file: /home/pcvs/ports/games/megaglest/files/pkg-message.in,v
 retrieving revision 1.2
 diff -u -r1.2 pkg-message.in
 --- files/pkg-message.in	10 Apr 2011 00:45:08 -0000	1.2
 +++ files/pkg-message.in	16 Jul 2011 05:48:26 -0000
 @@ -1,16 +1,21 @@
  ###############################################################################
  
 -The megaglest game has been installed:
 +The megaglest game has been installed.
  
 -1) You will find the megaglest configuration files in ~/.megaglest
 +1) The megaglest configuration files are stored in ~/.megaglest.
  
 -2) If you instlled the megaglest map editor you could lounch it like this:
 +2) If you installed the megaglest map editor, you can launch it using the
 +   command:
  
     # megaglest_editor
  
 -3) If you have problems running megaglest, you should remove your ~/.megaglest 
 -   directory and try again
 +3) If you have problems running megaglest, remove your ~/.megaglest directory
 +   and try again.
  
  4) Enjoy it ;)
  
 +5) If you upgraded from version 3.4.0, your personal settings are stored in
 +   ~/.megaglest3.4.0.  If you copy glestuser.ini and glestuserkeys.ini to
 +   ~/.megaglest, you will have your old settings again.
 +
  ###############################################################################
 
 --------------050807080601030203010304--

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/156895: commit references a PR
Date: Thu, 21 Jul 2011 04:18:07 +0000 (UTC)

 stephen     2011-07-21 04:17:58 UTC
 
   FreeBSD ports repository
 
   Modified files:
     games/megaglest      Makefile distinfo pkg-plist 
     games/megaglest/files pkg-message.in 
   Removed files:
     games/megaglest/files glest-wrapper.in patch-CMakeLists.txt 
   Log:
   - Update to 3.5.2.
   
   PR:             ports/156895
   Submitted by:   Sven Moeller <smoeller@nichthelfer.de>
   Approved by:    maho (mentor)
   
   Revision  Changes    Path
   1.3       +12 -11    ports/games/megaglest/Makefile
   1.2       +2 -2      ports/games/megaglest/distinfo
   1.2       +0 -27     ports/games/megaglest/files/glest-wrapper.in (dead)
   1.2       +0 -23     ports/games/megaglest/files/patch-CMakeLists.txt (dead)
   1.3       +10 -5     ports/games/megaglest/files/pkg-message.in
   1.3       +4 -2      ports/games/megaglest/pkg-plist
 _______________________________________________
 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"
 
State-Changed-From-To: feedback->closed 
State-Changed-By: stephen 
State-Changed-When: Thu Jul 21 04:24:41 UTC 2011 
State-Changed-Why:  
Committed, thanks. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/156895: commit references a PR
Date: Thu, 21 Jul 2011 15:20:34 +0000 (UTC)

 stephen     2011-07-21 15:20:25 UTC
 
   FreeBSD ports repository
 
   Modified files:
     .                    UPDATING 
   Log:
   - Note to users of games/megaglest on keeping old settings.
   
   PR:             ports/156895
   Submitted by:   Sven Moeller <smoeller@nichthelfer.de>
   Approved by:    maho (mentor)
   
   Revision  Changes    Path
   1.1109    +9 -1      ports/UPDATING
 _______________________________________________
 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:
