Ticket #54661: Portfile

File Portfile, 1.5 KB (added by RJVB (René Bertin), 7 years ago)

port:aacs_updater

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
3PortSystem          1.0
4PortGroup           qmake5 1.0
5
6name                aacs_updater
7categories          multimedia
8maintainers         gmail.com:rjvbertin openmaintainer
9license             GPL-3
10
11description         updater for the KEYDB.cfg used by libaacs
12long_description    AACS Updates is a tool for synchronising libaacs's KEYDB.cfg \
13                    file with an online database.
14
15platforms           darwin linux
16
17homepage            http://www.labdv.com/aacs
18
19# the crossplatform adaptation lives @bitbucket.org:
20fetch.type          git
21git.url             https://RJVB@bitbucket.org/RJVB/aacsupdater.git
22git.branch          5fb8c5b990442fc634062e319d9ccb945c572d85
23
24version             2.1.1.0.25
25
26worksrcdir          ${name}-git
27distname            ${name}-git
28
29default configure.dir \
30                    {${workpath}/build}
31configure.pre_args-append \
32                    ../${worksrcdir}
33default build.dir   {${workpath}/build}
34
35post-destroot {
36    if {[file exists "${destroot}${prefix}/bin/AACS Updater.app"] && (${qt_apps_dir} ne "${prefix}/bin")} {
37        xinstall -m 755 -d ${destroot}${qt_apps_dir}
38        file rename "${destroot}${prefix}/bin/AACS Updater.app" "${destroot}${qt_apps_dir}/AACS Updater.app"
39    }
40}
41
42livecheck.url       http://www.labdv.com/aacs/updater.php
43livecheck.regex     aacs-updater-(\\d+(\\.\\d+)+)-src