# -*- 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: Portfile 139308 2015-08-12 02:46:18Z jmr@macports.org $ PortSystem 1.0 PortGroup cmake 1.0 PortGroup cxx11 1.0 name widelands-devel conflicts widelands version build19 categories games platforms darwin maintainers nomaintainer license GPL-2+ description open-source real-time strategy game inspired by Settlers long_description Widelands is an open-source real-time strategy game. It \ is built upon the SDL and other open source libraries and \ is (and will always be) under heavy development. If you \ knew Settlers I & II™ (© Bluebyte), then you already have \ a rough idea what Widelands is all about because \ widelands is heavily inspired by those two games. homepage http://wl.widelands.org/ fetch.type bzr bzr.url lp:widelands bzr.revision 8119 depends_lib port:libsdl2 \ port:libsdl2_image \ port:libsdl2_mixer \ port:libsdl2_net \ port:libsdl2_ttf \ port:libsdl_gfx \ port:boost \ port:libpng \ port:glew \ port:lua cmake.out_of_source yes configure.args -DCMAKE_INSTALL_PREFIX:PATH="${applications_dir}/Widelands.app/Contents/MacOS" pre-destroot { xinstall -d ${destroot}${applications_dir}/Widelands.app/Contents/Resources \ ${destroot}${applications_dir}/Widelands.app/MacOS file copy ${worksrcpath}/data/images/logos/widelands.icns ${destroot}${applications_dir}/Widelands.app/Contents/Resources/widelands.icns set data " {\n\ CFBundleName = widelands;\n\ CFBundleDisplayName = Widelands;\n\ CFBundleIdentifier = \"org.widelands.wl\";\n\ CFBundleVersion = ${version};\n\ \"CFBundleInfoDictionaryVersion\" = \"6.0\";\n\ CFBundlePackageType = APPL;\n\ CFBundleSignature = \"????\";\n\ CFBundleExecutable = widelands;\n\ CFBundleIconFile = \"widelands.icns\";\n\ }" set filename "${destroot}${applications_dir}/Widelands.app/Contents/Info.plist" set fileId [open $filename "w"] puts -nonewline $fileId $data close $fileId }