- 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)
This commit is contained in:
Alex Kozlov 2012-10-09 16:12:18 +00:00
parent f90306aa63
commit 2f0836aea8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=305594
2 changed files with 21 additions and 16 deletions

View file

@ -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}-${PORTVERSION}
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

View file

@ -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