PortSystem 1.0 name crack-attack version 1.1.14 revision 3 categories games platforms darwin license GPL-2 maintainers {raimue @raimue} \ openmaintainer description Fast-paced puzzle game long_description \ Crack Attack! is a fast-paced puzzle game inspired by the \ classic Super NES title Tetris Attack! homepage https://www.nongnu.org/crack-attack/ master_sites savannah depends_build port:pkgconfig depends_lib port:libsdl \ port:libsdl_mixer \ port:mesa \ port:libGLU \ port:freeglut \ path:lib/pkgconfig/gtk+-2.0.pc:gtk2 checksums md5 262445024b0fca44508355242ea29d71 \ sha1 fbf445f95d77267d23a766a485fd55edbd333bb4 \ rmd160 81ff2e601455362e1106cf5ef4b735cbd4497081 patchfiles patch-glut-init.diff # String.h shadows system header string.h on case-insensitive filesystems, rename to CAString.h patchfiles-append patch-case-insensitive-fs.diff post-patch { file rename ${worksrcpath}/src/String.h ${worksrcpath}/src/CAString.h file rename ${worksrcpath}/src/String.cxx ${worksrcpath}/src/CAString.cxx } use_autoreconf yes configure.args --mandir=${prefix}/share/man \ --enable-gtk=yes \ --enable-sound=yes \ --with-sdl-prefix=${prefix} \ --with-sdl-exec-prefix=${prefix} \ --disable-sdltest \ --disable-binreloc livecheck.type regex livecheck.url ${homepage} livecheck.regex Latest:\\s+(\\d+(?:\\.\\d+)+)