Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Sep 2016 15:20:42 +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: r422565 - in head/games/osgg: . files
Message-ID:  <201609211520.u8LFKgTR008255@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Sep 21 15:20:42 2016
New Revision: 422565
URL: https://svnweb.freebsd.org/changeset/ports/422565

Log:
  - Unbreak fetch, switch to github, simplify port
  
  PR:		212849
  Submitted by:	lightside@gmx.com

Deleted:
  head/games/osgg/files/
Modified:
  head/games/osgg/Makefile
  head/games/osgg/distinfo

Modified: head/games/osgg/Makefile
==============================================================================
--- head/games/osgg/Makefile	Wed Sep 21 15:11:37 2016	(r422564)
+++ head/games/osgg/Makefile	Wed Sep 21 15:20:42 2016	(r422565)
@@ -4,22 +4,23 @@
 PORTNAME=	osgg
 PORTVERSION=	1.0
 CATEGORIES=	games
-MASTER_SITES=	SF
 
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	OldSkool Gravity Game
 
 LICENSE=	GPLv3+
 
-BROKEN=		unfetchable (checksum mismatch)
+USE_GITHUB=	yes
+GH_ACCOUNT=	DusteDdk
+GH_PROJECT=	Osgg
+GH_TAGNAME=	32d9e02 # 1.0 + extra FreeBSD-related fixes
 
-USES=		tar:bzip2
 USE_SDL=	sdl image ttf mixer
 USE_GL=		gl
 MAKE_ENV=	DATADIR="${DATADIR}/"
 
 PLIST_FILES=	bin/${PORTNAME}
-PORTDATA=	*
+PORTDATA=	*.txt *.ogg Bandal.ttf icon.png levels
 
 DESKTOP_ENTRIES="Osgg" \
 		"" \
@@ -28,11 +29,8 @@ DESKTOP_ENTRIES="Osgg" \
 		"Game;ArcadeGame;" \
 		""
 
-post-extract:
-	@${RM} -f ${WRKSRC}/osgg ${WRKSRC}/launcher/launcher
-
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
-	cd ${WRKSRC} && ${COPYTREE_SHARE} "*.txt *.ogg Bandal.ttf icon.png levels" ${STAGEDIR}${DATADIR}/
+	@cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR}/
 
 .include <bsd.port.mk>

Modified: head/games/osgg/distinfo
==============================================================================
--- head/games/osgg/distinfo	Wed Sep 21 15:11:37 2016	(r422564)
+++ head/games/osgg/distinfo	Wed Sep 21 15:20:42 2016	(r422565)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1471280939
-SHA256 (osgg-1.0.tar.bz2) = 59654b2a845883078071eca847a1fd07f0084302c1555a4d9d239155f29d758c
-SIZE (osgg-1.0.tar.bz2) = 300614
+TIMESTAMP = 1474370793
+SHA256 (DusteDdk-Osgg-1.0-32d9e02_GH0.tar.gz) = 5d21f7f2608e2b2f43b814e4e1b9fa46b05b18314ba8af0ab15c89302d61e46d
+SIZE (DusteDdk-Osgg-1.0-32d9e02_GH0.tar.gz) = 237328



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