[109306] trunk/dports/games
cal at macports.org
cal at macports.org
Mon Aug 12 12:00:19 PDT 2013
Revision: 109306
https://trac.macports.org/changeset/109306
Author: cal at macports.org
Date: 2013-08-12 12:00:18 -0700 (Mon, 12 Aug 2013)
Log Message:
-----------
new port: openttd
Added Paths:
-----------
trunk/dports/games/openttd/
trunk/dports/games/openttd/Portfile
Added: trunk/dports/games/openttd/Portfile
===================================================================
--- trunk/dports/games/openttd/Portfile (rev 0)
+++ trunk/dports/games/openttd/Portfile 2013-08-12 19:00:18 UTC (rev 109306)
@@ -0,0 +1,179 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name openttd
+
+categories games
+platforms macosx
+
+maintainers cal openmaintainer
+
+
+if {$subport == $name} {
+ version 1.3.2
+ checksums rmd160 bfe9c7324debf55ec672b3b25a20af052d1f3f1a \
+ sha256 f6efc0cd0c4f4315a98844c331acc2e02322d5671ec376b9f0a11795b0eb270b
+
+
+ license GPL-2
+
+ description OpenTTD is an open source simulation game based upon Transport Tycoon Deluxe
+ long_description \
+ OpenTTD is an open source simulation game based upon the popular Microprose \
+ game \"Transport Tycoon Deluxe\", written by Chris Sawyer. It attempts to \
+ mimic the original game as closely as possible while extending it with new \
+ features.
+
+ homepage http://www.openttd.org/en/
+ master_sites http://binaries.openttd.org/releases/${version}
+ distfiles openttd-${version}-source.tar.xz
+ use_xz yes
+
+ depends_build port:pkgconfig
+
+ depends_lib port:zlib \
+ port:lzo2 \
+ port:xz \
+ port:libpng \
+ port:freetype \
+ port:fontconfig \
+ port:icu \
+ port:libiconv
+
+ depends_run port:openttd-opengfx \
+ port:openttd-opensfx \
+ port:openttd-openmsx
+
+ configure.args --prefix-dir=${prefix} \
+ --binary-dir=bin \
+ --icon-theme-dir=share/icons/hicolor \
+ --install-dir=${destroot} \
+ --with-cocoa \
+ --with-zlib \
+ --with-liblzma \
+ --with-liblzo2 \
+ --with-png \
+ --with-freetype \
+ --with-fontconfig \
+ --with-icu \
+ --without-application-bundle \
+ --enable-strip
+
+ build.args-append VERBOSE=1
+ destroot.args-append VERBOSE=1
+
+ livecheck.type regex
+ livecheck.url ${homepage}
+ livecheck.regex {Download stable \((\d+(\.\d+)+)\)}
+}
+
+subport openttd-opengfx {
+ version 0.4.7
+ checksums rmd160 6f37ebe23e75137f204e5d13233cf7b92b28a9e0 \
+ sha256 10032c683f98b4d378c0651118a4858ae6d3f0a5059302dc3f96bfbfcdc67241
+
+ supported_archs noarch
+ license GPL-2
+
+ description OpenGFX is a free set of graphics for OpenTTD.
+ long_description \
+ The OpenGFX project for OpenTTD: a free replacement of the base \
+ graphics so that OpenTTD can be shipped finally fully functional \
+ without the need for additional downloads.
+
+ homepage http://dev.openttdcoop.org/projects/opengfx
+ master_sites http://binaries.openttd.org/extra/opengfx/${version}
+ distfiles opengfx-${version}-all.zip
+ worksrcdir opengfx-${version}
+ use_zip yes
+
+ use_configure no
+ build {}
+ destroot {
+ set target ${destroot}${prefix}/share/games/openttd/baseset/opengfx
+ xinstall -d -m 755 ${target}
+ fs-traverse file ${worksrcpath} {
+ if {[file isfile ${file}]} {
+ xinstall -m 644 ${file} ${target}
+ }
+ }
+ }
+
+ livecheck.url http://www.openttd.org/en/download-opengfx
+ livecheck.regex {Latest release in opengfx is (\d+(\.\d+)+),}
+}
+
+subport openttd-opensfx {
+ version 0.2.3
+ checksums rmd160 426b641b5a29556598d8a3033b4c4dc5b98630ce \
+ sha256 6831b651b3dc8b494026f7277989a1d757961b67c17b75d3c2e097451f75af02
+
+ supported_archs noarch
+ # actually CC Sampling Plus 1.0
+ license Permissive
+
+ description OpenSFX is a free set of sounds for OpenTTD.
+ long_description \
+ The OpenSFX project for OpenTTD: a free replacement of the base sounds \
+ so that OpenTTD can be shipped finally fully functional without the \
+ need for non-free files.
+
+ homepage http://dev.openttdcoop.org/projects/opensfx
+ master_sites http://binaries.openttd.org/extra/opensfx/${version}
+ distfiles opensfx-${version}-all.zip
+ worksrcdir opensfx-${version}
+ use_zip yes
+
+ use_configure no
+ build {}
+ destroot {
+ set target ${destroot}${prefix}/share/games/openttd/baseset/opensfx
+ xinstall -d -m 755 ${target}
+ fs-traverse file ${worksrcpath} {
+ if {[file isfile ${file}]} {
+ xinstall -m 644 ${file} ${target}
+ }
+ }
+ }
+
+ livecheck.url http://www.openttd.org/en/download-opensfx
+ livecheck.regex {Latest release in opensfx is (\d+(\.\d+)+),}
+}
+
+subport openttd-openmsx {
+ version 0.3.1
+ checksums rmd160 8eff246e89e44f63ca480e9acef94a1da5fa81d2 \
+ sha256 92e293ae89f13ad679f43185e83fb81fb8cad47fe63f4af3d3d9f955130460f5
+
+ supported_archs noarch
+ license GPL-2
+
+ description OpenMSX is a free set of music for OpenTTD.
+ long_description \
+ The OpenMSX project for OpenTTD: a free replacement of the base music \
+ so that OpenTTD can be shipped finally fully functional without the \
+ need for non-free files.
+
+ homepage http://dev.openttdcoop.org/projects/openmsx
+ master_sites http://binaries.openttd.org/extra/openmsx/${version}
+ distfiles openmsx-${version}-all.zip
+ worksrcdir openmsx-${version}
+ use_zip yes
+
+ use_configure no
+ build {}
+ destroot {
+ set target ${destroot}${prefix}/share/games/openttd/baseset/openmsx
+ xinstall -d -m 755 ${target}
+ fs-traverse file ${worksrcpath} {
+ if {[file isfile ${file}]} {
+ xinstall -m 644 ${file} ${target}
+ }
+ }
+ }
+
+ livecheck.url http://www.openttd.org/en/download-openmsx
+ livecheck.regex {Latest release in openmsx is (\d+(\.\d+)+),}
+}
Property changes on: trunk/dports/games/openttd/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130812/50cb2b7d/attachment.html>
More information about the macports-changes
mailing list