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

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

Batch update of my maintainer address

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
RevLine 
[23338]1# $Id: Portfile 32231 2007-12-21 05:43:22Z ecronin@macports.org $
2
3PortSystem          1.0
4
5name                hdhomerun
[30929]6version             20071015
[23338]7categories          net multimedia
8platforms           darwin
9
[32231]10maintainers         ecronin
[23338]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
[26794]18distfiles-append    ${name}_firmware_${version}.bin
[23338]19extract.only        ${distname}${extract.suffix}
20worksrcdir          lib${name}
21checksums           ${distname}${extract.suffix} \
[30929]22                        md5 7d7ed3e4e9a3b64c4a6283fa99de741d \
23                        sha1 137b5158dc661ce17f03c70d2784e65b7aa834d2 \
24                        rmd160 090c383b760e6deeb8f90e3c2efb116e656b60ec \
[26794]25                    ${name}_firmware_${version}.bin \
[30929]26                        md5 0259c2e183d3f19b3af2100d24b5882b \
27                        sha1 5d625e0f4b1ad45449341d64b5fb818481c5ab72 \
28                        rmd160 26fa5f27ed126d294c5bffa912e9918c99362e69
[23338]29
[23618]30livecheck.check     regex
31livecheck.url       http://www.silicondust.com/wiki/downloads
32livecheck.regex     libhdhomerun_(\[0-9\]+)\\.tgz
[23338]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}/
[26794]41    xinstall -m 0644 ${distpath}/${name}_firmware_${version}.bin \
42        ${destroot}${prefix}/share/${name}/${name}_firmware_${version}.bin
[30929]43    xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}/
44    xinstall -m 0644 ${worksrcpath}/README \
45        ${destroot}${prefix}/share/doc/${name}/README
[23338]46}
47
48post-activate {
[26119]49    ui_msg "to upgrade device firmware run:"
[26794]50    ui_msg "     hdhomerun_config <id> upgrade ${prefix}/share/${name}/${name}_firmware_${version}.bin"
[23338]51}
52
Note: See TracBrowser for help on using the repository browser.