Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

root/trunk/dports/aqua/CosmicDebris/Portfile

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
3PortSystem 1.0
4
5name                    CosmicDebris
6version                 2.0
7categories              aqua science
8platforms               darwin
9maintainers             nomaintainer
10homepage                http://www.jschilling.net/sw_cosmicdebris.php
11description             Aurora Borealis monitor.
12
13long_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                       
17master_sites            http://homepage.mac.com/johnnycat/sfw/
18
19checksums \
20        md5 0711dcb9a47ef0fae2a6ce069d3ed06c \
21        sha1 8c3ee7218639e4355eb5180e570d637de3d47707 \
22        rmd160 c5ebf70f8882f01bccc8d827ab68aa174ad71aa4
23
24dist_subdir             ${name}/${version}
25distname                ${name}Source
26use_zip                 yes
27
28use_configure           no
29
30build.type              pbx
31build.args              -configuration Deployment
32build.target            { -project "Cosmic Debris.xcodeproj" -target "Cosmic Debris" }
33
34set appdir      build
35platform darwin 8 {
36        if {$xcodeversion == "2.1"} {
37                set appdir      build/Deployment
38        }
39}
40
41destroot {              set appPath ${destroot}/Applications/MacPorts
42                        file mkdir ${appPath}
43                        file copy "${worksrcpath}/${appdir}/Cosmic Debris.app" ${appPath}
44                        }
45
46default_variants +universal
47variant universal {}
48pre-fetch {
49        if {![variant_isset universal]} {
50                return -code error "${name} is only available in a universal version"
51        }
52}
Note: See TracBrowser for help on using the browser.