# -*- 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

PortSystem          1.0
PortGroup           cmake   1.1
PortGroup           github  1.0

github.setup        Keriew Augustus 4.0.0 v
github.tarball_from archive
name                augustus-caesar-3
revision            0

description         An (enhanced) open source re-implementation of Caesar III

long_description    \
    Augustus is a fork of the Julius project that intends to incorporate \
    gameplay changes. The aim of this project is to provide enhanced, \
    customizable gameplay to Caesar 3 using project Julius UI enhancements. \
    Augustus is able to load Caesar 3 and Julius saves, however saves made \
    with Augustus will not work outside Augustus.

categories          games
installs_libs       no
license             AGPL-3
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

depends_lib-append  port:libpng         \
                    port:libsdl2        \
                    port:libsdl2_mixer  \
                    port:zlib

checksums   rmd160  725cc8efcf3a773842e01a0aae18e599a96dcddc \
            sha256  d95957ccf7b66cec80d787692ff857a7a1558eccfa1927e22f717891b2dfb4a2 \
            size    107933184

destroot {
    copy ${cmake.build_dir}/augustus.app \
        ${destroot}${applications_dir}/Augustus.app
}

notes "
    Augustus can be found in the MacPorts Applications directory.

    Follow the instructions at:

        ${homepage}/wiki/Running-Julius-on-macOS

    ...to install the required game data.
"
