Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Mar 2016 01:10:18 +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: r411969 - in head/games/megaglest: . files
Message-ID:  <201603270110.u2R1AIRL011514@repo.freebsd.org>

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

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

Deleted:
  head/games/megaglest/files/patch-source_shared__lib_sources_miniz_miniz.c
Modified:
  head/games/megaglest/Makefile
  head/games/megaglest/distinfo
  head/games/megaglest/pkg-plist

Modified: head/games/megaglest/Makefile
==============================================================================
--- head/games/megaglest/Makefile	Sun Mar 27 01:10:13 2016	(r411968)
+++ head/games/megaglest/Makefile	Sun Mar 27 01:10:18 2016	(r411969)
@@ -2,15 +2,16 @@
 # $FreeBSD$
 
 PORTNAME=	megaglest
-PORTVERSION=	3.9.0.4
-PORTREVISION=	8
+PORTVERSION=	3.11.1
 CATEGORIES=	games
-MASTER_SITES=	SF/${PORTNAME}/archived/${PORTNAME}_3.9.0/
 DISTNAME=	${PORTNAME}-source-${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	monwarez@mailoo.org
 COMMENT=	Open source 3D real-time strategy game
 
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/docs/gnu_gpl_3.0.txt
+
 LIB_DEPENDS=	libcurl.so:${PORTSDIR}/ftp/curl \
 		libpng.so:${PORTSDIR}/graphics/png \
 		libxerces-c.so:${PORTSDIR}/textproc/xerces-c3 \
@@ -20,6 +21,10 @@ BUILD_DEPENDS=	${LOCALBASE}/include/libi
 		${LOCALBASE}/include/miniupnpc/miniupnpc.h:${PORTSDIR}/net/miniupnpc
 RUN_DEPENDS=	${DATADIR}/tutorials/2_basic_tutorial/2_basic_tutorial.xml:${PORTSDIR}/games/megaglest-data
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	MegaGlest
+GH_PROJECT=	megaglest-source
+
 SUB_FILES=	pkg-message
 
 USES=		cmake compiler:c++11-lib display:build dos2unix jpeg lua \
@@ -28,11 +33,9 @@ USE_GL=		glew gl glu
 USE_SDL=	yes
 USE_WX=		3.0
 USE_CXXSTD=	c++11
-WX_UNICODE=	yes
 
 CFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib -lssl -lcrypto
-WRKSRC=		${WRKDIR}/${PORTNAME}-3.9.0
 
 OPTIONS_DEFINE=	EDITOR DOCS
 OPTIONS_SUB=	yes
@@ -49,13 +52,16 @@ post-patch:
 do-install:
 	${STRIP_CMD} ${WRKSRC}/source/glest_game/megaglest
 	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/mk/linux/megaglest.desktop ${STAGEDIR}${PREFIX}/share/applications/
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons
+	${INSTALL_DATA} ${WRKSRC}/mk/linux/megaglest.png ${STAGEDIR}${PREFIX}/share/icons/
 	${INSTALL_PROGRAM} ${WRKSRC}/source/glest_game/megaglest ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-.for f in glest.ini glestkeys.ini servers.ini
+.for f in mk/linux/glest.ini mk/shared/glestkeys.ini mk/shared/servers.ini
 	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}
 .endfor
 .if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-. for f in AUTHORS.source_code.txt CHANGELOG.txt README.txt COPYRIGHT.source_code.txt
+. for f in docs/AUTHORS.source_code.txt docs/CHANGELOG.txt docs/README.txt docs/COPYRIGHT.source_code.txt
 	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 . endfor
 .endif

Modified: head/games/megaglest/distinfo
==============================================================================
--- head/games/megaglest/distinfo	Sun Mar 27 01:10:13 2016	(r411968)
+++ head/games/megaglest/distinfo	Sun Mar 27 01:10:18 2016	(r411969)
@@ -1,2 +1,2 @@
-SHA256 (megaglest-source-3.9.0.4.tar.xz) = 3362ade61af3c01c2d8976d2d481769698dc0c800f35251b8c5489f8e41d9bc3
-SIZE (megaglest-source-3.9.0.4.tar.xz) = 1596692
+SHA256 (megaglest-source-3.11.1_GH0.tar.xz) = 6bbbbb69d01bc765f439a60c74178b75dc47753cc126e6758e3bc740d8b42a21
+SIZE (megaglest-source-3.11.1_GH0.tar.xz) = 4807372

Modified: head/games/megaglest/pkg-plist
==============================================================================
--- head/games/megaglest/pkg-plist	Sun Mar 27 01:10:13 2016	(r411968)
+++ head/games/megaglest/pkg-plist	Sun Mar 27 01:10:18 2016	(r411969)
@@ -7,3 +7,5 @@ bin/megaglest
 %%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT.source_code.txt
 %%PORTDOCS%%%%DOCSDIR%%/CHANGELOG.txt
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS.source_code.txt
+share/applications/megaglest.desktop
+share/icons/megaglest.png



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