source: trunk/dports/net/hdhomerun/Portfile @ 32241

Last change on this file since 32241 was 32241, checked in by ecronin@…, 13 years ago

pedantic 'port lint' edits

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 32241 2007-12-21 18:08:01Z ecronin@macports.org $
2
3PortSystem          1.0
4
5name                hdhomerun
6version             20071015
7categories          net multimedia
8platforms           darwin
9
10maintainers         ecronin
11description         HDHomeRun Software and Firmware
12long_description    ${description}
13homepage            http://www.silicondust.com
14
15master_sites        http://download.silicondust.com/hdhomerun
16distname            lib${name}_${version}
17extract.suffix      .tgz
18distfiles-append    ${name}_firmware_${version}.bin
19extract.only        ${distname}${extract.suffix}
20worksrcdir          lib${name}
21checksums           ${distname}${extract.suffix} \
22                        md5 7d7ed3e4e9a3b64c4a6283fa99de741d \
23                        sha1 137b5158dc661ce17f03c70d2784e65b7aa834d2 \
24                        rmd160 090c383b760e6deeb8f90e3c2efb116e656b60ec \
25                    ${name}_firmware_${version}.bin \
26                        md5 0259c2e183d3f19b3af2100d24b5882b \
27                        sha1 5d625e0f4b1ad45449341d64b5fb818481c5ab72 \
28                        rmd160 26fa5f27ed126d294c5bffa912e9918c99362e69
29
30livecheck.check     regex
31livecheck.url       http://www.silicondust.com/wiki/downloads
32livecheck.regex     libhdhomerun_(\[0-9\]+)\\.tgz
33configure { }
34
35build.target         hdhomerun_config
36
37destroot {
38    xinstall -m 0755 ${worksrcpath}/hdhomerun_config \
39        ${destroot}${prefix}/bin/hdhomerun_config
40    xinstall -d -m 0755 ${destroot}${prefix}/share/${name}/
41    xinstall -m 0644 ${distpath}/${name}_firmware_${version}.bin \
42        ${destroot}${prefix}/share/${name}/${name}_firmware_${version}.bin
43    xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}/
44    xinstall -m 0644 ${worksrcpath}/README \
45        ${destroot}${prefix}/share/doc/${name}/README
46}
47
48post-activate {
49    ui_msg "to upgrade device firmware run:"
50    ui_msg "     hdhomerun_config <id> upgrade ${prefix}/share/${name}/${name}_firmware_${version}.bin"
51}
52
Note: See TracBrowser for help on using the repository browser.