Ticket #32608: Portfile

File Portfile, 965 bytes (added by ranauei@…, 12 years ago)

Moved to a fixed cvs date (latest revision as of today) instead of HEAD

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$
3
4PortSystem 1.0
5
6name            minidlna
7cvs.date        20111216
8version         1.0.22_${cvs.date}
9categories      net multimedia
10maintainers     gmail.com:ranauei
11platforms       darwin
12license         GPL-2
13description     a UPnP (TM) A/V & DLNA Media Server
14long_description \
15                MiniDLNA (aka ReadyDLNA) is server software with the aim of \
16                being fully compliant with DLNA/UPnP-AV clients.
17homepage        http://minidlna.sourceforge.net/
18worksrcdir      ${name}
19
20fetch.type      cvs
21cvs.root        :pserver:anonymous@minidlna.cvs.sourceforge.net:/cvsroot/minidlna
22cvs.module      ${name}
23
24depends_lib     port:ffmpeg port:flac port:libid3tag port:libexif
25
26patch {
27        if {${configure.compiler} == "clang"} {
28                reinplace "s|inline||g" ${worksrcpath}/utils.c ${worksrcpath}/tagutils/misc.c
29        }
30}
31
32use_autoreconf  yes
33
34post-destroot {
35        xinstall -m 644 ${worksrcpath}/${name}.conf ${destroot}${prefix}/etc
36}