aboutsummaryrefslogtreecommitdiff
path: root/games/sdlroids
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2012-12-05 15:41:16 +0000
committerPawel Pekala <pawel@FreeBSD.org>2012-12-05 15:41:16 +0000
commit7f85f91108e66786d6e2a7bb93a412867d35055f (patch)
tree27e752482216f373d6d0500e6402bcd93e1da46d /games/sdlroids
parente5e3efb9b95368f88fcf503e32c0fcfe2bebd979 (diff)
downloadports-7f85f91108e66786d6e2a7bb93a412867d35055f.tar.gz
ports-7f85f91108e66786d6e2a7bb93a412867d35055f.zip
Notes
Diffstat (limited to 'games/sdlroids')
-rw-r--r--games/sdlroids/Makefile40
-rw-r--r--games/sdlroids/distinfo6
-rw-r--r--games/sdlroids/pkg-plist1
3 files changed, 34 insertions, 13 deletions
diff --git a/games/sdlroids/Makefile b/games/sdlroids/Makefile
index 00db4ca0d658..9425e39bd069 100644
--- a/games/sdlroids/Makefile
+++ b/games/sdlroids/Makefile
@@ -1,25 +1,43 @@
-# New ports collection makefile for: sdlroids
-# Date created: 29 March 2001
-# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
-#
+# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= sdlroids
PORTVERSION= 1.3.4
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= games
-MASTER_SITES= SF
+MASTER_SITES= SF \
+ SF/nemysisfreebsdp/:icons
+DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
+ ${PORTNAME}.png:icons
+DIST_SUBDIR= ${PORTNAME}
+EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
-MAINTAINER= ports@FreeBSD.org
-COMMENT= An enhanced shoot-the-asteroids game
+MAINTAINER= nemysis@gmx.ch
+COMMENT= Enhanced shoot-the-asteroids game
+
+LICENSE= GPLv2
-USE_SDL= mixer sdl
-USE_GMAKE= yes
USE_BZIP2= yes
GNU_CONFIGURE= yes
+USE_GMAKE= yes
USE_CSTD= gnu89
+USE_SDL= mixer sdl
MAN6= sdlroids.6
+PORTDOCS= ChangeLog README README.orig README.petopt README.xhyperoid TODO
+
+DESKTOP_ENTRIES="SDLRoids" "${COMMENT}" "${PORTNAME}" \
+ "${PORTNAME} -n 2" "Game;ArcadeGame;" false
+
+.include <bsd.port.options.mk>
+
+post-install:
+ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps
+
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
+
.include <bsd.port.mk>
diff --git a/games/sdlroids/distinfo b/games/sdlroids/distinfo
index dd029d056944..75206846424c 100644
--- a/games/sdlroids/distinfo
+++ b/games/sdlroids/distinfo
@@ -1,2 +1,4 @@
-SHA256 (sdlroids-1.3.4.tar.bz2) = 224b1def78dba8a4f7ec7bb15df16a21c85e50dc3d09888a19da0497d37c709c
-SIZE (sdlroids-1.3.4.tar.bz2) = 136588
+SHA256 (sdlroids/sdlroids-1.3.4.tar.bz2) = 224b1def78dba8a4f7ec7bb15df16a21c85e50dc3d09888a19da0497d37c709c
+SIZE (sdlroids/sdlroids-1.3.4.tar.bz2) = 136588
+SHA256 (sdlroids/sdlroids.png) = 5117f1bf4f83085a01251cd1a473879f588fdebee2bd1f78e2b0c7c01a16fb93
+SIZE (sdlroids/sdlroids.png) = 3454
diff --git a/games/sdlroids/pkg-plist b/games/sdlroids/pkg-plist
index e34f4b03e8a1..7d244d769ad6 100644
--- a/games/sdlroids/pkg-plist
+++ b/games/sdlroids/pkg-plist
@@ -1,4 +1,5 @@
bin/sdlroids
+share/pixmaps/sdlroids.png
share/sdlroids/bmp/blank.bmp
share/sdlroids/bmp/bomb.bmp
share/sdlroids/bmp/icon.bmp