# -*- 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

PortSystem          1.0

name                ccxstream
version             1.0.15
revision            2
categories          net
platforms           darwin
license             Noncommercial
maintainers         nomaintainer

description         Stream media files to XBox Media Center via XBMSP
long_description    Server to stream music and video files from your \
                    UNIX server to a XBox running XBox Media Player \
                    using the XBMSP protocol.

homepage            http://buffalo.nas-central.org/wiki/Ccxstream_-_Xbox_Media_Stream_Protocol

checksums           rmd160  01676289efe8181cb1c7c9c1340205c7adb97b3c \
                    sha256  2dec31ba4a176c921a653c0949a53c2d3497e047737724350897fd2534db18fe

master_sites        sourceforge:xbplayer

depends_lib         port:ncurses \
                    port:readline

use_configure       no

destroot {
    xinstall -m 755 -d ${destroot}${prefix}/bin \
        ${destroot}${prefix}/share/doc/${name}
    xinstall -m 755 -v -W ${worksrcpath} \
        ccxstream ccxtest \
        ${destroot}${prefix}/bin
    xinstall -m 644 -v -W ${worksrcpath} \
        README ChangeLog TODO xbmsp-xml.txt xbmsp.txt \
        ${destroot}${prefix}/share/doc/${name}
}
