Ticket #34860: Portfile

File Portfile, 2.1 KB (added by mklein-de (Michael Klein), 12 years ago)
Line 
1# $Id: Portfile 133 2012-06-13 21:38:45Z mapo $
2
3PortSystem      1.0
4PortGroup xcode 1.0
5
6name            istumbler-98
7version         98
8categories      aqua
9maintainers     nomaintainer
10supported_archs i386 ppc
11configure.universal_archs i386 ppc
12
13description     iStumbler is an Aqua GUI for finding wireless networks (Leopard version)
14long_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
20homepage        http://www.istumbler.net/
21master_sites    \
22        http://www.istumbler.net/downloads/ \
23        http://www.istumbler.net/archive/release${version}/downloads/
24
25distname        ${name}-src
26extract.suffix  .tgz
27
28checksums       sha1    d09c368fbd6002595205a4c09d2c72da4f53795c \
29                rmd160  c8a3b25c2d558f19a5506e5298c448f7ffad365f
30
31worksrcdir      iStumbler
32
33xcode.target    iStumbler
34xcode.configuration     Release
35xcode.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
43if { ![variant_isset use_source] } {
44        default_variants +use_binary
45}
46
47variant 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
67variant use_source conflicts use_binary description {Build from source (does not work)} {}
68
69livecheck.type  regex
70livecheck.regex {iStumbler Release (\d+)}