1 | # $Id: Portfile 133 2012-06-13 21:38:45Z mapo $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup xcode 1.0 |
---|
5 | |
---|
6 | name istumbler-98 |
---|
7 | version 98 |
---|
8 | categories aqua |
---|
9 | maintainers nomaintainer |
---|
10 | supported_archs i386 ppc |
---|
11 | configure.universal_archs i386 ppc |
---|
12 | |
---|
13 | description iStumbler is an Aqua GUI for finding wireless networks (Leopard version) |
---|
14 | long_description iStumbler is a free, open source tool for finding \ |
---|
15 | 802.11b & 802.11g wireless networks. iStumbler \ |
---|
16 | combines a compact Aqua user interface with visual \ |
---|
17 | feedback of signal strength and encryption. \ |
---|
18 | Use the +use_binary (default) variant as building from source \ |
---|
19 | remains problematic. This version is for OS X 10.5 |
---|
20 | homepage http://www.istumbler.net/ |
---|
21 | master_sites \ |
---|
22 | http://www.istumbler.net/downloads/ \ |
---|
23 | http://www.istumbler.net/archive/release${version}/downloads/ |
---|
24 | |
---|
25 | distname ${name}-src |
---|
26 | extract.suffix .tgz |
---|
27 | |
---|
28 | checksums sha1 d09c368fbd6002595205a4c09d2c72da4f53795c \ |
---|
29 | rmd160 c8a3b25c2d558f19a5506e5298c448f7ffad365f |
---|
30 | |
---|
31 | worksrcdir iStumbler |
---|
32 | |
---|
33 | xcode.target iStumbler |
---|
34 | xcode.configuration Release |
---|
35 | xcode.build.settings \ |
---|
36 | OTHER_CFLAGS="-I${worksrcpath}/Frameworks" \ |
---|
37 | OTHER_CFLAGS="-I${worksrcpath}/build" \ |
---|
38 | SYMROOT=${worksrcpath}/build |
---|
39 | # FRAMEWORK_SEARCH_PATHS=${worksrcpath}/build |
---|
40 | # BUILT_PRODUCTS_DIR=${worksrcpath}/build |
---|
41 | # OTHER_LDFLAGS="-I${worksrcpath}/Frameworks" |
---|
42 | |
---|
43 | if { ![variant_isset use_source] } { |
---|
44 | default_variants +use_binary |
---|
45 | } |
---|
46 | |
---|
47 | variant use_binary conflicts use_source description {Install from binary distribution} { |
---|
48 | distname ${name} |
---|
49 | checksums sha1 2e8912aed8a32353c76d147c1f37493abe0abb9a \ |
---|
50 | rmd160 ded5f623f3d9d5fe63008b5b58358b2b73eb55f0 |
---|
51 | patch {} |
---|
52 | use_configure no |
---|
53 | build {} |
---|
54 | destroot { |
---|
55 | xinstall -d ${destroot}${applications_dir} |
---|
56 | file copy ${workpath}/iStumbler.app ${destroot}${applications_dir} |
---|
57 | } |
---|
58 | default_variants +universal |
---|
59 | variant universal {} |
---|
60 | pre-fetch { |
---|
61 | if {![variant_isset universal]} { |
---|
62 | return -code error "${name} is only available in a universal version" |
---|
63 | } |
---|
64 | } |
---|
65 | } |
---|
66 | |
---|
67 | variant use_source conflicts use_binary description {Build from source (does not work)} {} |
---|
68 | |
---|
69 | livecheck.type regex |
---|
70 | livecheck.regex {iStumbler Release (\d+)} |
---|