svn commit: r335789 - head/games/xsc

Rusmir Dusko nemysis at FreeBSD.org
Fri Dec 6 23:22:17 UTC 2013


Author: nemysis
Date: Fri Dec  6 23:22:17 2013
New Revision: 335789
URL: http://svnweb.freebsd.org/changeset/ports/335789

Log:
  - Change master sites
  - Change maintainer email to @FreeBSD.org
  - Add license (GPLv2)
  - Add DOCS and Option
  - Change desktop entry, fix typo
  
  Approved by:	pawel / wg (mentors, implicit)

Modified:
  head/games/xsc/Makefile   (contents, props changed)

Modified: head/games/xsc/Makefile
==============================================================================
--- head/games/xsc/Makefile	Fri Dec  6 23:16:46 2013	(r335788)
+++ head/games/xsc/Makefile	Fri Dec  6 23:22:17 2013	(r335789)
@@ -6,25 +6,32 @@ PORTVERSION=	1.6
 PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	http://www.panix.com/~mbh/xsc/ \
-		SF/nemysisfreebsdp/:icons
+		SF/nemysisfreebsdp/${CATEGORIES}/:icons
 DISTFILES=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
 		${PORTNAME}.png:icons
 EXTRACT_ONLY=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
 
-MAINTAINER=	nemysis at gmx.ch
+MAINTAINER=	nemysis at FreeBSD.org
 COMMENT=	Vector graphics space shoot'em up game
 
+LICENSE=	GPLv2
+
 USE_XORG=	x11
 GNU_CONFIGURE=	yes
 
+PORTDOCS=	AUTHORS ChangeLog  README
+
+OPTIONS_DEFINE=	DOCS
+
 PLIST_FILES=	bin/${PORTNAME} \
 		share/pixmaps/${PORTNAME}.png
 
-DESKTOP_ENTRIES="Xce" "${COMMENT}" ${PORTNAME} \
-		"${PORTNAME}" "Game;ArcadeGame;" false
+DESKTOP_ENTRIES="Xsc" "" "${PORTNAME}" "${PORTNAME}" "Game;ArcadeGame;" ""
 
-NO_STAGE=	yes
 post-install:
-	${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps
+	${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/
+
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list