summaryrefslogtreecommitdiff
path: root/portsToCome/openttd
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-27 10:13:52 +0200
committerErich Eckner <git@eckner.net>2018-05-27 10:13:52 +0200
commit14a8f5d3c7889f2046a008b1b1dc29f485ebb359 (patch)
tree644ebb60f7155dd5c139d233857684fbcd8546e6 /portsToCome/openttd
downloadcrux-ports-14a8f5d3c7889f2046a008b1b1dc29f485ebb359.tar.xz
initial commit
Diffstat (limited to 'portsToCome/openttd')
-rw-r--r--portsToCome/openttd/.footprint101
-rw-r--r--portsToCome/openttd/.md5sum4
-rw-r--r--portsToCome/openttd/Pkgfile60
3 files changed, 165 insertions, 0 deletions
diff --git a/portsToCome/openttd/.footprint b/portsToCome/openttd/.footprint
new file mode 100644
index 0000000..1a07861
--- /dev/null
+++ b/portsToCome/openttd/.footprint
@@ -0,0 +1,101 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/openttd
+drwxr-xr-x root/root usr/man/
+-rw-r--r-- root/root usr/man/openttd.6.gz
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/applications/
+-rw-r--r-- root/root usr/share/applications/openttd.desktop
+drwxr-xr-x root/root usr/share/icons/
+drwxr-xr-x root/root usr/share/icons/hicolor/
+drwxr-xr-x root/root usr/share/icons/hicolor/128x128/
+drwxr-xr-x root/root usr/share/icons/hicolor/128x128/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/128x128/apps/openttd.png
+drwxr-xr-x root/root usr/share/icons/hicolor/16x16/
+drwxr-xr-x root/root usr/share/icons/hicolor/16x16/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/16x16/apps/openttd.png
+drwxr-xr-x root/root usr/share/icons/hicolor/256x256/
+drwxr-xr-x root/root usr/share/icons/hicolor/256x256/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/256x256/apps/openttd.png
+drwxr-xr-x root/root usr/share/icons/hicolor/32x32/
+drwxr-xr-x root/root usr/share/icons/hicolor/32x32/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/32x32/apps/openttd.png
+drwxr-xr-x root/root usr/share/icons/hicolor/48x48/
+drwxr-xr-x root/root usr/share/icons/hicolor/48x48/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/48x48/apps/openttd.png
+drwxr-xr-x root/root usr/share/icons/hicolor/64x64/
+drwxr-xr-x root/root usr/share/icons/hicolor/64x64/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/64x64/apps/openttd.png
+drwxr-xr-x root/root usr/share/openttd/
+drwxr-xr-x root/root usr/share/openttd/ai/
+-rw-r--r-- root/root usr/share/openttd/ai/compat_0.7.nut
+-rw-r--r-- root/root usr/share/openttd/ai/compat_1.0.nut
+-rw-r--r-- root/root usr/share/openttd/ai/compat_1.1.nut
+-rw-r--r-- root/root usr/share/openttd/ai/compat_1.2.nut
+-rw-r--r-- root/root usr/share/openttd/ai/compat_1.3.nut
+-rw-r--r-- root/root usr/share/openttd/ai/compat_1.4.nut
+-rw-r--r-- root/root usr/share/openttd/ai/compat_1.5.nut
+drwxr-xr-x root/root usr/share/openttd/baseset/
+-rw-r--r-- root/root usr/share/openttd/baseset/no_music.obm
+-rw-r--r-- root/root usr/share/openttd/baseset/no_sound.obs
+-rw-r--r-- root/root usr/share/openttd/baseset/openttd.32.bmp
+-rw-r--r-- root/root usr/share/openttd/baseset/openttd.grf
+-rw-r--r-- root/root usr/share/openttd/baseset/opntitle.dat
+-rw-r--r-- root/root usr/share/openttd/baseset/orig_dos.obg
+-rw-r--r-- root/root usr/share/openttd/baseset/orig_dos.obs
+-rw-r--r-- root/root usr/share/openttd/baseset/orig_dos_de.obg
+-rw-r--r-- root/root usr/share/openttd/baseset/orig_win.obg
+-rw-r--r-- root/root usr/share/openttd/baseset/orig_win.obm
+-rw-r--r-- root/root usr/share/openttd/baseset/orig_win.obs
+drwxr-xr-x root/root usr/share/openttd/data/
+drwxr-xr-x root/root usr/share/openttd/data/opengfx-0.5.2/
+-rw-r--r-- root/root usr/share/openttd/data/opengfx-0.5.2/license.txt
+-rw-r--r-- root/root usr/share/openttd/data/opengfx-0.5.2/ogfx1_base.grf
+-rw-r--r-- root/root usr/share/openttd/data/opengfx-0.5.2/ogfxc_arctic.grf
+-rw-r--r-- root/root usr/share/openttd/data/opengfx-0.5.2/ogfxe_extra.grf
+-rw-r--r-- root/root usr/share/openttd/data/opengfx-0.5.2/ogfxh_tropical.grf
+-rw-r--r-- root/root usr/share/openttd/data/opengfx-0.5.2/ogfxi_logos.grf
+-rw-r--r-- root/root usr/share/openttd/data/opengfx-0.5.2/ogfxt_toyland.grf
+-rw-r--r-- root/root usr/share/openttd/data/opengfx-0.5.2/opengfx.obg
+drwxr-xr-x root/root usr/share/openttd/data/opensfx-0.2.3/
+-rw-r--r-- root/root usr/share/openttd/data/opensfx-0.2.3/license.txt
+-rw-r--r-- root/root usr/share/openttd/data/opensfx-0.2.3/opensfx.cat
+-rw-r--r-- root/root usr/share/openttd/data/opensfx-0.2.3/opensfx.obs
+drwxr-xr-x root/root usr/share/openttd/gm/
+-rw-r--r-- root/root usr/share/openttd/gm/5432gone_redfarn.mid
+-rw-r--r-- root/root usr/share/openttd/gm/be_sharp_bw_redfarn.mid
+-rw-r--r-- root/root usr/share/openttd/gm/big_man_boogie_redfarn.mid
+-rw-r--r-- root/root usr/share/openttd/gm/boogi_marabi_redfarn.mid
+-rw-r--r-- root/root usr/share/openttd/gm/busy_schedule.mid
+-rw-r--r-- root/root usr/share/openttd/gm/careless_perc_redfarn.mid
+-rw-r--r-- root/root usr/share/openttd/gm/chemistry_lab.mid
+-rw-r--r-- root/root usr/share/openttd/gm/chuggachugga.mid
+-rw-r--r-- root/root usr/share/openttd/gm/city_blues_redfarn.mid
+-rw-r--r-- root/root usr/share/openttd/gm/coconut_run2.mid
+-rw-r--r-- root/root usr/share/openttd/gm/flying_scotsman.mid
+-rw-r--r-- root/root usr/share/openttd/gm/harp_harmony.mid
+-rw-r--r-- root/root usr/share/openttd/gm/license.txt
+-rw-r--r-- root/root usr/share/openttd/gm/linns_basket.mid
+-rw-r--r-- root/root usr/share/openttd/gm/midnight_snow_run.mid
+-rw-r--r-- root/root usr/share/openttd/gm/mighty_giant_run.mid
+-rw-r--r-- root/root usr/share/openttd/gm/modern_motion.mid
+-rw-r--r-- root/root usr/share/openttd/gm/moo_redfarn.mid
+-rw-r--r-- root/root usr/share/openttd/gm/mosey_along_redfarn.mid
+-rw-r--r-- root/root usr/share/openttd/gm/no_work_song_redfarn.mid
+-rw-r--r-- root/root usr/share/openttd/gm/openmsx.obm
+-rw-r--r-- root/root usr/share/openttd/gm/relax_song.mid
+-rw-r--r-- root/root usr/share/openttd/gm/run_for_your_life.mid
+-rw-r--r-- root/root usr/share/openttd/gm/say_what_redfarn.mid
+-rw-r--r-- root/root usr/share/openttd/gm/slow_neasy_redfarn.mid
+-rw-r--r-- root/root usr/share/openttd/gm/the_fast_route.mid
+-rw-r--r-- root/root usr/share/openttd/gm/the_hobo_redfarn.mid
+-rw-r--r-- root/root usr/share/openttd/gm/train_filled_with_cash.mid
+-rw-r--r-- root/root usr/share/openttd/gm/ttsong_iii_imuh3.mid
+-rw-r--r-- root/root usr/share/openttd/gm/ttsong_iv_imuh3.mid
+-rw-r--r-- root/root usr/share/openttd/gm/tttheme2.mid
+-rw-r--r-- root/root usr/share/openttd/gm/ultimate_run.mid
+-rw-r--r-- root/root usr/share/openttd/gm/wood_whistles.mid
+drwxr-xr-x root/root usr/share/openttd/lang/
+-rw-r--r-- root/root usr/share/openttd/lang/english.lng
+-rw-r--r-- root/root usr/share/openttd/lang/german.lng
+-rw-r--r-- root/root usr/share/openttd/openttd.32.xpm
diff --git a/portsToCome/openttd/.md5sum b/portsToCome/openttd/.md5sum
new file mode 100644
index 0000000..219692d
--- /dev/null
+++ b/portsToCome/openttd/.md5sum
@@ -0,0 +1,4 @@
+858b79d44aea6de5e15d9d1439e86cc3 openmsx-0.3.1-all.zip
+3605b82f24153500c8a1804e4420168a opensfx-0.2.3-all.zip
+e64352d0578822c6e5388b631b3086f7 opengfx-0.5.2-all.zip
+46ac4a9441cca5f5908dc6a069f78e20 openttd-1.5.2-source.tar.xz
diff --git a/portsToCome/openttd/Pkgfile b/portsToCome/openttd/Pkgfile
new file mode 100644
index 0000000..0fbc8db
--- /dev/null
+++ b/portsToCome/openttd/Pkgfile
@@ -0,0 +1,60 @@
+# Description: A FOSS clone of Transport Tycoon Deluxe.
+# URL: http://www.openttd.org
+# Maintainer: Erich Eckner, erich at eckner dot net
+# Packager: Lennart Sauerbeck, devel at lennart dot sauerbeck dot org
+# Depends on: libsdl libpng fontconfig lzo
+
+name=openttd
+version=1.5.2
+gfxversion=0.5.2
+sfxversion=0.2.3
+msxversion=0.3.1
+release=1
+source=(http://binaries.openttd.org/releases/$version/$name-$version-source.tar.xz
+ http://binaries.openttd.org/extra/opengfx/$gfxversion/opengfx-$gfxversion-all.zip
+ http://binaries.openttd.org/extra/opensfx/$sfxversion/opensfx-$sfxversion-all.zip
+ http://binaries.openttd.org/extra/openmsx/$msxversion/openmsx-$msxversion-all.zip)
+
+build() {
+ tar -xf opengfx-$gfxversion.tar
+
+ cd $name-$version
+
+ ./configure --prefix-dir=/usr \
+ --binary-dir=bin \
+ --data-dir=share/openttd \
+ --icon-dir=share/openttd \
+ --man-dir=man \
+ --personal-dir=.openttd \
+ --install-dir=$PKG \
+
+ make
+ make DESTDIR=$PKG install
+
+ # Install OpenGFX
+ install -d $PKG/usr/share/openttd/data/opengfx-$gfxversion
+ install -m 644 $SRC/opengfx-$gfxversion/* $PKG/usr/share/openttd/data/opengfx-$gfxversion
+ chown -R root:root $PKG/usr/share/openttd/data/opengfx-$gfxversion
+
+ # Install OpenSFX
+ install -d $PKG/usr/share/openttd/data/opensfx-$sfxversion
+ install -m 644 $SRC/opensfx-$sfxversion/* $PKG/usr/share/openttd/data/opensfx-$sfxversion
+ chown -R root:root $PKG/usr/share/openttd/data/opensfx-$sfxversion
+
+ # Install OpenMSX
+ install -d $PKG/usr/share/openttd/gm
+ install -m 644 $SRC/openmsx-$msxversion/* $PKG/usr/share/openttd/gm
+ chown -R root:root $PKG/usr/share/openttd/gm/*
+
+ # Remove unnecessary languages
+ cp $PKG/usr/share/openttd/lang/{english,german}.lng $SRC
+ rm $PKG/usr/share/openttd/lang/*
+ install -m 644 $SRC/{english,german}.lng $PKG/usr/share/openttd/lang
+
+ # Remove junk
+ rm -rf $PKG/usr/share/doc
+ rm -rf $PKG/usr/share/openttd/scripts
+ rm $PKG/usr/share/openttd/data/opengfx-$gfxversion/{changelog,readme}.txt
+ rm $PKG/usr/share/openttd/data/opensfx-$sfxversion/{changelog,readme}.txt
+ rm $PKG/usr/share/openttd/gm/{changelog,readme}.txt
+}