Changeset 99486


Ignore:
Timestamp:
Nov 7, 2012, 3:01:05 PM (12 years ago)
Author:
michaelld@…
Message:

uhd :

  • fix images downloader
  • add uhd-devel subport for latest GIT master
Location:
trunk/dports/science/uhd
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/science/uhd/Portfile

    r99458 r99486  
    44PortSystem          1.0
    55PortGroup           cmake 1.0
    6 PortGroup           github 1.0
    76
    8 github.setup        EttusResearch UHD-Mirror 003_005_000 release_
    9 
    10 # override name from github PortGroup
    117name                uhd
    12 
    138categories          science
    149maintainers         michaelld openmaintainer
     
    2015platforms           darwin
    2116
    22 checksums           sha1        efaeb888d9f2f7c9f219d140b3c924f93155d72c \
    23                     rmd160      458367c42ba02219183f74ecfa4dc56c2fd290db
     17dist_subdir         uhd
    2418
    25 worksrcdir          ${name}-${version}
     19if {${subport} == ${name}} {
     20
     21    version         003_005_000
     22    distname        release_${version}
     23    worksrcdir      UHD-Mirror-${distname}
     24    master_sites    https://github.com/EttusResearch/UHD-Mirror/archive
     25    conflicts       uhd-devel
     26    checksums       sha1   b0277c1fa72ac4f818d39d0830d5a42d8b059395 \
     27                    rmd160  2736897c26823b20be6f7ec7ee89b0bccbe5fb63
     28
     29}
     30
     31subport uhd-devel {
     32
     33    version         003_005_000_git
     34    fetch.type      git
     35    git.url         https://github.com/EttusResearch/UHD-Mirror.git
     36    git.branch      79a26e96676d7260f492728ba61b237a402df926
     37    worksrcdir      UHD-Mirror-release-${version}
     38    conflicts       uhd
     39    livecheck.type  none
     40
     41}
    2642
    2743depends_lib-append      port:boost
     
    3248configure.dir       ${workpath}/build
    3349build.dir           ${workpath}/build
     50
     51# patch image downloader to separate download and install directories
     52
     53patchfiles           patch-image-download.diff
    3454
    3555# set last configure argument to the reletive path
     
    5373
    5474post-destroot {
    55     system "${destroot}${prefix}/share/uhd/utils/uhd_images_downloader.py --download-location=${destroot}${prefix}/share/uhd/images"
     75    system "${destroot}${prefix}/share/uhd/utils/uhd_images_downloader.py --download-location=${destroot}${prefix}/share/uhd --install-location=${destroot}${prefix}/share/uhd/images"
    5676}
    5777
Note: See TracChangeset for help on using the changeset viewer.