summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-04-21 14:15:45 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-04-21 14:15:45 +0000
commitd60aa9edd3a5c8e9ebf02f9840f03172be918a51 (patch)
tree84e12aaba2abcb0f97e777451ac5e2dfd48d1a1a /games
parent09d63b068401671425a913114f2a621add9a4836 (diff)
downloadfreebsd-ports-d60aa9edd3a5c8e9ebf02f9840f03172be918a51.zip
- Fix shebangs
- Switch to options helpers
Diffstat (limited to 'games')
-rw-r--r--games/tuxfighter/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/games/tuxfighter/Makefile b/games/tuxfighter/Makefile
index 52ee375c15f4..43a8ccd085fa 100644
--- a/games/tuxfighter/Makefile
+++ b/games/tuxfighter/Makefile
@@ -3,7 +3,7 @@
PORTNAME= tuxfighter
PORTVERSION= 54
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= games python
MASTER_SITES= SF/pygamebook/TuxFighter/TuxFighter${PORTVERSION}_source/ \
SF/nemysisfreebsdp/games/:icons
@@ -21,10 +21,10 @@ RUN_DEPENDS= ${PYGAME}
WRKSRC= ${WRKDIR}
-USES= python:2
+USES= python:2 shebangfix
+SHEBANG_FILES= TuxFighter54.py
PORTDOCS= readme_TuxFighter54.txt
-OPTIONS_DEFINE= DOCS
INSTALLS_ICONS= yes
ICON_SIZES= 48x48 64x64 72x72 96x96
@@ -34,6 +34,8 @@ SUB_FILES= ${PORTNAME} pkg-message
DESKTOP_ENTRIES="TuxFighter" "" "${PORTNAME}" \
"${PORTNAME}" "Game;ArcadeGame;" ""
+OPTIONS_DEFINE= DOCS
+
do-build:
@${PYTHON_CMD} -m compileall ${WRKSRC}
@${PYTHON_CMD} -O -m compileall ${WRKSRC}
@@ -56,6 +58,7 @@ do-install:
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}