aboutsummaryrefslogtreecommitdiff
path: root/games/sea-defender
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-12-16 13:15:59 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-12-16 13:15:59 +0000
commit8e563f59832641106404f84d74ab32ad7677cc5b (patch)
tree50f8c68e28ab25a8c43e30f3ddacc05326575dce /games/sea-defender
parent0710975429d52121422bdd16edfa185b0b27d926 (diff)
downloadports-8e563f59832641106404f84d74ab32ad7677cc5b.tar.gz
ports-8e563f59832641106404f84d74ab32ad7677cc5b.zip
Notes
Diffstat (limited to 'games/sea-defender')
-rw-r--r--games/sea-defender/Makefile33
-rw-r--r--games/sea-defender/distinfo6
2 files changed, 27 insertions, 12 deletions
diff --git a/games/sea-defender/Makefile b/games/sea-defender/Makefile
index 73e0615355b6..0463ccf74f7b 100644
--- a/games/sea-defender/Makefile
+++ b/games/sea-defender/Makefile
@@ -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-snoutlib_gldefs.h
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>
diff --git a/games/sea-defender/distinfo b/games/sea-defender/distinfo
index 3e7633cc9ad9..891ac5920821 100644
--- a/games/sea-defender/distinfo
+++ b/games/sea-defender/distinfo
@@ -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