aboutsummaryrefslogtreecommitdiff
path: root/games/pyspacewar
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2016-11-03 11:54:28 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2016-11-03 11:54:28 +0000
commit03c5a72ba91ce5f5acf86f93909f681f6bfff79c (patch)
treef7c059ad027bc093cf4c7fed47b5e0d5ccd0e57b /games/pyspacewar
parenta7f50052a378a31d8efec928c9047ffe07b1844f (diff)
downloadports-03c5a72ba91ce5f5acf86f93909f681f6bfff79c.tar.gz
ports-03c5a72ba91ce5f5acf86f93909f681f6bfff79c.zip
- Update to 1.1.0, please see
/usr/local/share/doc/pyspacewar/NEWS.rst - Remove symlink, Upstream have accepted changes
Notes
Notes: svn path=/head/; revision=425202
Diffstat (limited to 'games/pyspacewar')
-rw-r--r--games/pyspacewar/Makefile12
-rw-r--r--games/pyspacewar/distinfo5
-rw-r--r--games/pyspacewar/pkg-plist1
3 files changed, 7 insertions, 11 deletions
diff --git a/games/pyspacewar/Makefile b/games/pyspacewar/Makefile
index 7166cae1cc2a..133b598e1769 100644
--- a/games/pyspacewar/Makefile
+++ b/games/pyspacewar/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= pyspacewar
-PORTVERSION= 0.9.8
+PORTVERSION= 1.1.0
CATEGORIES= games python
DIST_SUBDIR= python
@@ -16,7 +16,7 @@ RUN_DEPENDS= ${PYGAME}
USE_GITHUB= yes
GH_ACCOUNT= mgedmin
-GH_TAGNAME= 2d058b1
+GH_TAGNAME= f872564
USES= python
USE_PYTHON= distutils autoplist
@@ -32,16 +32,12 @@ DESKTOP_ENTRIES="PySpaceWar" "" ${PORTNAME} \
post-install:
.for i in 16 22 32 48
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps
- ${INSTALL_DATA} ${WRKSRC}/src/pyspacewar/icons/${PORTNAME}${i}.png \
+ ${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/pyspacewar/icons/${PORTNAME}${i}.svg \
+ ${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}/icons/${PORTNAME}${i}.svg \
${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/${PORTNAME}${i}.svg
.endfor
-# Symlink icon which is needed that PySpaceWar works
- @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/icons
- ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
- ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/icons/${PORTNAME}48.png
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
diff --git a/games/pyspacewar/distinfo b/games/pyspacewar/distinfo
index d7f29940cd34..568d33f093dc 100644
--- a/games/pyspacewar/distinfo
+++ b/games/pyspacewar/distinfo
@@ -1,2 +1,3 @@
-SHA256 (python/mgedmin-pyspacewar-0.9.8-2d058b1_GH0.tar.gz) = e522338ba6896d73c10877954f3ef33b47e4e642e3a4576405b8b898bab3836a
-SIZE (python/mgedmin-pyspacewar-0.9.8-2d058b1_GH0.tar.gz) = 226313
+TIMESTAMP = 1478173131
+SHA256 (python/mgedmin-pyspacewar-1.1.0-f872564_GH0.tar.gz) = d11c55d1cf1342e1a3d0ea0ab847d453b02df8f96d5f874e736bfe70cbd1ae6f
+SIZE (python/mgedmin-pyspacewar-1.1.0-f872564_GH0.tar.gz) = 228922
diff --git a/games/pyspacewar/pkg-plist b/games/pyspacewar/pkg-plist
index 67d5892327ee..b88dbdc014b7 100644
--- a/games/pyspacewar/pkg-plist
+++ b/games/pyspacewar/pkg-plist
@@ -1,4 +1,3 @@
-%%PYTHON_SITELIBDIR%%/pyspacewar/icons/pyspacewar48.png
share/icons/hicolor/16x16/apps/pyspacewar.png
share/icons/hicolor/22x22/apps/pyspacewar.png
share/icons/hicolor/32x32/apps/pyspacewar.png