# -*- Mode: Tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name ushare version 1.1a revision 2 categories net multimedia platforms darwin maintainers sfiera description a UPnP (TM) A/V & DLNA Media Server long_description \ uShare is a UPnP (TM) A/V & DLNA Media Server. It implements the server \ component that provides UPnP media devices with information on available \ multimedia files. uShare uses the built-in http server of libupnp to \ stream the files to clients. depends_build path:bin/pkg-config:pkgconfig depends_lib port:gettext \ port:libupnp \ port:libdlna configure.args-append --disable-strip \ --enable-dlna homepage http://ushare.geexbox.org/ master_sites ${homepage}releases use_bzip2 yes checksums md5 5bbcdbf1ff85a9710fa3d4e82ccaa251 patchfiles patch-configure.diff # libdlna isn't universal universal_variant no configure.cflags-append -I${prefix}/include -I${worksrcpath} configure.ldflags-append -lintl post-destroot { file delete ${destroot}${prefix}/etc/init.d/ushare file rename ${destroot}${prefix}/etc/ushare.conf \ ${destroot}${prefix}/etc/ushare.conf.sample }