Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Dec 2013 23:17:10 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335858 - head/games/pyspacewar
Message-ID:  <201312072317.rB7NHAnF072936@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Sat Dec  7 23:17:10 2013
New Revision: 335858
URL: http://svnweb.freebsd.org/changeset/ports/335858

Log:
  - Change maintainer email to @FreeBSD.org
  - Add DOCS Option
  - Change desktop entry
  - Support STAGEDIR
  - Change pkg-plist, remove mtree
  
  Approved by:	pawel / wg (mentors, implicit)

Modified:
  head/games/pyspacewar/Makefile   (contents, props changed)
  head/games/pyspacewar/pkg-plist   (contents, props changed)

Modified: head/games/pyspacewar/Makefile
==============================================================================
--- head/games/pyspacewar/Makefile	Sat Dec  7 23:05:12 2013	(r335857)
+++ head/games/pyspacewar/Makefile	Sat Dec  7 23:17:10 2013	(r335858)
@@ -9,7 +9,7 @@ MASTER_SITES=	http://mg.pov.lt/${PORTNAM
 		LOCAL/beech
 DIST_SUBDIR=	python
 
-MAINTAINER=	nemysis@gmx.ch
+MAINTAINER=	nemysis@FreeBSD.org
 COMMENT=	Two ships duel in a gravity field
 
 LICENSE=	GPLv2
@@ -18,18 +18,16 @@ RUN_DEPENDS=	${PYGAME}
 
 USE_PYTHON=	yes
 USE_PYDISTUTILS=yes
-NO_BUILD=	yes
 
 PORTDOCS=	NEWS.txt README.txt TODO.txt performance-notes.txt
 
+OPTIONS_DEFINE=	DOCS
+
 INSTALLS_ICONS=	yes
 ICON_SIZES=	16x16 22x22 32x32 48x48
 
-DESKTOP_ENTRIES="PySpaceWar" "${COMMENT}" ${PORTNAME} \
-		"${PORTNAME}" "Game;ArcadeGame;" false
-
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+DESKTOP_ENTRIES="PySpaceWar" "" ${PORTNAME} \
+		"${PORTNAME}" "Game;ArcadeGame;" ""
 
 post-patch:
 .for s in 16 22 32 48
@@ -39,15 +37,14 @@ post-patch:
 
 post-install:
 .for s in ${ICON_SIZES}
-	@${MKDIR} ${PREFIX}/share/icons/hicolor/${s}/apps
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps
 	${INSTALL_DATA} ${WRKSRC}/src/pyspacewar/icons/${PORTNAME}_${s}.png \
-		${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
+		${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
 .endfor
-	@${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps
+	${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
+		${STAGEDIR}${PREFIX}/share/pixmaps/
 
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/games/pyspacewar/pkg-plist
==============================================================================
--- head/games/pyspacewar/pkg-plist	Sat Dec  7 23:05:12 2013	(r335857)
+++ head/games/pyspacewar/pkg-plist	Sat Dec  7 23:17:10 2013	(r335858)
@@ -50,5 +50,3 @@ share/pixmaps/pyspacewar.png
 @dirrm %%PYTHON_SITELIBDIR%%/pyspacewar/music
 @dirrm %%PYTHON_SITELIBDIR%%/pyspacewar/images
 @dirrm %%PYTHON_SITELIBDIR%%/pyspacewar
-@dirrmtry %%PYTHON_SITELIBDIR%%
-@dirrmtry %%PYTHON_LIBDIR%%



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