svn commit: r357729 - head/games/solarwolf
Danilo Egea Gondolfo
danilo at FreeBSD.org
Sat Jun 14 01:00:59 UTC 2014
Author: danilo
Date: Sat Jun 14 01:00:58 2014
New Revision: 357729
URL: http://svnweb.freebsd.org/changeset/ports/357729
QAT: https://qat.redports.org/buildarchive/r357729/
Log:
- Update MAINTAINER email
- Add LICENSE
- Add stage support
- Add a desktop entry
- Improve WWW
PR: ports/191000
Submitted by: Benjamin Lutz <mail at maxlor.com>
Modified:
head/games/solarwolf/Makefile
head/games/solarwolf/pkg-descr
head/games/solarwolf/pkg-plist
Modified: head/games/solarwolf/Makefile
==============================================================================
--- head/games/solarwolf/Makefile Fri Jun 13 23:36:51 2014 (r357728)
+++ head/games/solarwolf/Makefile Sat Jun 14 01:00:58 2014 (r357729)
@@ -3,33 +3,32 @@
PORTNAME= solarwolf
PORTVERSION= 1.5
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= games
MASTER_SITES= http://www.pygame.org/shredwheat/solarwolf/
-MAINTAINER= benlutz at datacomm.ch
+MAINTAINER= mail at maxlor.com
COMMENT= Action/arcade game originally based of SolarFox on the Atari 2600
+LICENSE= LGPL21
+
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game
-USE_PYTHON= yes
-MAN6= solarwolf.6
+USE_PYTHON= 2
-NO_STAGE= yes
-post-extract:
- ${FIND} ${WRKSRC} -type d | ${XARGS} ${CHMOD} 755
- ${CHMOD} 755 ${WRKSRC}/solarwolf.py
+DESKTOP_ENTRIES= "SolarWolf" "${COMMENT}" "solarwolf" \
+ "solarwolf" "Game;ArcadeGame;" false
do-build:
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
do-install:
- @${MKDIR} ${PREFIX}/share/solarwolf
- (cd ${WRKSRC}; tar -cf - --exclude ".xvpics" .) | \
- (cd ${PREFIX}/share/solarwolf; tar --unlink -xf -)
- @printf "#!/bin/sh\ncd ${PREFIX}/share/solarwolf && \
- exec ${PYTHON_CMD} ${PREFIX}/share/solarwolf/solarwolf.py\n" > ${WRKDIR}/solarwolf.sh
- @${INSTALL_SCRIPT} ${WRKDIR}/solarwolf.sh ${PREFIX}/bin/solarwolf
- @${GUNZIP_CMD} -c ${WRKSRC}/dist/${MAN6}.gz > ${MAN6PREFIX}/man/man6/${MAN6}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/solarwolf
+ (cd ${WRKSRC}; tar -cf - --exclude ".xvpics" --exclude "dist" .) | \
+ (cd ${STAGEDIR}${PREFIX}/share/solarwolf; tar --unlink -xf -)
+ ${PRINTF} "#!/bin/sh\nexec ${PYTHON_CMD} ${PREFIX}/share/solarwolf/solarwolf.py\n" \
+ > ${STAGEDIR}${PREFIX}/bin/solarwolf
+ ${CP} ${WRKSRC}/dist/solarwolf.6.gz ${STAGEDIR}${MAN6PREFIX}/man/man6/
+ ${CP} ${WRKSRC}/dist/solarwolf.png ${STAGEDIR}${PREFIX}/share/pixmaps/
.include <bsd.port.mk>
Modified: head/games/solarwolf/pkg-descr
==============================================================================
--- head/games/solarwolf/pkg-descr Fri Jun 13 23:36:51 2014 (r357728)
+++ head/games/solarwolf/pkg-descr Sat Jun 14 01:00:58 2014 (r357729)
@@ -9,4 +9,4 @@ supports input from keyboard or joystick
The game is originally based of SolarFox on the Atari 2600.
-WWW: http://www.pygame.org/shredwheat/solarwolf/
+WWW: http://www.pygame.org/shredwheat/solarwolf/
Modified: head/games/solarwolf/pkg-plist
==============================================================================
--- head/games/solarwolf/pkg-plist Fri Jun 13 23:36:51 2014 (r357728)
+++ head/games/solarwolf/pkg-plist Sat Jun 14 01:00:58 2014 (r357729)
@@ -1,4 +1,8 @@
+ at mode 555
bin/solarwolf
+ at mode
+man/man6/solarwolf.6.gz
+share/pixmaps/solarwolf.png
%%DATADIR%%/code/allmodules.py
%%DATADIR%%/code/allmodules.pyc
%%DATADIR%%/code/game.py
@@ -162,22 +166,13 @@ bin/solarwolf
%%DATADIR%%/data/solarwolf.pal
%%DATADIR%%/data/spikeball.png
%%DATADIR%%/data/star.gif
-%%DATADIR%%/dist/SolarWolf Website.url
-%%DATADIR%%/dist/box.ico
-%%DATADIR%%/dist/solarwolf.6.gz
-%%DATADIR%%/dist/solarwolf.desktop
-%%DATADIR%%/dist/solarwolf.iss
-%%DATADIR%%/dist/solarwolf.png
-%%DATADIR%%/dist/solarwolf.xpm
-%%DATADIR%%/dist/wolf2exe.py
-%%DATADIR%%/dist/wolf2exe.pyc
%%DATADIR%%/lgpl.txt
%%DATADIR%%/readme.txt
%%DATADIR%%/solarwolf.py
%%DATADIR%%/solarwolf.pyc
- at dirrm %%DATADIR%%/dist
- at dirrm %%DATADIR%%/data/music
- at dirrm %%DATADIR%%/data/audio
- at dirrm %%DATADIR%%/data
- at dirrm %%DATADIR%%/code
- at dirrm %%DATADIR%%
+ at mode 755
+ at dirrmtry %%DATADIR%%/code
+ at dirrmtry %%DATADIR%%/data/audio
+ at dirrmtry %%DATADIR%%/data/music
+ at dirrmtry %%DATADIR%%/data
+ at dirrmtry %%DATADIR%%
More information about the svn-ports-all
mailing list