Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Dec 2013 13:15:59 +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: r336634 - head/games/sea-defender
Message-ID:  <201312161315.rBGDFxJk043517@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Dec 16 13:15:59 2013
New Revision: 336634
URL: http://svnweb.freebsd.org/changeset/ports/336634

Log:
  - Add LICENSE
  - Add icon
  - Fetch sources from GitHub
  - Set PORTVERSION corresponding to what's shown by the game (NO source changes from previously used tarball rolled by me)
  
  PR:		182950
  Submitted by:	nemysis

Modified:
  head/games/sea-defender/Makefile
  head/games/sea-defender/distinfo

Modified: head/games/sea-defender/Makefile
==============================================================================
--- head/games/sea-defender/Makefile	Mon Dec 16 13:11:40 2013	(r336633)
+++ head/games/sea-defender/Makefile	Mon Dec 16 13:15:59 2013	(r336634)
@@ -2,36 +2,48 @@
 # $FreeBSD$
 
 PORTNAME=	sea-defender
-PORTVERSION=	r20100723
-PORTREVISION=	3
+PORTVERSION=	0.9
 CATEGORIES=	games
-MASTER_SITES=	http://mirror.amdmi3.ru/distfiles/
+MASTER_SITES=	http://mirror.amdmi3.ru/distfiles/:DEFAULT,icon \
+		SF/nemysisfreebsdp/:icon
+DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
+		${PORTNAME}.png:icon
+EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
 
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Simple missile command clone
 
+LICENSE=	MIT
+
 BUILD_DEPENDS=	${LOCALBASE}/lib/libglfw.a:${PORTSDIR}/graphics/glfw
 
-USE_BZIP2=	yes
+USE_GITHUB=	yes
+GH_ACCOUNT=	snoutmate
+GH_PROJECT=	Sea-Defender
+GH_TAGNAME=	${GH_COMMIT}
+GH_COMMIT=	d628051
+
 USES=		gmake
 USE_SDL=	sdl mixer image ttf
 USE_GL=		gl glu
 USE_XORG=	x11 xrandr
 
 SUB_FILES=	${PORTNAME}.sh
-PLIST_FILES=	libexec/${PORTNAME} bin/${PORTNAME}
-
-WRKSRC=		${WRKDIR}/${PORTNAME}
+PLIST_FILES=	bin/${PORTNAME} \
+		libexec/${PORTNAME} \
+		share/pixmaps/${PORTNAME}.png
 
-PORTDOCS=	README
+PORTDOCS=	*
 
 DESKTOP_ENTRIES="Sea Defender" \
 		"${COMMENT}" \
-		"" \
+		"${PORTNAME}" \
 		"${PORTNAME}" \
 		"Game;ArcadeGame;" \
 		""
 
+OPTIONS_DEFINE=	DOCS
+
 .include <bsd.port.options.mk>
 
 .if defined(WITH_NEW_XORG)
@@ -41,7 +53,8 @@ EXTRA_PATCHES+=	${FILESDIR}/extra-snoutl
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/sea ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}
 	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+	${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
 
 .include <bsd.port.mk>

Modified: head/games/sea-defender/distinfo
==============================================================================
--- head/games/sea-defender/distinfo	Mon Dec 16 13:11:40 2013	(r336633)
+++ head/games/sea-defender/distinfo	Mon Dec 16 13:15:59 2013	(r336634)
@@ -1,2 +1,4 @@
-SHA256 (sea-defender-r20100723.tar.bz2) = 2f8b11b3f047653d58b0dabc4384486bb3f3c173bed5f5592df070079cd73624
-SIZE (sea-defender-r20100723.tar.bz2) = 164757
+SHA256 (sea-defender-0.9.tar.gz) = d6a2ed363fb642960addcd8e43422f74f5516e6d331691703f920252d4f0596c
+SIZE (sea-defender-0.9.tar.gz) = 191267
+SHA256 (sea-defender.png) = 823fe77ea032db6186ed71eec995a6038705757816f61112dc8dfb19e2e58aba
+SIZE (sea-defender.png) = 2928



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