# $Id: Portfile 56062 2009-08-24 00:37:28Z ryandesign@macports.org $ PortSystem 1.0 name daaplib version 0.1.1a categories devel net platforms darwin maintainers nomaintainer description small library for reading and writingg DAAP streams long_description daaplib is a very tiny and portable C++ library which \ helps to read and write low-level DAAP streams in \ memory. The code is straightforward and can mirror the \ structure of the data fairly well. DAAP streams are \ use by iTunes for sharing songs. homepage http://www.deleet.de/projekte/daap/daaplib/ master_sites ${homepage} use_zip yes distfiles ${name}.${version}${extract.suffix} checksums md5 038df4ac53780074e6e642a6e928f4fb post-extract { file rename ${workpath}/daaplib.${version}/daaplib/src ${worksrcpath} file rename ${workpath}/daaplib.${version}/daaplib/include \ ${workpath}/include } configure { reinplace "s|/usr/local|${destroot}${prefix}|g" ${worksrcpath}/makefile } build.target post-destroot { file mkdir ${destroot}${prefix}/share/doc/${name} file copy ${workpath}/daaplib.${version}/README \ ${workpath}/daaplib.${version}/COPYING \ ${destroot}${prefix}/share/doc/${name} }