Changeset 96972 for trunk/dports/aqua


Ignore:
Timestamp:
Aug 23, 2012, 3:59:20 PM (7 years ago)
Author:
snc@…
Message:

xrg: use github source to comply with license

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/aqua/xrg/Portfile

    r96969 r96972  
    44PortSystem 1.0
    55PortGroup       xcode 1.0
     6PortGroup           github 1.0
    67
    7 name            xrg
    8 version         1.7.0
     8github.setup        mikepj XRG 1.7.0 XRG_
     9name                xrg
     10revision            1
    911categories-append   sysutils
    1012maintainers     snc openmaintainer
     
    2224    graphs on system usage.
    2325homepage        http://www.gauchosoft.com/Products/XRG/
    24 master_sites    http://download.gauchosoft.com/${name}/
    25 supported_archs     i386 x86_64
    26 
    27 worksrcdir          [string toupper ${name}].app
    2826
    2927pre-fetch {
    30     if {${os.major} < 10} {
    31         ui_error "${name} requires OS X 10.6 or newer."
    32         return -code error "incompatible OS X version"
    33     }
    34 }
    35 use_zip             yes
    36 distname        [string toupper ${name}]-release-${version}
    37 
    38 checksums           rmd160  e217b454cb646739be69b010c1d26c0cb5d7f2c6 \
    39                     sha256  2abedda2bf31443ee33e26fd16a235cbf1718cbce6d39a144c1e64809d6ed21f
    40 
    41 use_configure       no
    42 configure.universal_archs i386 x86_64
    43 
    44 build {
    45     if {![variant_isset universal]} {
    46         system -W ${worksrcpath}/Contents/MacOS "lipo -extract ${configure.build_arch} ${name} -output ${name}"
     28    platform darwin {
     29        if {${os.major} < 10} {
     30            ui_error "${name} requires OS X 10.6 or newer."
     31            return -code error "incompatible OS X version"
     32        }
    4733    }
    4834}
    4935
    50 destroot {
    51     copy ${worksrcpath}  ${destroot}${applications_dir}
    52 }
    53 
    54 variant universal {}
     36checksums           rmd160  0eedcfa243794d1cd522b42db2a2bc819df0768e \
     37                    sha256  dc22b9afa017b726b1135f94eea2ff536dc83a6ca7bb642efb66f0e1e9c270a9
    5538
    5639livecheck.type      regex
    5740livecheck.url       ${homepage}
    58 livecheck.regex     [string toupper ${name}]-\\w+-(\\d+(\\.\\d+)+)${extract.suffix}
     41livecheck.regex     [string toupper ${name}]-\\w+-(\\d+(\\.\\d+)+)
Note: See TracChangeset for help on using the changeset viewer.