Spacejunk is a computer game about traveling in 2D planetary systems.

The player must collect drifting garbage by navigating through the
gravitational fields of planets and stars. A rough editor for
planetary systems is provided too.

WWW: http://spacejunk.sourceforge.net/
This commit is contained in:
Dmitry Marakasov 2010-02-13 17:35:12 +00:00
parent 3b28dc46b4
commit ef76f9c4e3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=249783
6 changed files with 243 additions and 0 deletions

View File

@ -797,6 +797,7 @@
SUBDIR += sopwith
SUBDIR += spacearyarya
SUBDIR += spacehulk
SUBDIR += spacejunk
SUBDIR += speak
SUBDIR += species
SUBDIR += spellathon

42
games/spacejunk/Makefile Normal file
View File

@ -0,0 +1,42 @@
# New ports collection makefile for: spacejunk
# Date created: 21 Jan 2010
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= spacejunk
PORTVERSION= 1.0.3
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= A video game about traveling in 2D planetary systems
USE_SDL= sdl mixer image
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="${PTHREAD_LIBS}"
SUB_FILES= spacejunk
PORTDOCS= *
post-patch:
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/gem-uta.c \
${WRKSRC}/libinfo/gem-uta.c
@${REINPLACE_CMD} -e 's|data/|${DATADIR}/&|' ${WRKSRC}/src/*.c*
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/spacejunk ${PREFIX}/libexec/
${MKDIR} ${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} 'data config.txt' ${DATADIR}/
${INSTALL_SCRIPT} ${WRKDIR}/spacejunk ${PREFIX}/bin/
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} '*' ${DOCSDIR}/
.endif
.include <bsd.port.mk>

3
games/spacejunk/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (spacejunk-1.0.3.tar.gz) = 91d84c7d8b320e1a52e586ce84e95875
SHA256 (spacejunk-1.0.3.tar.gz) = 53f1deec2a4afb8e1a16cb2261b0af5a768ba53185a4feae3c011a17f93421b1
SIZE (spacejunk-1.0.3.tar.gz) = 5945291

View File

@ -0,0 +1,12 @@
#!/bin/sh
DOTDIR=~/.spacejunk
mkdir -p $DOTDIR
cd $DOTDIR || exit 1
if [ ! -e config.txt ]; then
cp %%DATADIR%%/config.txt .
fi
exec %%PREFIX%%/libexec/spacejunk "$@"

View File

@ -0,0 +1,6 @@
Spacejunk is a computer game about traveling in 2D planetary systems.
The player must collect drifting garbage by navigating through the
gravitational fields of planets and stars. A rough editor for
planetary systems is provided too.
WWW: http://spacejunk.sourceforge.net/

179
games/spacejunk/pkg-plist Normal file
View File

@ -0,0 +1,179 @@
bin/spacejunk
libexec/spacejunk
%%DATADIR%%/config.txt
%%DATADIR%%/data/art/11pt.png
%%DATADIR%%/data/art/17pt.png
%%DATADIR%%/data/art/17ptgray.png
%%DATADIR%%/data/art/asimov20.png
%%DATADIR%%/data/art/asimov27.png
%%DATADIR%%/data/art/asimovgray20.png
%%DATADIR%%/data/art/asteroid1.otl
%%DATADIR%%/data/art/asteroid1.png
%%DATADIR%%/data/art/asteroid2.otl
%%DATADIR%%/data/art/asteroid2.png
%%DATADIR%%/data/art/asteroid3.otl
%%DATADIR%%/data/art/asteroid3.png
%%DATADIR%%/data/art/asteroid4.otl
%%DATADIR%%/data/art/asteroid4.png
%%DATADIR%%/data/art/bell.png
%%DATADIR%%/data/art/controlpanel.png
%%DATADIR%%/data/art/deletepointer.png
%%DATADIR%%/data/art/engine.ogg
%%DATADIR%%/data/art/engineend.ogg
%%DATADIR%%/data/art/engineinit.ogg
%%DATADIR%%/data/art/farstar1.png
%%DATADIR%%/data/art/farstar10.png
%%DATADIR%%/data/art/farstar11.png
%%DATADIR%%/data/art/farstar12.png
%%DATADIR%%/data/art/farstar13.png
%%DATADIR%%/data/art/farstar14.png
%%DATADIR%%/data/art/farstar2.png
%%DATADIR%%/data/art/farstar3.png
%%DATADIR%%/data/art/farstar4.png
%%DATADIR%%/data/art/farstar5.png
%%DATADIR%%/data/art/farstar7.png
%%DATADIR%%/data/art/farstar8.png
%%DATADIR%%/data/art/farstar9.png
%%DATADIR%%/data/art/finalmus.ogg
%%DATADIR%%/data/art/fixedfont.bmp
%%DATADIR%%/data/art/flame0.png
%%DATADIR%%/data/art/flame1.png
%%DATADIR%%/data/art/flame2.png
%%DATADIR%%/data/art/flame3.png
%%DATADIR%%/data/art/flame4.png
%%DATADIR%%/data/art/fuelbar.png
%%DATADIR%%/data/art/fuelbarfill.png
%%DATADIR%%/data/art/fx1.ogg
%%DATADIR%%/data/art/fx10.ogg
%%DATADIR%%/data/art/fx2.2.ogg
%%DATADIR%%/data/art/fx2.ogg
%%DATADIR%%/data/art/fx24.ogg
%%DATADIR%%/data/art/fx3.ogg
%%DATADIR%%/data/art/fx31.ogg
%%DATADIR%%/data/art/fx33.ogg
%%DATADIR%%/data/art/fx34.ogg
%%DATADIR%%/data/art/fx4.1.ogg
%%DATADIR%%/data/art/fx4.ogg
%%DATADIR%%/data/art/fx5.ogg
%%DATADIR%%/data/art/fx6.ogg
%%DATADIR%%/data/art/fx7.ogg
%%DATADIR%%/data/art/fx8.ogg
%%DATADIR%%/data/art/galaxia0.png
%%DATADIR%%/data/art/galaxia0grande.png
%%DATADIR%%/data/art/galaxia1.png
%%DATADIR%%/data/art/galaxia2.png
%%DATADIR%%/data/art/galaxia3.png
%%DATADIR%%/data/art/galaxia4.png
%%DATADIR%%/data/art/galaxia4chica.png
%%DATADIR%%/data/art/galaxia4grande.png
%%DATADIR%%/data/art/gameovermus.ogg
%%DATADIR%%/data/art/helpbt.png
%%DATADIR%%/data/art/icon.ico
%%DATADIR%%/data/art/intromus.ogg
%%DATADIR%%/data/art/moon1.otl
%%DATADIR%%/data/art/moon1.png
%%DATADIR%%/data/art/moon2.png
%%DATADIR%%/data/art/moon3.otl
%%DATADIR%%/data/art/moon3.png
%%DATADIR%%/data/art/moon4.otl
%%DATADIR%%/data/art/moon4.png
%%DATADIR%%/data/art/mousepointer.png
%%DATADIR%%/data/art/nebula1.png
%%DATADIR%%/data/art/nebula2.png
%%DATADIR%%/data/art/nebula3.png
%%DATADIR%%/data/art/orbitlengthbutton.png
%%DATADIR%%/data/art/planet1.png
%%DATADIR%%/data/art/planeta2.otl
%%DATADIR%%/data/art/planeta2.png
%%DATADIR%%/data/art/planeta3.png
%%DATADIR%%/data/art/planeta4.png
%%DATADIR%%/data/art/planeta5.png
%%DATADIR%%/data/art/planeta6.png
%%DATADIR%%/data/art/planeta7.png
%%DATADIR%%/data/art/planeta8.png
%%DATADIR%%/data/art/planeta9.png
%%DATADIR%%/data/art/quitbt.png
%%DATADIR%%/data/art/redalert.png
%%DATADIR%%/data/art/scoredisplay.png
%%DATADIR%%/data/art/scorescreen.png
%%DATADIR%%/data/art/shipmarker.png
%%DATADIR%%/data/art/shipviewbutton.png
%%DATADIR%%/data/art/soundscreen.png
%%DATADIR%%/data/art/soundslidermarker.png
%%DATADIR%%/data/art/spacejunk.gpl
%%DATADIR%%/data/art/spacemus.ogg
%%DATADIR%%/data/art/spacemus2.ogg
%%DATADIR%%/data/art/star1.png
%%DATADIR%%/data/art/star2.png
%%DATADIR%%/data/art/star3.png
%%DATADIR%%/data/art/stargroup1.png
%%DATADIR%%/data/art/stargroup2.png
%%DATADIR%%/data/art/stargroup3.png
%%DATADIR%%/data/art/starship0.otl
%%DATADIR%%/data/art/starship0.png
%%DATADIR%%/data/art/storyscreen.png
%%DATADIR%%/data/art/successmus.ogg
%%DATADIR%%/data/art/timebt.png
%%DATADIR%%/data/art/titlescreen.gpl
%%DATADIR%%/data/art/titlescreen.png
%%DATADIR%%/data/art/trash1.otl
%%DATADIR%%/data/art/trash1.png
%%DATADIR%%/data/art/trash2.otl
%%DATADIR%%/data/art/trash2.png
%%DATADIR%%/data/art/trash3.otl
%%DATADIR%%/data/art/trash3.png
%%DATADIR%%/data/art/trash4.otl
%%DATADIR%%/data/art/trash4.png
%%DATADIR%%/data/art/trash5.otl
%%DATADIR%%/data/art/trash5.png
%%DATADIR%%/data/art/trash6.otl
%%DATADIR%%/data/art/trash6.png
%%DATADIR%%/data/art/trash7.otl
%%DATADIR%%/data/art/trash7.png
%%DATADIR%%/data/art/trash8.otl
%%DATADIR%%/data/art/trash8.png
%%DATADIR%%/data/art/trash9.otl
%%DATADIR%%/data/art/trash9.png
%%DATADIR%%/data/art/viewpointbutton.png
%%DATADIR%%/data/art/zoomminusbutton.png
%%DATADIR%%/data/art/zoomplusbutton.png
%%DATADIR%%/data/en/levels/level1
%%DATADIR%%/data/en/levels/level10
%%DATADIR%%/data/en/levels/level11
%%DATADIR%%/data/en/levels/level12
%%DATADIR%%/data/en/levels/level13
%%DATADIR%%/data/en/levels/level21
%%DATADIR%%/data/en/levels/level3
%%DATADIR%%/data/en/levels/level4
%%DATADIR%%/data/en/levels/level5
%%DATADIR%%/data/en/levels/level6
%%DATADIR%%/data/en/levels/level7
%%DATADIR%%/data/en/levels/level8
%%DATADIR%%/data/en/levels/level9
%%DATADIR%%/data/en/levels/levelhard
%%DATADIR%%/data/en/levels/levels.xml
%%DATADIR%%/data/en/texts.xml
%%DATADIR%%/data/es/levels/level1.es
%%DATADIR%%/data/es/levels/level10.es
%%DATADIR%%/data/es/levels/level11.es
%%DATADIR%%/data/es/levels/level12.es
%%DATADIR%%/data/es/levels/level13.es
%%DATADIR%%/data/es/levels/level21.es
%%DATADIR%%/data/es/levels/level3.es
%%DATADIR%%/data/es/levels/level4.es
%%DATADIR%%/data/es/levels/level5.es
%%DATADIR%%/data/es/levels/level6.es
%%DATADIR%%/data/es/levels/level7.es
%%DATADIR%%/data/es/levels/level8.es
%%DATADIR%%/data/es/levels/level9.es
%%DATADIR%%/data/es/levels/levelhard.es
%%DATADIR%%/data/es/levels/levels.xml
%%DATADIR%%/data/es/texts.xml
%%DATADIR%%/data/resources.xml
@dirrm %%DATADIR%%/data/es/levels
@dirrm %%DATADIR%%/data/es
@dirrm %%DATADIR%%/data/en/levels
@dirrm %%DATADIR%%/data/en
@dirrm %%DATADIR%%/data/art
@dirrm %%DATADIR%%/data
@dirrm %%DATADIR%%