aboutsummaryrefslogtreecommitdiff
path: root/games/tuxfighter
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2014-05-02 15:44:31 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2014-05-02 15:44:31 +0000
commit57e1777e91936a84f4ca0ca0ab62fdc9da78cf30 (patch)
treee6b1a7c7ffffd837564fbbe1f9a0848492688cc0 /games/tuxfighter
parentb243855f9fc4ac76491afe1408b402df03c025d4 (diff)
downloadports-57e1777e91936a84f4ca0ca0ab62fdc9da78cf30.tar.gz
ports-57e1777e91936a84f4ca0ca0ab62fdc9da78cf30.zip
Notes
Diffstat (limited to 'games/tuxfighter')
-rw-r--r--games/tuxfighter/Makefile22
-rw-r--r--games/tuxfighter/files/pkg-message.in (renamed from games/tuxfighter/pkg-message)0
2 files changed, 10 insertions, 12 deletions
diff --git a/games/tuxfighter/Makefile b/games/tuxfighter/Makefile
index 23aea7d33e30..de4b2df0690d 100644
--- a/games/tuxfighter/Makefile
+++ b/games/tuxfighter/Makefile
@@ -1,4 +1,4 @@
-# Created by: nemysis <nemysis@gmx.ch>
+# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= tuxfighter
@@ -11,7 +11,7 @@ DISTFILES= TuxFighter${DISTVERSION}.tar.gz \
${PORTNAME}_icons.tar.gz:icons
DIST_SUBDIR= python
-MAINTAINER= nemysis@FreeBSD.org
+MAINTAINER= games@FreeBSD.org
COMMENT= Little Asteroids-like Shooter game
LICENSE= GPLv2
@@ -20,17 +20,18 @@ RUN_DEPENDS= ${PYGAME}
WRKSRC= ${WRKDIR}
-USE_PYTHON= yes
+USE_PYTHON= 2
PORTDOCS= readme_TuxFighter54.txt
+OPTIONS_DEFINE= DOCS
INSTALLS_ICONS= yes
ICON_SIZES= 48x48 64x64 72x72 96x96
-SUB_FILES= ${PORTNAME}
+SUB_FILES= ${PORTNAME} pkg-message
-DESKTOP_ENTRIES="TuxFighter" "${COMMENT}" "${PORTNAME}" \
- "${PORTNAME}" "Game;ArcadeGame;" ${FALSE}
+DESKTOP_ENTRIES="TuxFighter" "" "${PORTNAME}" \
+ "${PORTNAME}" "Game;ArcadeGame;" ""
do-build:
@${PYTHON_CMD} -m compileall ${WRKSRC}
@@ -41,13 +42,10 @@ do-install:
${WRKDIR}/${PORTNAME}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
- @${MKDIR} ${STAGEDIR}${DATADIR}
-
-.for d in *.py *.pyc *.pyo
- @(cd ${WRKSRC} ; ${INSTALL_SCRIPT} ${d} ${STAGEDIR}${DATADIR})
-.endfor
-
@(cd ${WRKSRC} && ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR})
+.for f in *.py *.pyc *.pyo
+ ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}
+.endfor
post-install:
.for s in ${ICON_SIZES}
diff --git a/games/tuxfighter/pkg-message b/games/tuxfighter/files/pkg-message.in
index 11c42127c3dc..11c42127c3dc 100644
--- a/games/tuxfighter/pkg-message
+++ b/games/tuxfighter/files/pkg-message.in