# -*- 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 # $Id$ PortSystem 1.0 PortGroup app 1.0 PortGroup active_variants 1.1 name hdhomerun_gui version 20150826 categories multimedia platforms darwin license GPL-3 maintainers ctreleaven openmaintainer description HDHomeRun configuration utility, GTK GUI long_description Provides a utility program to access, configure and test \ HDHomeRun network tuner devices from SiliconDust including viewing \ live television. May also be used to upgrade firmware. Uses GTK \ graphical environment. homepage http://www.silicondust.com/ master_sites http://download.silicondust.com/hdhomerun distname hdhomerun_config_gui_${version} patchfiles patch-libhdhomerun.diff \ patch-firmware_path.diff \ patch-missing_frameworks.diff \ patch-noQuartz.diff patch.args -p1 extract.suffix .tgz worksrcdir hdhomerun_config_gui checksums rmd160 661dc09cc3c705c1b892738d1864b7d0c2bacb37 \ sha256 8d89878eb437e1df93b99268f9dcec00b79374a00f2640f7ec13a31f8d9ea6ae livecheck.type regex livecheck.url http://www.silicondust.com/support/hdhomerun/downloads/ livecheck.regex Current release: (\[0-9\]+) depends_build port:pkgconfig depends_lib path:lib/libhdhomerun.dylib:hdhomerun \ port:gtk2 depends_run port:VLC \ path:bin/Xquartz:xorg-server require_active_variants port:VLC dvb require_active_variants port:gtk2 x11 post-patch { reinplace "s|@FIRMWARE_DIR@|${prefix}/share/hdhomerun/|g" \ ${worksrcpath}/src/HDHRConfig.cpp reinplace "s|\${EXECUTABLE_NAME}|hdhomerun_config_gui|g" \ ${worksrcpath}/OSX/Info.plist reinplace "s|\${PRODUCT_NAME}|HDHomeRun Config|g" \ ${worksrcpath}/OSX/Info.plist } post-build { # no execute permission, will refuse to run with "Error 126", Permission denied file attributes ${worksrcpath}/install-sh -permissions +x } use_autoconf yes app.name HDHomerun app.executable hdhomerun_config_gui app.icon ${worksrcpath}/OSX/hdhr.icns post-destroot { # Stop icon from bouncing on dock # see https://trac.macports.org/ticket/40110 reinplace -E {s|(APPL)|\1 LSUIElement1|} \ "${destroot}${applications_dir}/HDHomerun.app/Contents/Info.plist" }