# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $

PortSystem 1.0
name                ccxstream
version             1.0.15
categories          net
maintainers         gmail.com:yunzheng.hu
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://www.xboxmediacenter.de/
platforms           darwin
#depends_lib        port:expat port:libiconv port:ncurses port:readline
checksums           md5 c589fff48ce541f26b394c9d82ccbead \
                    sha1 d97ac63374bf8ff6dcb77ccb89a6e92ff3e713d6
master_sites        sourceforge:xbplayer
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}
}
