Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Oct 2012 16:12:19 +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: r305594 - head/games/xgalaga++
Message-ID:  <201210091612.q99GCJlf034848@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ak
Date: Tue Oct  9 16:12:18 2012
New Revision: 305594
URL: http://svn.freebsd.org/changeset/ports/305594

Log:
  - Remove indefinite article from COMMENT
  - Convert Makefile headers to new style
  - Add DESKTOP_ENTRIES
  - Fix manpage name
  - Remove redundant comments
  
  Submitted by:	nemysis <nemysis at gmx.ch> (maintainer)

Modified:
  head/games/xgalaga++/Makefile
  head/games/xgalaga++/distinfo

Modified: head/games/xgalaga++/Makefile
==============================================================================
--- head/games/xgalaga++/Makefile	Tue Oct  9 16:07:33 2012	(r305593)
+++ head/games/xgalaga++/Makefile	Tue Oct  9 16:12:18 2012	(r305594)
@@ -1,18 +1,17 @@
-# New Ports collection makefile for:	xgalaga++
-# Date created:		2012-04-20
-# Whom:			nemysis@gmx.ch
-#
 # $FreeBSD$
-#
 
 PORTNAME=	xgalaga++
 PORTVERSION=	0.8.3
 CATEGORIES=	games
-MASTER_SITES=	http://marc.mongenet.ch/OSS/XGalaga/
-DISTNAME=	${PORTNAME}_${PORTVERSION}
+MASTER_SITES=	http://marc.mongenet.ch/OSS/XGalaga/ \
+		http://packages.nimblex.net/slacky/games/xgalaga++/0.8.2/src/:icons
+DISTFILES=	${PORTNAME}_${DISTVERSION}${EXTRACT_SUFX} \
+		${PORTNAME}.png:icons
+DIST_SUBDIR=	${PORTNAME}
+EXTRACT_ONLY=	${PORTNAME}_${DISTVERSION}${EXTRACT_SUFX}
 
 MAINTAINER=	nemysis@gmx.ch
-COMMENT=	A classic single screen vertical shoot em up
+COMMENT=	Classic single screen vertical shoot em up
 
 LICENSE=	GPLv2
 
@@ -21,14 +20,18 @@ WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVER
 USE_GMAKE=	yes
 ALL_TARGET=	${PORTNAME}
 USE_XORG=	x11 xpm
-MAN6=		xgalaga++.6x
+MAN6=		xgalaga++.6
 
 SUB_FILES=	pkg-install
 
-PLIST_FILES=	bin/xgalaga++
+PLIST_FILES=	bin/${PORTNAME} \
+		share/pixmaps/${PORTNAME}.png
 
 PORTDOCS=	README
 
+DESKTOP_ENTRIES="XGalaga++" "${COMMENT}" "${PORTNAME}" \
+		"${PORTNAME}" "Game;ArcadeGame;" ${FALSE}
+
 .include <bsd.port.options.mk>
 
 post-patch:
@@ -37,14 +40,14 @@ post-patch:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/${MAN6} ${MAN6PREFIX}/man/man6
-	${CHOWN} :games ${PREFIX}/bin/${PORTNAME}
+	${INSTALL_MAN} ${WRKSRC}/${MAN6}x ${MAN6PREFIX}/man/man6/${MAN6}
+	${CHGRP} games ${PREFIX}/bin/${PORTNAME}
 	${CHMOD} g+s  ${PREFIX}/bin/${PORTNAME}
+	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps
 
-# Documentation
 .if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 .endif
 
 	@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

Modified: head/games/xgalaga++/distinfo
==============================================================================
--- head/games/xgalaga++/distinfo	Tue Oct  9 16:07:33 2012	(r305593)
+++ head/games/xgalaga++/distinfo	Tue Oct  9 16:12:18 2012	(r305594)
@@ -1,2 +1,4 @@
-SHA256 (xgalaga++_0.8.3.tar.gz) = cd7444938a923496437a7a4f64e5272eeb098a29c9eec0092ea5acb1804af9f2
-SIZE (xgalaga++_0.8.3.tar.gz) = 32466
+SHA256 (xgalaga++/xgalaga++_0.8.3.tar.gz) = cd7444938a923496437a7a4f64e5272eeb098a29c9eec0092ea5acb1804af9f2
+SIZE (xgalaga++/xgalaga++_0.8.3.tar.gz) = 32466
+SHA256 (xgalaga++/xgalaga++.png) = cc14035e06fafc78057db52376fe2f809fd8da3f946f7bdccfe4fd5b431c6287
+SIZE (xgalaga++/xgalaga++.png) = 3232



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