Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 May 2018 21:51:16 +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: r469078 - head/games/wyrmsun
Message-ID:  <201805042151.w44LpGQ6066841@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri May  4 21:51:15 2018
New Revision: 469078
URL: https://svnweb.freebsd.org/changeset/ports/469078

Log:
  - Update to 3.3.1

Modified:
  head/games/wyrmsun/Makefile
  head/games/wyrmsun/distinfo

Modified: head/games/wyrmsun/Makefile
==============================================================================
--- head/games/wyrmsun/Makefile	Fri May  4 21:51:11 2018	(r469077)
+++ head/games/wyrmsun/Makefile	Fri May  4 21:51:15 2018	(r469078)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	wyrmsun
-PORTVERSION=	1.9.9
+PORTVERSION=	3.3.1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	games
 
@@ -21,22 +21,30 @@ GH_PROJECT=	Wyrmsun
 NO_BUILD=	yes
 NO_ARCH=	yes
 
-PLIST_FILES=	bin/${PORTNAME}
+PLIST_FILES=	bin/${PORTNAME} \
+		share/applications/${PORTNAME}.desktop \
+		share/appdata/${PORTNAME}.appdata.xml
 PORTDATA=	*
+PORTDOCS=	*
 
 SUB_FILES=	${PORTNAME}
 
-# icon comes from another port, so is referenced via LOCALBASE
-DESKTOP_ENTRIES="Wyrmsun" \
-		"" \
-		"${LOCALBASE}/share/pixmaps/${PORTNAME}.ico" \
-		"${PORTNAME}" \
-		"Game;StrategyGame;" \
-		""
+OPTIONS_DEFINE=	DOCS
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|wyrmgus -d /usr/share/wyrmsun|${PORTNAME}|' \
+		${WRKSRC}/linux/wyrmsun.desktop
+
 do-install:
-	cd ${WRKSRC} && ${COPYTREE_SHARE} "graphics maps music scripts \
-		sounds translations" ${STAGEDIR}${DATADIR}/
+	cd ${WRKSRC} && ${COPYTREE_SHARE} "graphics maps music oaml.defs \
+		scripts sounds translations" ${STAGEDIR}${DATADIR}/
+	${INSTALL_DATA} ${WRKSRC}/linux/wyrmsun.desktop ${STAGEDIR}${PREFIX}/share/applications
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/appdata
+	${INSTALL_DATA} ${WRKSRC}/linux/wyrmsun.appdata.xml ${STAGEDIR}${PREFIX}/share/appdata
 	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/games/wyrmsun/distinfo
==============================================================================
--- head/games/wyrmsun/distinfo	Fri May  4 21:51:11 2018	(r469077)
+++ head/games/wyrmsun/distinfo	Fri May  4 21:51:15 2018	(r469078)
@@ -1,2 +1,3 @@
-SHA256 (Andrettin-Wyrmsun-v1.9.9_GH0.tar.gz) = d0e33698aa96db53d2ee059fc5f5cddb7177b94ea4dd6cd915c50f77825ba068
-SIZE (Andrettin-Wyrmsun-v1.9.9_GH0.tar.gz) = 197855976
+TIMESTAMP = 1524687012
+SHA256 (Andrettin-Wyrmsun-v3.3.1_GH0.tar.gz) = 90af72b53ff3e176fed2bf30ed1d52a25b76dadd2a06607be7a8637c52653ca3
+SIZE (Andrettin-Wyrmsun-v3.3.1_GH0.tar.gz) = 271343739



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