|
Revision 33413, 1.3 KB
(checked in by ryandesign@…, 12 months ago)
|
|
These ports build from source but build a universal version by default, and no effort has yet been expended to change this. The port defines an empty universal variant and selects it by default. Now additionally ensure that this default selection cannot be overridden, since to do so would be inaccurate.
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Id
|
| Line | |
|---|
| 1 | # $Id$ |
|---|
| 2 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | |
|---|
| 5 | name CosmicDebris |
|---|
| 6 | version 2.0 |
|---|
| 7 | categories aqua science |
|---|
| 8 | platforms darwin |
|---|
| 9 | maintainers nomaintainer |
|---|
| 10 | homepage http://www.jschilling.net/sw_cosmicdebris.php |
|---|
| 11 | description Aurora Borealis monitor. |
|---|
| 12 | |
|---|
| 13 | long_description CosmicDebris is an Aurora Borealis (Northern Lights) monitor \ |
|---|
| 14 | menu item. It monitors two internet data sources for the \ |
|---|
| 15 | probability of an Aurora event. |
|---|
| 16 | |
|---|
| 17 | master_sites http://homepage.mac.com/johnnycat/sfw/ |
|---|
| 18 | |
|---|
| 19 | checksums \ |
|---|
| 20 | md5 0711dcb9a47ef0fae2a6ce069d3ed06c \ |
|---|
| 21 | sha1 8c3ee7218639e4355eb5180e570d637de3d47707 \ |
|---|
| 22 | rmd160 c5ebf70f8882f01bccc8d827ab68aa174ad71aa4 |
|---|
| 23 | |
|---|
| 24 | dist_subdir ${name}/${version} |
|---|
| 25 | distname ${name}Source |
|---|
| 26 | use_zip yes |
|---|
| 27 | |
|---|
| 28 | use_configure no |
|---|
| 29 | |
|---|
| 30 | build.type pbx |
|---|
| 31 | build.args -configuration Deployment |
|---|
| 32 | build.target { -project "Cosmic Debris.xcodeproj" -target "Cosmic Debris" } |
|---|
| 33 | |
|---|
| 34 | set appdir build |
|---|
| 35 | platform darwin 8 { |
|---|
| 36 | if {$xcodeversion == "2.1"} { |
|---|
| 37 | set appdir build/Deployment |
|---|
| 38 | } |
|---|
| 39 | } |
|---|
| 40 | |
|---|
| 41 | destroot { set appPath ${destroot}/Applications/MacPorts |
|---|
| 42 | file mkdir ${appPath} |
|---|
| 43 | file copy "${worksrcpath}/${appdir}/Cosmic Debris.app" ${appPath} |
|---|
| 44 | } |
|---|
| 45 | |
|---|
| 46 | default_variants +universal |
|---|
| 47 | variant universal {} |
|---|
| 48 | pre-fetch { |
|---|
| 49 | if {![variant_isset universal]} { |
|---|
| 50 | return -code error "${name} is only available in a universal version" |
|---|
| 51 | } |
|---|
| 52 | } |
|---|