Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

root/trunk/dports/aqua/BwanaDik/Portfile

Revision 33413, 1.0 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                    BwanaDik
6version                 3.0.4
7categories              aqua net
8platforms               darwin
9maintainers             nomaintainer
10homepage                http://www.jschilling.net/sw_bwanadik.php
11description             IP address (WAN and LAN) reporter.
12
13long_description        ${description}
14
15master_sites            http://homepage.mac.com/johnnycat/sfw/
16
17checksums \
18        md5 2ff538266d00a5ad0bdc1b454f7778de \
19        sha1 4a622aecdd2869ada2863b0649a360b367c07094 \
20        rmd160 55160e61e5e5e6a55357eb2049627372b2dcbf0e
21
22dist_subdir             ${name}/${version}
23distname                ${name}Source
24use_zip                 yes
25
26use_configure           no
27
28build.type              pbx
29build.target            -project BwanaDik.xcodeproj -target BwanaDik
30
31set appdir      build
32platform darwin 8 {
33        if {$xcodeversion == "2.1"} {
34                set appdir      build/Release
35        }
36}
37
38destroot {              set appPath ${destroot}/Applications/MacPorts
39                        file mkdir ${appPath}
40                        file copy "${worksrcpath}/${appdir}/${name}.app" ${appPath}
41                        }
42
43default_variants +universal
44variant universal {}
45pre-fetch {
46        if {![variant_isset universal]} {
47                return -code error "${name} is only available in a universal version"
48        }
49}
Note: See TracBrowser for help on using the browser.