Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Mar 2016 01:10:13 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r411968 - head/games/megaglest-data
Message-ID:  <201603270110.u2R1AD8R011351@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Mar 27 01:10:13 2016
New Revision: 411968
URL: https://svnweb.freebsd.org/changeset/ports/411968

Log:
  - Update to 3.11.1
  - Cleanup the port
  - Pass maintainership to submitter
  
  PR:		205581
  Submitted by:	monwarez@mailoo.org

Modified:
  head/games/megaglest-data/Makefile
  head/games/megaglest-data/distinfo

Modified: head/games/megaglest-data/Makefile
==============================================================================
--- head/games/megaglest-data/Makefile	Sat Mar 26 23:58:09 2016	(r411967)
+++ head/games/megaglest-data/Makefile	Sun Mar 27 01:10:13 2016	(r411968)
@@ -2,48 +2,36 @@
 # $FreeBSD$
 
 PORTNAME=	megaglest
-PORTVERSION=	3.9.0
+PORTVERSION=	3.11.1
 CATEGORIES=	games
-MASTER_SITES=	SF/${PORTNAME}/archived/${PORTNAME}_${PORTVERSION}/
 PKGNAMESUFFIX=	-data
 DISTNAME=	${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	monwarez@mailoo.org
 COMMENT=	MegaGlest data files
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	MegaGlest
+GH_PROJECT=	megaglest-data
+
 USES=		dos2unix tar:xz
 DOS2UNIX_GLOB=	*.log *.ini *.html *.txt *.lng
 NO_BUILD=	yes
+NO_ARCH=	yes
 
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
-PLIST=		${WRKDIR}/pkg-plist
 BASEDOCS=	AUTHORS.data.txt README.data-license.txt \
 		cc-by-sa-3.0-unported.txt COPYRIGHT.data.txt
 PORTDOCS=	*
+PORTDATA=	*
 
-pre-install:
-	${RM} -f ${PLIST}
-.for DIR in data maps scenarios techs tilesets tutorials
-	@cd ${WRKSRC} && \
-		${FIND} ${DIR} -type d -empty | ${SORT} -r | ${SED} -e 's|^|@dir %%DATADIR%%/|' >> ${PLIST} && \
-		${FIND} ${DIR} -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/|' >> ${PLIST}
-.endfor
-	@${ECHO_CMD} "share/applications/megaglest.desktop" >> ${PLIST}
-	@${ECHO_CMD} "share/icons/megaglest.png" >> ${PLIST}
+OPTIONS_DEFINE=	DOCS
 
 do-install:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}/glest_factions
-	${INSTALL_DATA} ${BASEDOCS:S,^,${WRKSRC}/docs/,} ${STAGEDIR}${DOCSDIR}
-	(cd ${WRKSRC}/docs/glest_factions && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/glest_factions)
-
 	@${MKDIR} ${STAGEDIR}${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/megaglest.desktop ${STAGEDIR}${PREFIX}/share/applications/
-	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons
-	${INSTALL_DATA} ${WRKSRC}/megaglest.png ${STAGEDIR}${PREFIX}/share/icons/
-
-.for DIR in data maps scenarios techs tilesets tutorials
-	${MKDIR} ${STAGEDIR}${DATADIR}/${DIR}
-	(cd ${WRKSRC}/${DIR} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/${DIR})
-.endfor
+	cd ${WRKSRC} && ${COPYTREE_SHARE} "data maps scenarios techs tilesets tutorials" ${STAGEDIR}${DATADIR}
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@cd ${WRKSRC}/docs && ${COPYTREE_SHARE} "${BASEDOCS} glest_factions" ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/games/megaglest-data/distinfo
==============================================================================
--- head/games/megaglest-data/distinfo	Sat Mar 26 23:58:09 2016	(r411967)
+++ head/games/megaglest-data/distinfo	Sun Mar 27 01:10:13 2016	(r411968)
@@ -1,2 +1,2 @@
-SHA256 (megaglest-data-3.9.0.tar.xz) = e6d6fdc994a6cc99e00bafda53537964ba069bb4bdcb3257dcbe4f7434011fc2
-SIZE (megaglest-data-3.9.0.tar.xz) = 269393520
+SHA256 (megaglest-data-3.11.1_GH0.tar.xz) = 7c4fb62e7b80284669a95d9ed179ea1c34195bf70b9a46d934a171d44781a153
+SIZE (megaglest-data-3.11.1_GH0.tar.xz) = 350271789



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603270110.u2R1AD8R011351>