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