# $Id$ PortSystem 1.0 name hdhomerun version 20081209 set firm_version 20081209 categories net multimedia platforms darwin maintainers ecronin description HDHomeRun Software and Firmware long_description ${description} homepage http://www.silicondust.com/wiki/products/hdhomerun master_sites http://download.silicondust.com/hdhomerun distname lib${name}_${version} extract.suffix .tgz distfiles-append ${name}_atsc_firmware_${firm_version}.bin extract.only ${distname}${extract.suffix} worksrcdir lib${name} checksums ${distname}${extract.suffix} \ md5 11f426544972f87021cd02e1cba0f231 \ sha1 55e7107079f75fb680a64ab629a614c10df4b561 \ rmd160 539c798311fc97204f432e0610abf42af0196dae \ ${name}_atsc_firmware_${firm_version}.bin \ md5 5d65f25eb4d78dd9a62c1fc81e3d6ff6 \ sha1 537f19729446b5b55b46fec76cfa3f608bc6bb91 \ rmd160 6bee3ad034b0bcc35ed7667fec4d26425321139f livecheck.check regex livecheck.url http://www.silicondust.com/wiki/downloads livecheck.regex libhdhomerun_(\[0-9\]+)\\.tgz use_configure no build.target hdhomerun_config destroot { xinstall -m 0755 ${worksrcpath}/hdhomerun_config \ ${destroot}${prefix}/bin/hdhomerun_config xinstall -d -m 0755 ${destroot}${prefix}/share/${name}/ xinstall -m 0644 ${distpath}/${name}_atsc_firmware_${firm_version}.bin \ ${destroot}${prefix}/share/${name}/${name}_atsc_firmware_${firm_version}.bin xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}/ xinstall -m 0644 ${worksrcpath}/README \ ${destroot}${prefix}/share/doc/${name}/README } post-activate { ui_msg "to upgrade device firmware run:" ui_msg " hdhomerun_config upgrade ${prefix}/share/${name}/${name}_atsc_firmware_${firm_version}.bin" }