ports/156896: Update of games/megaglest-data

Sven Moeller smoeller at nichthelfer.de
Tue May 10 23:00:21 UTC 2011


The following reply was made to PR ports/156896; it has been noted by GNATS.

From: Sven Moeller <smoeller at nichthelfer.de>
To: bug-followup at FreeBSD.org, smoeller at nichthelfer.de
Cc:  
Subject: Re: ports/156896: Update of games/megaglest-data
Date: Wed, 11 May 2011 00:55:12 +0200

 This is a multi-part message in MIME format.
 --------------060405090301050601030506
 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.
 
 
 Sven
 
 --------------060405090301050601030506
 Content-Type: text/plain;
  name="megaglest-data-3.5.1-diff.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="megaglest-data-3.5.1-diff.txt"
 
 diff -ruN megaglest-data.orig/Makefile megaglest-data/Makefile
 --- megaglest-data.orig/Makefile	2011-04-07 07:13:40.000000000 +0200
 +++ megaglest-data/Makefile	2011-05-11 00:06:53.000000000 +0200
 @@ -6,38 +6,33 @@
  #
  
  PORTNAME=	megaglest
 -PORTVERSION=	3.4.0
 +PORTVERSION=	3.5.1
  CATEGORIES=	games
  MASTER_SITES=	SF/${PORTNAME}/current_release/
  PKGNAMESUFFIX=	-data
 -DISTNAME=	${PORTNAME}-fixed${PKGNAMESUFFIX:S/-/_/}-${PORTVERSION}
 -EXTRACT_SUFX=	.7z
 +DISTNAME=	${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
  
  MAINTAINER=	smoeller at nichthelfer.de
  COMMENT=	MegaGlest data files
  
 -EXTRACT_DEPENDS=7z:${PORTSDIR}/archivers/p7zip
 -
 +USE_XZ=		yes
  USE_DOS2UNIX=	*.log *.ini *.html *.txt *.lng
  NO_BUILD=	yes
  
 -WRKSRC=		${WRKDIR}/${PORTNAME}_game
 -
 -PLIST=		${WRKDIR}/pkg-plist
 +WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
  
 -do-extract:
 -	@${MKDIR} ${WRKSRC}
 -	@cd ${WRKSRC} && \
 -		${LOCALBASE}/bin/7z x ${DISTDIR}/${DISTFILES} >/dev/null
 +#		this way $PLIST won't be deleted by "make clean"
 +PLIST=		${PORTSDIR}/games/${PORTNAME}${PKGNAMESUFFIX}/pkg-plist
  
  pre-install:
 -	@${ECHO_CMD} "%%DATADIR%%/megaglest.ico" >> ${PLIST}
 -
 +	${RM} -f ${PLIST}
  .for DIR in data maps scenarios techs tilesets tutorials
  	@cd ${WRKSRC} && \
  		${FIND} ${DIR} -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/|' >> ${PLIST} && \
  			${FIND} ${DIR} -type d | ${SORT} -r | ${SED} -e 's|^|@dirrmtry %%DATADIR%%/|' >> ${PLIST}
  .endfor
 +	@${ECHO_CMD} "share/applications/megaglest.desktop" >> ${PLIST}
 +	@${ECHO_CMD} "share/icons/megaglest.png" >> ${PLIST}
  	@${ECHO_CMD} "@dirrmtry %%DATADIR%%" >> ${PLIST}
  
  .if !defined(NOPORTDOCS)
 @@ -50,13 +45,14 @@
  do-install:
  .if !defined(NOPORTDOCS)
  	@${MKDIR} ${DOCSDIR}/glest_factions
 -.for f in AUTHORS CHANGELOG LICENSE README data_license.txt data_license_readme.txt
 +.for f in AUTHORS.data.txt README.data-license.txt cc-by-sa-3.0-unported.txt COPYRIGHT.data.txt
  	${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR}
  .endfor
  	(cd ${WRKSRC}/docs/glest_factions && ${COPYTREE_SHARE} "*" ${DOCSDIR}/glest_factions)
  .endif
  	@${MKDIR} ${DATADIR}
 -	${INSTALL_DATA} ${WRKSRC}/megaglest.ico ${DATADIR}
 +	${INSTALL_DATA} ${WRKSRC}/megaglest.desktop ${PREFIX}/share/applications/
 +	${INSTALL_DATA} ${WRKSRC}/megaglest.png ${PREFIX}/share/icons/
  
  .for DIR in data maps scenarios techs tilesets tutorials
  	${MKDIR} ${DATADIR}/${DIR}
 diff -ruN megaglest-data.orig/distinfo megaglest-data/distinfo
 --- megaglest-data.orig/distinfo	2011-04-07 07:13:40.000000000 +0200
 +++ megaglest-data/distinfo	2011-05-10 23:51:52.000000000 +0200
 @@ -1,2 +1,2 @@
 -SHA256 (megaglest-fixed_data-3.4.0.7z) = 3944c2549f03c64a75a1c33835b22aaed3748a2712c192b5705978d8caef1d45
 -SIZE (megaglest-fixed_data-3.4.0.7z) = 189268275
 +SHA256 (megaglest-data-3.5.1.tar.xz) = 0050e4c2c209fe6d9a9609e2296d6f5d76e613a42961b6c8d967c0b604923293
 +SIZE (megaglest-data-3.5.1.tar.xz) = 188068160
 
 --------------060405090301050601030506--



More information about the freebsd-ports-bugs mailing list