Ignore:
Timestamp:
Aug 29, 2010, 7:09:33 AM (9 years ago)
Author:
ryandesign@…
Message:

isightcapture: record universal_archs correctly in the registry, and support non-universal installs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/isightcapture/Portfile

    r70583 r70991  
    55name                    isightcapture
    66version                 1.1
    7 revision                1
     7revision                2
    88set version2            [strsed ${version} {g/[.]/_/}]
    99categories              sysutils graphics
     
    1313license                 freeware
    1414supported_archs         i386 ppc
     15configure.universal_archs i386 ppc
    1516
    1617homepage                http://www.intergalactic.de/pages/iSight.html
     
    3536use_configure           no
    3637
    37 build {}
     38build {
     39    if {![variant_isset universal]} {
     40        system "cd ${worksrcpath} && lipo -extract ${configure.build_arch} ${name} -output ${name}"
     41    }
     42}
    3843
    3944destroot {
     
    4348}
    4449
    45 default_variants +universal
    4650variant universal {}
    47 pre-fetch {
    48     if {![variant_isset universal]} {
    49         return -code error "${name} is only available in a universal version"
    50     }
    51 }
    5251
    5352livecheck.type          regex
Note: See TracChangeset for help on using the changeset viewer.