aboutsummaryrefslogtreecommitdiff
path: root/games/pyspacewar
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2013-12-07 23:17:10 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2013-12-07 23:17:10 +0000
commitf0b81f5d8f3f10a410b2fdb9ffb0b3334599fe5d (patch)
tree593826147e3fbe6afad2845447137466ff37c3e8 /games/pyspacewar
parent19cd7149833ddecec1cc3b74eb38f44890b05f6b (diff)
downloadports-f0b81f5d8f3f10a410b2fdb9ffb0b3334599fe5d.tar.gz
ports-f0b81f5d8f3f10a410b2fdb9ffb0b3334599fe5d.zip
Notes
Diffstat (limited to 'games/pyspacewar')
-rw-r--r--games/pyspacewar/Makefile25
-rw-r--r--games/pyspacewar/pkg-plist2
2 files changed, 11 insertions, 16 deletions
diff --git a/games/pyspacewar/Makefile b/games/pyspacewar/Makefile
index fff76466ab23..ededb36685e3 100644
--- a/games/pyspacewar/Makefile
+++ b/games/pyspacewar/Makefile
@@ -9,7 +9,7 @@ MASTER_SITES= http://mg.pov.lt/${PORTNAME}/\
LOCAL/beech
DIST_SUBDIR= python
-MAINTAINER= nemysis@gmx.ch
+MAINTAINER= nemysis@FreeBSD.org
COMMENT= Two ships duel in a gravity field
LICENSE= GPLv2
@@ -18,18 +18,16 @@ RUN_DEPENDS= ${PYGAME}
USE_PYTHON= yes
USE_PYDISTUTILS=yes
-NO_BUILD= yes
PORTDOCS= NEWS.txt README.txt TODO.txt performance-notes.txt
+OPTIONS_DEFINE= DOCS
+
INSTALLS_ICONS= yes
ICON_SIZES= 16x16 22x22 32x32 48x48
-DESKTOP_ENTRIES="PySpaceWar" "${COMMENT}" ${PORTNAME} \
- "${PORTNAME}" "Game;ArcadeGame;" false
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+DESKTOP_ENTRIES="PySpaceWar" "" ${PORTNAME} \
+ "${PORTNAME}" "Game;ArcadeGame;" ""
post-patch:
.for s in 16 22 32 48
@@ -39,15 +37,14 @@ post-patch:
post-install:
.for s in ${ICON_SIZES}
- @${MKDIR} ${PREFIX}/share/icons/hicolor/${s}/apps
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps
${INSTALL_DATA} ${WRKSRC}/src/pyspacewar/icons/${PORTNAME}_${s}.png \
- ${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
+ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
.endfor
- @${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps
+ ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
+ ${STAGEDIR}${PREFIX}/share/pixmaps/
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/games/pyspacewar/pkg-plist b/games/pyspacewar/pkg-plist
index 957b79655a30..17194ada6dc3 100644
--- a/games/pyspacewar/pkg-plist
+++ b/games/pyspacewar/pkg-plist
@@ -50,5 +50,3 @@ share/pixmaps/pyspacewar.png
@dirrm %%PYTHON_SITELIBDIR%%/pyspacewar/music
@dirrm %%PYTHON_SITELIBDIR%%/pyspacewar/images
@dirrm %%PYTHON_SITELIBDIR%%/pyspacewar
-@dirrmtry %%PYTHON_SITELIBDIR%%
-@dirrmtry %%PYTHON_LIBDIR%%