Ticket #68564: enigma.diff

File enigma.diff, 2.5 KB (added by contextnerror, 8 months ago)
  • Portfile

    old new  
    11# -*- 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
    22
    33PortSystem              1.0
     4PortGroup               github 1.0
    45
    56name                    enigma
    67subport                 enigma-devel {}
    78
    89if {${subport} eq "enigma"} {
    910    conflicts               enigma-devel
    10     version                 1.21
    11     revision                6
    12     master_sites            sourceforge:project/enigma-game/Release%20${version}/
    13     checksums               rmd160  7942dd2acc1e21cb40200a9ae767a4673c569a2a \
    14                             sha256  d872cf067d8eb560d3bb1cb17245814bc56ac3953ae1f12e2229c8eb6f82ce01 \
    15                             size    56409951
     11    github.setup            Enigma-Game Enigma 1.30
     12    github.tarball_from     releases
     13    distname                ${github.project}-${github.version}-src
     14    revision                0
     15    checksums               rmd160  e6ff23ca7859d468175abd821f89a6434f65c396 \
     16                            sha256  ae64b91fbc2b10970071d0d78ed5b4ede9ee3868de2e6e9569546fc58437f8af \
     17                            size    43653520
    1618                           
    1719    patchfiles-append       patch-remove-SDL-frameworks-stop-static-linking.diff
    1820
    1921    # /opt/local/libexec/llvm-9.0/bin/../include/c++/v1/system_error:434:1: note: candidate function not viable: no known conversion from 'basic_ifstream<char>' to 'const std::__1::error_condition' for 1st argument
    2022    compiler.blacklist-append {macports-clang-[6-9].0}
     23   
     24    github.livecheck.regex  {([0-9.]+)}
    2125
    2226} elseif {${subport} eq "enigma-devel"} {
    2327    conflicts               enigma
    24     PortGroup               github 1.0
    2528   
    2629    github.setup            Enigma-Game Enigma 26a0ad7d8918f1e640bafac599976ddf18de23fa
    2730    version                 20191107
     
    4649}
    4750
    4851categories              games
    49 platforms               darwin
    5052maintainers             nomaintainer
    5153license                 GPL-2+
    5254homepage                https://www.nongnu.org/enigma/
     
    6365
    6466# c++17 has a conflicting header
    6567post-patch {
    66     move ${worksrcpath}/intl/VERSION ${worksrcpath}/intl/VERSION.txt 
     68    move ${worksrcpath}/intl/VERSION ${worksrcpath}/intl/VERSION.txt
    6769}
    6870
    6971configure.args-append   --with-libintl-prefix=${prefix}
     
    98100    copy ${worksrcpath}/etc/macfiles/Enigma.app \
    99101        ${destroot}${applications_dir}/
    100102}
     103