FreeBSD Bugzilla – Attachment 126167 Details for
Bug 169893
[NEW PORT] games/tuxfighter: TuxFighter is a little Asteroids-like Shooter game
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
tuxfighter.diff
tuxfighter.diff (text/x-patch), 3.25 KB, created by
nemysis
on 2012-08-07 00:28:24 UTC
(
hide
)
Description:
tuxfighter.diff
Filename:
MIME Type:
Creator:
nemysis
Created:
2012-08-07 00:28:24 UTC
Size:
3.25 KB
patch
obsolete
>diff -ruN tuxfighter.orig/Makefile tuxfighter/Makefile >--- tuxfighter.orig/Makefile 2012-07-15 22:54:00.000000000 +0200 >+++ tuxfighter/Makefile 2012-08-07 01:22:58.000000000 +0200 >@@ -1,4 +1,4 @@ >-# New Ports collection makefile for: tuxfighter >+# New Ports collection makefile for: TuxFighter > # Date created: 2012-07-15 > # Whom: nemysis@gmx.ch > # >@@ -8,19 +8,25 @@ > PORTNAME= tuxfighter > PORTVERSION= 54 > CATEGORIES= games >-MASTER_SITES= SF/pygamebook/${PORTNAME:S/t/T/:S/f/F/}/${PORTNAME:S/t/T/:S/f/F/}${PORTVERSION}_source >-DISTNAME= ${PORTNAME:S/t/T/:S/f/F/}${DISTVERSION} >+MASTER_SITES= SF/pygamebook/${PORTNAME:S/t/T/:S/f/F/}/${PORTNAME:S/t/T/:S/f/F/}${PORTVERSION}_source/ \ >+ http://thepythongamebook.com/_media/en:resources:games:/:icons >+DISTFILES= ${PORTNAME:S/t/T/:S/f/F/}${DISTVERSION}.tar.gz \ >+ tfbomb.jpg:icons >+DIST_SUBDIR= python >+EXTRACT_ONLY= ${PORTNAME:S/t/T/:S/f/F/}${DISTVERSION}.tar.gz > > MAINTAINER= nemysis@gmx.ch > COMMENT= TuxFighter is a little Asteroids-like Shooter game > > LICENSE= GPLv2 > >-FETCH_DEPENDS= wget:${PORTSDIR}/ftp/wget > RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game > > WRKSRC= ${WRKDIR} > >+OPTIONS_DEFINE= DATA >+OPTIONS_DEFAULT= DATA >+ > FETCH_ARGS?= -Fpr > USE_PYTHON= yes > NO_BUILD= yes >@@ -31,24 +37,29 @@ > PORTDATA= * > PORTDOCS= readme_TuxFighter54.txt > >+SUB_FILES= ${PORTNAME} >+ >+.include <bsd.port.options.mk> >+ > do-install: > # Scripts >- @${PRINTF} "#!/bin/sh\n\ncd ${DATADIR} &&\ >- ./${PORTNAME:S/t/T/:S/f/F/}${DISTVERSION}.py\n" > ${WRKDIR}/${PORTNAME}.sh >- @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME} >+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin >+ > # Executable > ${MKDIR} ${DATADIR} > ${INSTALL_SCRIPT} ${WRKSRC}/TuxFighter54.py ${DATADIR} > ${INSTALL_SCRIPT} ${WRKSRC}/TuxFighter_modding.py ${DATADIR} > > # Data >-.if !defined (NOPORTDATA) >+.if ${PORT_OPTIONS:MDATA} > cd ${WRKSRC} && ${COPYTREE_SHARE} data ${DATADIR} >- wget http://thepythongamebook.com/_media/en:resources:games:tfbomb.jpg ; ${MV} en:resources:games:tfbomb.jpg ${PREFIX}/share/pixmaps/${PORTNAME}.jpg > .endif > >+# Pixmaps >+ @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/tfbomb.jpg ${PREFIX}/share/pixmaps/${PORTNAME}.jpg >+ > # Documentation >-.if !defined(NOPORTDOCS) >+.if ${PORT_OPTIONS:MDOCS} > ${MKDIR} ${DOCSDIR} > . for f in ${PORTDOCS} > ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} >diff -ruN tuxfighter.orig/distinfo tuxfighter/distinfo >--- tuxfighter.orig/distinfo 2012-07-15 21:50:39.000000000 +0200 >+++ tuxfighter/distinfo 2012-08-07 01:08:25.000000000 +0200 >@@ -1,2 +1,4 @@ >-SHA256 (TuxFighter54.tar.gz) = ba9ed46da8d2196cf1c90b67f0cb57f33b92f54be4b3867bd0af5d214d267154 >-SIZE (TuxFighter54.tar.gz) = 336573 >+SHA256 (python/TuxFighter54.tar.gz) = ba9ed46da8d2196cf1c90b67f0cb57f33b92f54be4b3867bd0af5d214d267154 >+SIZE (python/TuxFighter54.tar.gz) = 336573 >+SHA256 (python/tfbomb.jpg) = 669d19abfa8993424ab411b066e4fbfd48b80c06486b08c82181f8df4335492d >+SIZE (python/tfbomb.jpg) = 50327 >diff -ruN tuxfighter.orig/files/tuxfighter.in tuxfighter/files/tuxfighter.in >--- tuxfighter.orig/files/tuxfighter.in 1970-01-01 01:00:00.000000000 +0100 >+++ tuxfighter/files/tuxfighter.in 2012-08-07 00:48:56.000000000 +0200 >@@ -0,0 +1,7 @@ >+#!/bin/sh >+# >+# $FreeBSD$ >+ >+echo "TuxFighter: Starting up..." >+cd "%%DATADIR%%" >+./TuxFighter54.py
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 169893
:
126166
| 126167 |
126168
|
126169
|
126170
|
126171
|
126172
|
126173