From owner-svn-ports-all@FreeBSD.ORG Sat Jun 14 01:00:59 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8991BC37; Sat, 14 Jun 2014 01:00:59 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 76C7028BB; Sat, 14 Jun 2014 01:00:59 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5E10xcO032580; Sat, 14 Jun 2014 01:00:59 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5E10wnA032577; Sat, 14 Jun 2014 01:00:58 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201406140100.s5E10wnA032577@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Sat, 14 Jun 2014 01:00:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r357729 - head/games/solarwolf X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jun 2014 01:00:59 -0000 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 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@datacomm.ch +MAINTAINER= mail@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 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 @@ +@mode 555 bin/solarwolf +@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 -@dirrm %%DATADIR%%/dist -@dirrm %%DATADIR%%/data/music -@dirrm %%DATADIR%%/data/audio -@dirrm %%DATADIR%%/data -@dirrm %%DATADIR%%/code -@dirrm %%DATADIR%% +@mode 755 +@dirrmtry %%DATADIR%%/code +@dirrmtry %%DATADIR%%/data/audio +@dirrmtry %%DATADIR%%/data/music +@dirrmtry %%DATADIR%%/data +@dirrmtry %%DATADIR%%