svn commit: r484794 - head/games/pyspacewar
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon Nov 12 09:30:25 UTC 2018
Author: amdmi3
Date: Mon Nov 12 09:30:23 2018
New Revision: 484794
URL: https://svnweb.freebsd.org/changeset/ports/484794
Log:
- Fix LICENSE
- Add NO_ARCH
- Switch to options helpers
- Update WWW
Modified:
head/games/pyspacewar/Makefile
head/games/pyspacewar/pkg-descr
Modified: head/games/pyspacewar/Makefile
==============================================================================
--- head/games/pyspacewar/Makefile Mon Nov 12 09:15:38 2018 (r484793)
+++ head/games/pyspacewar/Makefile Mon Nov 12 09:30:23 2018 (r484794)
@@ -10,7 +10,7 @@ DIST_SUBDIR= python
MAINTAINER= ports at FreeBSD.org
COMMENT= Game loosely based on the original Spacewar!
-LICENSE= GPLv2
+LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/GPL.txt
RUN_DEPENDS= ${PYGAME}
@@ -21,15 +21,17 @@ 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
@@ -40,6 +42,7 @@ post-install:
${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}
Modified: head/games/pyspacewar/pkg-descr
==============================================================================
--- head/games/pyspacewar/pkg-descr Mon Nov 12 09:15:38 2018 (r484793)
+++ head/games/pyspacewar/pkg-descr Mon Nov 12 09:30:23 2018 (r484794)
@@ -9,4 +9,4 @@ with one keyboard. There is also a Gravity Wars mode,
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/
More information about the svn-ports-all
mailing list