Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jun 2015 07:02:39 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r389595 - in head/games/traingame: . files
Message-ID:  <201506140702.t5E72dQC008777@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Sun Jun 14 07:02:38 2015
New Revision: 389595
URL: https://svnweb.freebsd.org/changeset/ports/389595

Log:
  - Bump PORTREVISION for pkg-plist change
  - Remove master sites, use supplied icons, traingame.desktop and
    traingame-map.sh, changes accepted by upstream
  - Remove files/traingame.desktop and files/traingame-map.in
  - Recreate tarball, new cb6513e commit

Deleted:
  head/games/traingame/files/traingame-map.in
  head/games/traingame/files/traingame.desktop
Modified:
  head/games/traingame/Makefile
  head/games/traingame/distinfo
  head/games/traingame/pkg-plist

Modified: head/games/traingame/Makefile
==============================================================================
--- head/games/traingame/Makefile	Sun Jun 14 06:00:15 2015	(r389594)
+++ head/games/traingame/Makefile	Sun Jun 14 07:02:38 2015	(r389595)
@@ -3,11 +3,8 @@
 
 PORTNAME=	traingame
 PORTVERSION=	0.3
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	games
-MASTER_SITES=	SF/nemysisfreebsdp/${CATEGORIES}/:icons
-DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
-		${PORTNAME}_icons${EXTRACT_SUFX}:icons
 
 MAINTAINER=	nemysis@FreeBSD.org
 COMMENT=	Game about Trains
@@ -22,7 +19,7 @@ LIB_DEPENDS=	libfreetype.so:${PORTSDIR}/
 USE_GITHUB=	yes
 GH_ACCOUNT=	nickg
 GH_PROJECT=	traingame
-GH_TAGNAME=	eacfbc3
+GH_TAGNAME=	cb6513e
 
 USES=		cmake compiler:c++11-lib dos2unix pkgconfig
 DOS2UNIX_GLOB=	*.mtl *.obj
@@ -37,23 +34,23 @@ PORTDOCS=	model_notes.txt models.gnuplot
 OPTIONS_DEFINE=	DOCS
 
 INSTALLS_ICONS=	yes
-ICON_SIZES=	32x32 48x48 64x64 72x72 96x96
+ICON_SIZES=	22x22 32x32 48x48 64x64 72x72 96x96 128x128 192x192
 
-SUB_FILES=	${PORTNAME} ${PORTNAME}-map pkg-message
+SUB_FILES=	${PORTNAME} pkg-message
 
 do-install:
-.for f in ${PORTNAME} ${PORTNAME}-map
-	${INSTALL_SCRIPT} ${WRKDIR}/${f} ${STAGEDIR}${PREFIX}/bin/
-.endfor
+	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}-map.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-map
+
 .for d in buildings engines fonts images layouts maps schemas trees waggons
 	@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR})
 .endfor
 	${INSTALL_PROGRAM} ${WRKSRC}/bin/TrainGame ${STAGEDIR}${DATADIR}/${PORTNAME}
-	${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
+	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
 
 .for s in ${ICON_SIZES}
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/
-	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \
+	${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}_${s}.png \
 		${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
 .endfor
 	${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \

Modified: head/games/traingame/distinfo
==============================================================================
--- head/games/traingame/distinfo	Sun Jun 14 06:00:15 2015	(r389594)
+++ head/games/traingame/distinfo	Sun Jun 14 07:02:38 2015	(r389595)
@@ -1,4 +1,2 @@
-SHA256 (nickg-traingame-0.3-eacfbc3_GH0.tar.gz) = ac2b9c07415ca3614b6149f8e30f8c62ed5fd318f8ac531438a0b733a4758c6d
-SIZE (nickg-traingame-0.3-eacfbc3_GH0.tar.gz) = 1057385
-SHA256 (traingame_icons.tar.gz) = f35937ac4893a4d803888fc2d8d3890a769bda77548a1dc45c09b95738f3dbb7
-SIZE (traingame_icons.tar.gz) = 25088
+SHA256 (nickg-traingame-0.3-cb6513e_GH0.tar.gz) = 04e8e7c47cee99056dc38556c8d25c4ea410133f351d5049fdad805f7c0cdd13
+SIZE (nickg-traingame-0.3-cb6513e_GH0.tar.gz) = 1151100

Modified: head/games/traingame/pkg-plist
==============================================================================
--- head/games/traingame/pkg-plist	Sun Jun 14 06:00:15 2015	(r389594)
+++ head/games/traingame/pkg-plist	Sun Jun 14 07:02:38 2015	(r389595)
@@ -1,11 +1,14 @@
 bin/traingame
 bin/traingame-map
 share/applications/traingame.desktop
+share/icons/hicolor/22x22/apps/traingame.png
 share/icons/hicolor/32x32/apps/traingame.png
 share/icons/hicolor/48x48/apps/traingame.png
 share/icons/hicolor/64x64/apps/traingame.png
 share/icons/hicolor/72x72/apps/traingame.png
 share/icons/hicolor/96x96/apps/traingame.png
+share/icons/hicolor/128x128/apps/traingame.png
+share/icons/hicolor/192x192/apps/traingame.png
 share/pixmaps/traingame.png
 %%DATADIR%%/buildings/coal_mine/coal_mine.mtl
 %%DATADIR%%/buildings/coal_mine/coal_mine.obj



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