Ticket #37748: Portfile

File Portfile, 1.7 KB (added by gilles.risch@…, 11 years ago)
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
5PortGroup    qt4 1.0
6
7name    dream
8version    1.17
9categories    audio
10platforms    darwin
11maintainers    nomaintainer
12license    GPL-2
13
14description    Open-Source Software Implementation of a DRM Receiver
15
16long_description    Digital Radio Mondiale (DRM) is the digital radio \
17            standard for the long-, medium- and short-wave ranges. \
18            The standard was formed by a consortium in co-operation \
19            with the International Telecommunication Union (ITU). \
20            The system offers the radio stations and new service \
21            providers access to the multimedia age with small bit \
22            rates for large target areas and long distances.
23
24
25homepage        http://sourceforge.net/apps/mediawiki/drm/
26
27master_sites        sourceforge:project/drm/dream/${version}
28distname        ${name}-${version}-sources
29worksrcdir        ${name}
30
31checksums        rmd160 a257810917b8d84c188597fcda004df908c79768 \
32            sha256 ae74b8b915c424134bfd3ff1e00383525e243003da6bd6caad35767615e94426
33
34depends_lib        port:faad2 \
35            port:faac \
36            port:fftw-3 \
37            port:qwt-60 \
38            port:portaudio \
39            port:hamlib \
40            port:libsndfile \
41            port:libpcap
42
43patchfiles        dream.pro.diff
44
45post-patch {
46    reinplace "s|@PREFIX@|${prefix}|" ${worksrcpath}/dream.pro
47}
48
49# dream uses qmake
50configure.cmd        ${qt_qmake_cmd}
51configure.pre_args
52configure.post_args    -spec macx-g++ dream.pro
53
54destroot {
55        file copy ${worksrcpath}/dream.app ${destroot}${applications_dir}/dream.app
56        }