source: trunk/dports/audio/mt-daapd/Portfile

Last change on this file was 128474, checked in by ryandesign@…, 3 years ago

mt-daapd: update homepage

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- 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
2# $Id: Portfile 128474 2014-11-22 01:48:21Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name                    mt-daapd
7version                 0.2.4.2
8revision            1
9categories              audio net
10# GPL and APSL are incompatible
11license                 GPL-2+ APSL-2 APSL-1.2 Restrictive
12platforms               darwin
13maintainers             nomaintainer
14description             A multi-threaded DAAP server emulating an iTunes server.
15long_description        ${description}
16
17homepage                http://web.archive.org/web/20101214025948/http://fireflymediaserver.org/
18master_sites    sourceforge:project/mt-daapd/mt-daapd/${version}
19
20checksums           rmd160  918b76ffe3af7b0413be1cbbafdd11274f5d3e9d \
21                    sha256  50d89f77bdc3fd0ca408d52cabff528224fcc7319acc3b9456db0e3164a3b6cf
22
23patchfiles              patch-mt-daapd.conf
24
25depends_lib             port:zlib port:gdbm port:libid3tag port:libogg port:libvorbis
26
27configure.args  --enable-mdns --enable-oggvorbis
28configure.cflags-append         "-I${prefix}/include"
29
30post-destroot   {
31        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} \
32                ${destroot}${prefix}/var/db/mt-daapd/ \
33                ${destroot}${prefix}/var/log
34
35        xinstall -m 644 ${worksrcpath}/contrib/mt-daapd.conf \
36                ${destroot}${prefix}/etc/mt-daapd.conf.sample
37        reinplace "s|__PREFIX__|${prefix}|g" \
38                ${destroot}${prefix}/etc/mt-daapd.conf.sample
39
40        xinstall -m 644 ${worksrcpath}/contrib/mt-daapd.playlist \
41                ${destroot}${prefix}/etc/mt-daapd.playlist.sample
42        destroot.keepdirs ${destroot}${prefix}/var/db/mt-daapd
43        xinstall -c -m 644 /dev/null ${destroot}${prefix}/var/log/mt-daapd.log
44        xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING CREDITS ChangeLog \
45                INSTALL NEWS README TODO ${destroot}${prefix}/share/doc/${name}
46}
Note: See TracBrowser for help on using the repository browser.