# -*- 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
PortGroup compiler_blacklist_versions 1.0
# Tiger: add missing PTHREAD_RWLOCK_INITIALIZER definition for pthread.h
PortGroup legacysupport 1.0
github.setup cmus cmus 2.8.0 v
maintainers {@g5pw g5pw} \
{@Traace hotmail.de:xxtraacexx} \
description ncurses based music player
long_description cmus is a small and fast text mode music player for Linux \
and many other UNIX like operating systems.
homepage https://cmus.github.io/
checksums rmd160 81091c678f3534d006b77f1fe9621ae05022f028 \
sha256 7986b1d86749c7f20f853cd6b35ffc13aac1c9d4d24cc5480292da0d904962d9 \
depends_build port:pkgconfig
# ccache: invalid option -- L
# checking for C11 (with atomics support)... no
# this is a C11 feature; looking for compatible compilers, we find these references
# https://stackoverflow.com/questions/26440606/xcode-and-c11-stdatomic-h
# https://stackoverflow.com/questions/20326604/stdatomic-h-in-gcc-4-8
# indicates compatible compilers are Xcode > Xcode 7, clang > 3.7, and gcc > 4.8
compiler.blacklist-append *gcc-3.* *gcc-4.*
compiler.blacklist-append { clang < 700 } macports-clang-3.3 macports-clang-3.4
# clang-5.0 tested, and also likely installed on these systems
compiler.fallback-append macports-clang-5.0 macports-clang-6.0 macports-clang-7.0
platform darwin powerpc {
compiler.fallback-append macports-gcc-6 macports-gcc-7 macports-gcc-5
configure.args prefix=${prefix} CONFIG_FLAC=n CONFIG_MIKMOD=n \
CONFIG_MODPLUG=n CONFIG_MPC=n CONFIG_FFMPEG=n \
CONFIG_AAC=n CONFIG_MP4=n CONFIG_MAD=y CONFIG_VORBIS=y \
CONFIG_WAVPACK=n CONFIG_OPUS=n CONFIG_CUE=n \
CONFIG_CDIO=n CONFIG_CDDB=n CONFIG_DISCID=n \
CONFIG_AO=y CONFIG_PULSE=n CONFIG_OSS=n \