Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Oct 2012 14:19:08 +0000 (UTC)
From:      Alex Kozlov <ak@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305727 - head/games/sdl_scavenger
Message-ID:  <201210111419.q9BEJ8eh035933@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ak
Date: Thu Oct 11 14:19:07 2012
New Revision: 305727
URL: http://svn.freebsd.org/changeset/ports/305727

Log:
  - Convert Makefile headers to new style
  - Remove indefinite article from COMMENT
  - Add DESKTOP_ENTRIES
  - Bump PORTREVISION
  
  Submitted by:	nemysis <nemysis at gmx.ch> (maintainer)
  Feature safe:	yes

Modified:
  head/games/sdl_scavenger/Makefile

Modified: head/games/sdl_scavenger/Makefile
==============================================================================
--- head/games/sdl_scavenger/Makefile	Thu Oct 11 14:09:26 2012	(r305726)
+++ head/games/sdl_scavenger/Makefile	Thu Oct 11 14:19:07 2012	(r305727)
@@ -1,18 +1,14 @@
-# New Ports collection makefile for:	SDLScavenger
-# Date created:		2012-04-21
-# Whom:			nemysis@gmx.ch
-#
 # $FreeBSD$
-#
 
 PORTNAME=	sdl_scavenger
 PORTVERSION=	145.1.2010.11.5
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	SF/sdlscavenger/
 DISTNAME=	sdlscav-145.1_2010_11_5
 
 MAINTAINER=	nemysis@gmx.ch
-COMMENT=	A Lode Runner like game
+COMMENT=	Lode Runner like game
 
 LICENSE=	GPLv2
 
@@ -22,14 +18,16 @@ USE_ZIP=	yes
 USE_SDL=	sdl image mixer
 USE_GMAKE=	yes
 MAKE_JOBS_SAFE=	yes
+ALL_TARGET=
 
 PLIST_FILES=	bin/sdlscavenger \
-		share/pixmaps/${PORTNAME}.png
+		share/pixmaps/sdlscavenger.png
 
 PORTDATA=	*
 PORTDOCS=	CREDITS DOC NEW_FEATURES README STRATEGY
 
-ALL_TARGET=
+DESKTOP_ENTRIES="SDL Scavenger" "${COMMENT}" "sdlscavenger" \
+		"sdlscavenger" "Game;ArcadeGame;" ${FALSE}
 
 .include <bsd.port.options.mk>
 
@@ -38,22 +36,14 @@ post-patch:
 			${WRKSRC}/names.h
 
 do-install:
-# Executable
 	${INSTALL_PROGRAM} ${WRKSRC}/sdlscav ${PREFIX}/bin/sdlscavenger
-
-# Data
 	${MKDIR} ${DATADIR}
 	@(cd ${WRKSRC} && ${COPYTREE_SHARE} data ${DATADIR})
+	${INSTALL_DATA} ${WRKSRC}/data/scav.png ${PREFIX}/share/pixmaps/sdlscavenger.png
 
-# Pixmaps
-	${INSTALL_DATA} ${WRKSRC}/data/scav.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
-
-# Documentation
 .if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.endfor
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>



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