source: trunk/dports/multimedia/MediathekView/Portfile

Last change on this file was 115790, checked in by mk@…, 4 years ago

MediathekView: set supported arch to i386, closes ticket #42084

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id: Portfile 115790 2014-01-11 12:14:36Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                MediathekView
7version             3.3.0
8
9categories          multimedia
10maintainers         mk
11platforms           darwin
12license             GPL-3
13supported_archs     i386
14
15description         A mediathek browser for German TV broadcasts
16long_description    ${description}
17
18homepage            http://zdfmediathk.sourceforge.net/index.html
19master_sites        sourceforge:zdfmediathk
20
21livecheck.type      regex
22livecheck.url       http://sourceforge.net/projects/zdfmediathk/files/Mediathek/
23livecheck.regex     "Mediathek (\\d+\\.\\d+\\.\\d+)"
24
25distname            MediathekView_${version}
26use_zip             yes
27extract.mkdir       yes
28use_configure       no
29checksums           md5     289ff708bd8dd649f3f0e1944fa0ef30 \
30                    sha1    6c2f2e96eb68edd7b95e2c1832515a2428d702a3 \
31                    rmd160  77c687209207a0aff94215f37a6161cc690dc772
32
33build {}
34
35destroot  {
36    set appdir ${destroot}${applications_dir}/${name}
37    xinstall -d -m 0755 ${appdir}
38    xinstall ${worksrcpath}/MediathekView_Mac_Start.command ${appdir}
39    xinstall ${worksrcpath}/MediathekView.jar ${appdir}
40    xinstall ${worksrcpath}/MediathekView.ico ${appdir}
41
42    set manualdir ${appdir}/Anleitung
43    xinstall -d -m 0755 ${manualdir}/jpg
44    eval xinstall -m 644 [glob ${worksrcpath}/Anleitung/*.odg] ${manualdir}
45    eval xinstall -m 644 [glob ${worksrcpath}/Anleitung/*.pdf] ${manualdir}
46    eval xinstall -m 644 [glob ${worksrcpath}/Anleitung/jpg/*.jpg] ${manualdir}/jpg
47
48    set copyrightdir ${appdir}/Copyright
49    xinstall -d -m 0755 ${copyrightdir}/Programme
50    eval xinstall -m 644 [glob ${worksrcpath}/Copyright/Programme/*.txt] ${copyrightdir}/Programme
51    eval xinstall -m 644 [glob ${worksrcpath}/Copyright/*.txt] ${copyrightdir}
52    xinstall -m 644 ${worksrcpath}/Copyright/_copyright ${copyrightdir}
53
54    set iconsdir ${appdir}/Icons/Schwarzweiss
55    xinstall -d -m 0755 ${iconsdir}
56    eval xinstall -m 644 [glob ${worksrcpath}/Icons/Schwarzweiss/*] ${iconsdir}
57
58    foreach {folder} {bin info lib} {
59        set dir ${appdir}/${folder}/
60        xinstall -d -m 0755 ${dir}
61        eval xinstall -m 644 [glob ${worksrcpath}/${folder}/*] ${dir}
62    }
63}
Note: See TracBrowser for help on using the repository browser.