# -*- 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 # $Id$ PortSystem 1.0 name MediathekView version 3.3.0 categories multimedia maintainers mk platforms darwin license GPL-3 supported_archs i386 description A mediathek browser for German TV broadcasts long_description ${description} homepage http://zdfmediathk.sourceforge.net/index.html master_sites sourceforge:zdfmediathk livecheck.type regex livecheck.url http://sourceforge.net/projects/zdfmediathk/files/Mediathek/ livecheck.regex "Mediathek (\\d+\\.\\d+\\.\\d+)" distname MediathekView_${version} use_zip yes extract.mkdir yes use_configure no checksums md5 289ff708bd8dd649f3f0e1944fa0ef30 \ sha1 6c2f2e96eb68edd7b95e2c1832515a2428d702a3 \ rmd160 77c687209207a0aff94215f37a6161cc690dc772 build {} destroot { set appdir ${destroot}${applications_dir}/${name} xinstall -d -m 0755 ${appdir} xinstall ${worksrcpath}/MediathekView_Mac_Start.command ${appdir} xinstall ${worksrcpath}/MediathekView.jar ${appdir} xinstall ${worksrcpath}/MediathekView.ico ${appdir} set manualdir ${appdir}/Anleitung xinstall -d -m 0755 ${manualdir}/jpg eval xinstall -m 644 [glob ${worksrcpath}/Anleitung/*.odg] ${manualdir} eval xinstall -m 644 [glob ${worksrcpath}/Anleitung/*.pdf] ${manualdir} eval xinstall -m 644 [glob ${worksrcpath}/Anleitung/jpg/*.jpg] ${manualdir}/jpg set copyrightdir ${appdir}/Copyright xinstall -d -m 0755 ${copyrightdir}/Programme eval xinstall -m 644 [glob ${worksrcpath}/Copyright/Programme/*.txt] ${copyrightdir}/Programme eval xinstall -m 644 [glob ${worksrcpath}/Copyright/*.txt] ${copyrightdir} xinstall -m 644 ${worksrcpath}/Copyright/_copyright ${copyrightdir} set iconsdir ${appdir}/Icons/Schwarzweiss xinstall -d -m 0755 ${iconsdir} eval xinstall -m 644 [glob ${worksrcpath}/Icons/Schwarzweiss/*] ${iconsdir} foreach {folder} {bin info lib} { set dir ${appdir}/${folder}/ xinstall -d -m 0755 ${dir} eval xinstall -m 644 [glob ${worksrcpath}/${folder}/*] ${dir} } }