diff options
author | Rusmir Dusko <nemysis@FreeBSD.org> | 2013-12-07 23:17:10 +0000 |
---|---|---|
committer | Rusmir Dusko <nemysis@FreeBSD.org> | 2013-12-07 23:17:10 +0000 |
commit | f0b81f5d8f3f10a410b2fdb9ffb0b3334599fe5d (patch) | |
tree | 593826147e3fbe6afad2845447137466ff37c3e8 /games | |
parent | 19cd7149833ddecec1cc3b74eb38f44890b05f6b (diff) | |
download | ports-f0b81f5d8f3f10a410b2fdb9ffb0b3334599fe5d.tar.gz ports-f0b81f5d8f3f10a410b2fdb9ffb0b3334599fe5d.zip |
- 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)
Notes
Notes:
svn path=/head/; revision=335858
Diffstat (limited to 'games')
-rw-r--r-- | games/pyspacewar/Makefile | 25 | ||||
-rw-r--r-- | games/pyspacewar/pkg-plist | 2 |
2 files changed, 11 insertions, 16 deletions
diff --git a/games/pyspacewar/Makefile b/games/pyspacewar/Makefile index fff76466ab23..ededb36685e3 100644 --- a/games/pyspacewar/Makefile +++ b/games/pyspacewar/Makefile @@ -9,7 +9,7 @@ MASTER_SITES= http://mg.pov.lt/${PORTNAME}/\ 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> diff --git a/games/pyspacewar/pkg-plist b/games/pyspacewar/pkg-plist index 957b79655a30..17194ada6dc3 100644 --- a/games/pyspacewar/pkg-plist +++ b/games/pyspacewar/pkg-plist @@ -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%% |