source: trunk/dports/devel/daaplib/Portfile

Last change on this file was 122500, checked in by jmr@…, 3 years ago

daaplib: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 122500 2014-07-23 10:27:15Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            daaplib
6version         0.1.1a
7categories      devel net
8license         LGPL-2.1+
9platforms       darwin
10maintainers     nomaintainer
11description     small library for reading and writingg DAAP streams
12long_description        daaplib is a very tiny and portable C++ library which \
13                        helps to read and write low-level DAAP streams in \
14                        memory. The code is straightforward and can mirror the \
15                        structure of the data fairly well. DAAP streams are \
16                        use by iTunes for sharing songs.
17
18homepage        http://www.deleet.de/projekte/daap/daaplib/
19master_sites    ${homepage}
20use_zip         yes
21distfiles       ${name}.${version}${extract.suffix}
22checksums       md5 038df4ac53780074e6e642a6e928f4fb
23
24post-extract    {
25        file rename ${workpath}/daaplib.${version}/daaplib/src ${worksrcpath}
26        file rename ${workpath}/daaplib.${version}/daaplib/include \
27                ${workpath}/include
28}
29
30configure       {
31        reinplace "s|/usr/local|${destroot}${prefix}|g" ${worksrcpath}/makefile
32}
33
34build.target
35
36post-destroot   {
37        file mkdir ${destroot}${prefix}/share/doc/${name}
38        file copy ${workpath}/daaplib.${version}/README \
39                ${workpath}/daaplib.${version}/COPYING \
40                ${destroot}${prefix}/share/doc/${name}
41}
Note: See TracBrowser for help on using the repository browser.