svn commit: r308335 - head/games/sdlroids
Pawel Pekala
pawel at FreeBSD.org
Wed Dec 5 15:41:17 UTC 2012
Author: pawel
Date: Wed Dec 5 15:41:16 2012
New Revision: 308335
URL: http://svnweb.freebsd.org/changeset/ports/308335
Log:
- Install program's icon, desktop entry file
- Add LICENSE, PORTDOCS
- Remove leading article from COMMENT
- Give maintainership to submitter
PR: ports/173946
Submitted by: nemysis <nemysis at gmx.ch>
Feature safe: yes
Modified:
head/games/sdlroids/Makefile
head/games/sdlroids/distinfo
head/games/sdlroids/pkg-plist
Modified: head/games/sdlroids/Makefile
==============================================================================
--- head/games/sdlroids/Makefile Wed Dec 5 15:21:05 2012 (r308334)
+++ head/games/sdlroids/Makefile Wed Dec 5 15:41:16 2012 (r308335)
@@ -1,25 +1,43 @@
-# New ports collection makefile for: sdlroids
-# Date created: 29 March 2001
-# Whom: Maxim Sobolev <sobomax at FreeBSD.org>
-#
+# Created by: Maxim Sobolev <sobomax at 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 at FreeBSD.org
-COMMENT= An enhanced shoot-the-asteroids game
+MAINTAINER= nemysis at 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>
Modified: head/games/sdlroids/distinfo
==============================================================================
--- head/games/sdlroids/distinfo Wed Dec 5 15:21:05 2012 (r308334)
+++ head/games/sdlroids/distinfo Wed Dec 5 15:41:16 2012 (r308335)
@@ -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
Modified: head/games/sdlroids/pkg-plist
==============================================================================
--- head/games/sdlroids/pkg-plist Wed Dec 5 15:21:05 2012 (r308334)
+++ head/games/sdlroids/pkg-plist Wed Dec 5 15:41:16 2012 (r308335)
@@ -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
More information about the svn-ports-head
mailing list