source: trunk/dports/aqua/istumbler/Portfile

Last change on this file was 154355, checked in by mf2k@…, 11 months ago

istumbler Chmox: Ports abandoned. (#52577)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# $Id: Portfile 154355 2016-10-28 13:06:27Z ryandesign@macports.org $
2
3PortSystem      1.0
4PortGroup xcode 1.0
5
6name            istumbler
7version         99
8categories      aqua
9maintainers     nomaintainer
10supported_archs i386 ppc
11configure.universal_archs i386 ppc
12license     BSD
13
14description     iStumbler is an Aqua GUI for finding wireless networks
15long_description        iStumbler is a free, open source tool for finding \
16                802.11b & 802.11g  wireless networks. iStumbler \
17                combines a compact Aqua user interface  with visual \
18                feedback of signal strength and encryption. \
19                Use the +use_binary (default) variant as building from source \
20                remains problematic.
21homepage        http://www.istumbler.net/
22master_sites    \
23        http://www.istumbler.net/downloads/ \
24        http://www.istumbler.net/archive/release${version}/downloads/
25
26distname        ${name}-${version}-src
27extract.suffix  .tgz
28
29checksums       sha1    549c5d3e5117dd3d559e2946f827eb34dc6d0ef1 \
30                rmd160  82da034aa43b6718655ae4101325e7e78f15d429
31
32worksrcdir      iStumbler
33
34xcode.target    iStumbler
35xcode.configuration     Release
36xcode.build.settings    \
37        OTHER_CFLAGS="-I${worksrcpath}/Frameworks" \
38        OTHER_CFLAGS="-I${worksrcpath}/build" \
39        SYMROOT=${worksrcpath}/build
40#       FRAMEWORK_SEARCH_PATHS=${worksrcpath}/build
41#       BUILT_PRODUCTS_DIR=${worksrcpath}/build
42#       OTHER_LDFLAGS="-I${worksrcpath}/Frameworks"
43
44pre-fetch {
45        platform darwin {
46                if {${os.major} < 10} {
47                        ui_error "${name} requires OS X 10.6 or newer."
48                        return -code error "incompatible OS X version"
49                }
50        }
51}
52
53if { ![variant_isset use_source] } {
54        default_variants +use_binary
55}
56
57variant use_binary conflicts use_source description {Install from binary distribution} {
58        distname ${name}-${version}
59        checksums       sha1    3a8273ae665f3a024db693ca5fb88765720a8a17 \
60                        rmd160  09bcb0afbbdc4589e2c6ee8f7061ffbd19fac7eb
61        patch {}
62        use_configure   no
63        build {}
64        destroot {
65                xinstall -d ${destroot}${applications_dir}
66                file copy ${workpath}/iStumbler.app ${destroot}${applications_dir}
67        }
68        default_variants +universal
69        variant universal {}
70        pre-fetch {
71                if {![variant_isset universal]} {
72                        return -code error "${name} is only available in a universal version"
73                }
74        }
75}
76
77variant use_source conflicts use_binary description {Build from source (does not work)} {}
78
79livecheck.type  regex
80livecheck.regex {iStumbler Release (\d+)}
Note: See TracBrowser for help on using the repository browser.