# -*- 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 angband version 3.5.0 set branch [join [lrange [split ${version} .] 0 1] .] categories games license Noncommercial platforms darwin maintainers nomaintainer description a rogue-like dungeon exploration game (curses-based) long_description Angband is a freeware computer dungeon exploration game \ based (loosely) on the books of J.R.R.Tolkien. You explore a very deep \ dungeon, kill monsters, try to equip yourself with the best weapons and \ armor you can find, and finally face Morgoth - The Dark Enemy. homepage http://rephial.org/ master_sites ${homepage}downloads/${branch} distname ${name}-v${version} checksums rmd160 c017577796c8a3d9d1455108678118d2f137f020 \ sha256 3d3c3a8839ef97613d5e29c116c5e88c93b913485768106ad4906c75069085ec if {![variant_isset aqua]} { depends_lib-append port:ncurses } post-patch { addgroup games } configure.args --with-setgid=games --bindir=${prefix}/bin --without-x notes " If you receive the error 'Angband requires UTF-8 support', you need to set\ LANG to a valid UTF-8 language such as: export LANG=en_US.UTF-8 " variant x11 conflicts aqua { depends_lib-append port:xorg-libXaw configure.args-replace --without-x --with-x } variant aqua conflicts x11 requires universal description {Build the Cocoa front-end} { # Makefile.osx hardcodes an i386/x86_64 universal build supported_archs i386 x86_64 configure.universal_archs i386 x86_64 use_configure no build { system -W ${worksrcpath}/src "make -f Makefile.osx" } destroot.keepdirs ${destroot}${applications_dir}/Angband.app/Contents/Resources/lib/info destroot { copy ${worksrcpath}/Angband.app ${destroot}${applications_dir} } } livecheck.type regex livecheck.regex ${name}-v(\[0-9.\]+)${extract.suffix}