# $Id: Portfile 75061 2011-01-13 21:07:47Z ryandesign@macports.org $

PortSystem              1.0
PortGroup               xcode 1.0

name                    SIDPLAY
version                 4.1.3
categories              aqua audio multimedia
platforms               darwin
# bundled Growl and Sparkle binary frameworks are not 64-bit
supported_archs         i386 ppc
maintainers             nomaintainer

description             C64 music player for the Mac

long_description        SIDPLAY is a Commodore 64 music player. It emulates \
                        the sound chip and other internals of the Commodore 64 \
                        home computer to play back music that was originally \
                        written on it. The sound chip of the C64 is called the \
                        "Sound Interface Device" or SID, and therefore this \
                        music is known as SID music. The SID chip is basically \
                        a three voice synthesizer on a chip. The unusual \
                        combination of digital and analogue circuitry is the \
                        reason for its distinctive sound.

homepage                http://www.sidmusic.org/sidplay/mac/
master_sites            http://www.twinbirds.com/sidplay/

distname                sidplay4-source
dist_subdir             ${name}/${version}
use_zip                 yes

checksums               md5     d3c5e6d7e1170616a7c1ac60a4ea8aa7 \
                        sha1    46160a6eb53369a8680baa3d34ab4602e8dca658 \
                        rmd160  5ddc79d35b3c0a92be5a03dc52044d828bd41c1a

xcode.project           ${name}.xcodeproj
xcode.configuration     Release

post-destroot {
    delete ${destroot}${applications_dir}/SIDmusic.mdimporter
}

livecheck.type          regex
livecheck.url           ${homepage}
livecheck.regex         ">Download SIDPLAY (.*?)<"
