Index: head/games/pyspacewar/Makefile =================================================================== --- head/games/pyspacewar/Makefile (revision 484793) +++ head/games/pyspacewar/Makefile (revision 484794) @@ -1,46 +1,49 @@ # Created by: Rusmir Dusko # $FreeBSD$ PORTNAME= pyspacewar PORTVERSION= 1.1.0 PORTREVISION= 1 CATEGORIES= games python DIST_SUBDIR= python MAINTAINER= ports@FreeBSD.org COMMENT= Game loosely based on the original Spacewar! -LICENSE= GPLv2 +LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/GPL.txt RUN_DEPENDS= ${PYGAME} USE_GITHUB= yes GH_ACCOUNT= mgedmin GH_TAGNAME= f872564 USES= python:2.7 USE_PYTHON= distutils autoplist +NO_ARCH= yes PORTDOCS= *.rst -OPTIONS_DEFINE= DOCS INSTALLS_ICONS= yes DESKTOP_ENTRIES="PySpaceWar" "" ${PORTNAME} \ "${PORTNAME}" "Game;ArcadeGame;" "" +OPTIONS_DEFINE= DOCS + post-install: .for i in 16 22 32 48 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps ${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}/icons/${PORTNAME}${i}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/${PORTNAME}.png @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps ${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}/icons/${PORTNAME}${i}.svg \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/${PORTNAME}${i}.svg .endfor +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Index: head/games/pyspacewar/pkg-descr =================================================================== --- head/games/pyspacewar/pkg-descr (revision 484793) +++ head/games/pyspacewar/pkg-descr (revision 484794) @@ -1,12 +1,12 @@ PySpaceWar Two ships duel in a gravity field. Gravity doesn't affect the ships themselves (which have spanking new anti-gravity devices), but it affects missiles launced by the ships. You can play against the computer, or two players can play with one keyboard. There is also a Gravity Wars mode, where the two ships do not move, and the players repeatedly specify the direction and velocity of their missiles. -WWW: http://mg.pov.lt/pyspacewar/ +WWW: https://mg.pov.lt/pyspacewar/