forked from ports/contrib
rocksndiamonds: picked up port
This commit is contained in:
parent
e7829ba35e
commit
0d6441ab56
@ -5,11 +5,14 @@ drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/rocksndiamonds/
|
||||
drwxr-xr-x root/root usr/share/rocksndiamonds/graphics/
|
||||
drwxr-xr-x root/root usr/share/rocksndiamonds/graphics/gfx_classic/
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/graphics/gfx_classic/RocksBusy.pcx
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/graphics/gfx_classic/RocksDC.pcx
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/graphics/gfx_classic/RocksDC2.pcx
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/graphics/gfx_classic/RocksDoor.pcx
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/graphics/gfx_classic/RocksEMC.pcx
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/graphics/gfx_classic/RocksElements.pcx
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/graphics/gfx_classic/RocksFontBig.pcx
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/graphics/gfx_classic/RocksFontDC.pcx
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/graphics/gfx_classic/RocksFontEM.pcx
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/graphics/gfx_classic/RocksFontMedium.pcx
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/graphics/gfx_classic/RocksFontSmall.pcx
|
||||
@ -21,6 +24,7 @@ drwxr-xr-x root/root usr/share/rocksndiamonds/graphics/gfx_classic/
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/graphics/gfx_classic/graphicsinfo.conf
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/graphics/gfx_classic/mouse.pcx
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/graphics/gfx_classic/rocks_icon.xbm
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/graphics/gfx_classic/rocks_icon_32x32.pcx
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/graphics/gfx_classic/rocks_iconmask.xbm
|
||||
drwxr-xr-x root/root usr/share/rocksndiamonds/levels/
|
||||
drwxr-xr-x root/root usr/share/rocksndiamonds/levels/Classic_Games/
|
||||
@ -457,7 +461,9 @@ drwxr-xr-x root/root usr/share/rocksndiamonds/levels/Tutorials/rnd_tutorial_aaro
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/levels/Tutorials/rnd_tutorial_aaron_davidson/002.level
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/levels/Tutorials/rnd_tutorial_aaron_davidson/003.level
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/levels/Tutorials/rnd_tutorial_aaron_davidson/004.level
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/levels/Tutorials/rnd_tutorial_aaron_davidson/004.level.orig
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/levels/Tutorials/rnd_tutorial_aaron_davidson/005.level
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/levels/Tutorials/rnd_tutorial_aaron_davidson/005.level.orig
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/levels/Tutorials/rnd_tutorial_aaron_davidson/006.level
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/levels/Tutorials/rnd_tutorial_aaron_davidson/007.level
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/levels/Tutorials/rnd_tutorial_aaron_davidson/008.level
|
||||
@ -514,6 +520,7 @@ drwxr-xr-x root/root usr/share/rocksndiamonds/levels/Tutorials/rnd_tutorial_niko
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/levels/Tutorials/rnd_tutorial_niko_boehm/002.level
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/levels/Tutorials/rnd_tutorial_niko_boehm/003.level
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/levels/Tutorials/rnd_tutorial_niko_boehm/004.level
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/levels/Tutorials/rnd_tutorial_niko_boehm/004.level.orig
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/levels/Tutorials/rnd_tutorial_niko_boehm/005.level
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/levels/Tutorials/rnd_tutorial_niko_boehm/006.level
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/levels/Tutorials/rnd_tutorial_niko_boehm/007.level
|
||||
@ -522,6 +529,7 @@ drwxr-xr-x root/root usr/share/rocksndiamonds/levels/Tutorials/rnd_tutorial_niko
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/levels/Tutorials/rnd_tutorial_niko_boehm/010.level
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/levels/Tutorials/rnd_tutorial_niko_boehm/011.level
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/levels/Tutorials/rnd_tutorial_niko_boehm/012.level
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/levels/Tutorials/rnd_tutorial_niko_boehm/012.level.orig
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/levels/Tutorials/rnd_tutorial_niko_boehm/013.level
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/levels/Tutorials/rnd_tutorial_niko_boehm/014.level
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/levels/Tutorials/rnd_tutorial_niko_boehm/015.level
|
||||
@ -653,7 +661,6 @@ drwxr-xr-x root/root usr/share/rocksndiamonds/sounds/snd_classic/
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/sounds/snd_classic/zisch.wav
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/sounds/snd_classic/zonkdown.wav
|
||||
-rw-r--r-- root/root usr/share/rocksndiamonds/sounds/snd_classic/zonkpush.wav
|
||||
drwxr-xr-x root/root usr/share/rocksndiamonds/{graphics,/
|
||||
drwxr-xr-x root/root var/
|
||||
drwxr-xr-x root/root var/lib/
|
||||
drwxr-xr-x root/root var/lib/games/
|
||||
|
@ -1 +1 @@
|
||||
6a6e0397f043314e3df8ee85c03590b5 rocksndiamonds-3.1.1.tar.gz
|
||||
561bbebc7f59b3fa61bae9d7340ae49d rocksndiamonds-3.2.4.tar.gz
|
||||
|
@ -1,35 +1,43 @@
|
||||
# Description: Clone of the old BoulderDash and Rockford game.
|
||||
# URL: http://www.artsoft.org/rocksndiamonds/
|
||||
# Packager: James Mills, prologic at shortcircuit dot net dot au
|
||||
# Maintainer: James Mills, prologic at shortcircuit dot net dot au
|
||||
#
|
||||
# Depends on: sdl_image, sdl_mixer, sdl_net
|
||||
# URL: http://www.artsoft.org/rocksndiamonds/
|
||||
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
|
||||
# Packager: James Mills, prologic at shortcircuit dot net dot au
|
||||
# Depends on: sdl_image sdl_mixer sdl_net smpeg
|
||||
|
||||
name=rocksndiamonds
|
||||
version=3.1.1
|
||||
release=2
|
||||
source=(http://www.artsoft.org/RELEASES/unix/$name/$name-$version.tar.gz)
|
||||
version=3.2.4
|
||||
release=1
|
||||
source=(http://www.artsoft.org/RELEASES/unix/rocksndiamonds/rocksndiamonds-$version.tar.gz)
|
||||
|
||||
build () {
|
||||
cd $name-$version
|
||||
build() {
|
||||
cd rocksndiamonds-$version
|
||||
|
||||
export RO_GAME_DIR=/usr/share/$name
|
||||
export RW_GAME_DIR=/var/lib/games/$name
|
||||
make
|
||||
sed -i src/Makefile \
|
||||
-e '/^OPTIONS = $(DEBUG) -Wall.*$/d' \
|
||||
-e "/^OPTIONS = -O3 -Wall/s/-O3 -Wall/$CFLAGS -Wall -O3/"
|
||||
|
||||
install -d \
|
||||
$PKG/usr/share/$name/{graphics, levels, music, sounds} \
|
||||
$PKG/var/lib/games/$name
|
||||
export BUILD_DIST=1
|
||||
export RO_GAME_DIR='/usr/share/rocksndiamonds'
|
||||
export RW_GAME_DIR='/var/lib/games/rocksndiamonds'
|
||||
make
|
||||
|
||||
cp -r graphics $PKG/usr/share/$name
|
||||
cp -r levels $PKG/usr/share/$name
|
||||
cp -r music $PKG/usr/share/$name
|
||||
cp -r sounds $PKG/usr/share/$name
|
||||
install -d \
|
||||
$PKG/usr/share/rocksndiamonds/graphics \
|
||||
$PKG/usr/share/rocksndiamonds/levels \
|
||||
$PKG/usr/share/rocksndiamonds/music \
|
||||
$PKG/usr/share/rocksndiamonds/sounds \
|
||||
$PKG/var/lib/games/rocksndiamonds
|
||||
|
||||
cp -r scores $PKG/var/lib/games/$name
|
||||
install -D -m755 $name $PKG/usr/bin/$name
|
||||
chown -R root:root $PKG
|
||||
cp -r graphics $PKG/usr/share/rocksndiamonds
|
||||
cp -r levels $PKG/usr/share/rocksndiamonds
|
||||
cp -r music $PKG/usr/share/rocksndiamonds
|
||||
cp -r sounds $PKG/usr/share/rocksndiamonds
|
||||
|
||||
unset RO_GAME_DIR
|
||||
unset RW_GAME_DIR
|
||||
cp -r scores $PKG/var/lib/games/rocksndiamonds
|
||||
install -D -m 0755 rocksndiamonds $PKG/usr/bin/rocksndiamonds
|
||||
|
||||
unset BUILD_DIST
|
||||
unset RO_GAME_DIR
|
||||
unset RW_GAME_DIR
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user