# $Id: Portfile 99262 2012-10-30 18:05:27Z mk@macports.org $ PortSystem 1.0 PortGroup xcode 1.0 name istumbler version 99 categories aqua maintainers nomaintainer supported_archs i386 ppc configure.universal_archs i386 ppc license BSD description iStumbler is an Aqua GUI for finding wireless networks long_description iStumbler is a free, open source tool for finding \ 802.11b & 802.11g wireless networks. iStumbler \ combines a compact Aqua user interface with visual \ feedback of signal strength and encryption. \ Use the +use_binary (default) variant as building from source \ remains problematic. homepage http://www.istumbler.net/ master_sites \ http://www.istumbler.net/downloads/ \ http://www.istumbler.net/archive/release${version}/downloads/ distname ${name}-${version}-src extract.suffix .tgz checksums sha1 549c5d3e5117dd3d559e2946f827eb34dc6d0ef1 \ rmd160 82da034aa43b6718655ae4101325e7e78f15d429 worksrcdir iStumbler xcode.target iStumbler xcode.configuration Release xcode.build.settings \ OTHER_CFLAGS="-I${worksrcpath}/Frameworks" \ OTHER_CFLAGS="-I${worksrcpath}/build" \ SYMROOT=${worksrcpath}/build # FRAMEWORK_SEARCH_PATHS=${worksrcpath}/build # BUILT_PRODUCTS_DIR=${worksrcpath}/build # OTHER_LDFLAGS="-I${worksrcpath}/Frameworks" pre-fetch { platform darwin { if {${os.major} < 10} { ui_error "${name} requires OS X 10.6 or newer." return -code error "incompatible OS X version" } } } if { ![variant_isset use_source] } { default_variants +use_binary } variant use_binary conflicts use_source description {Install from binary distribution} { distname ${name}-${version} checksums sha1 3a8273ae665f3a024db693ca5fb88765720a8a17 \ rmd160 09bcb0afbbdc4589e2c6ee8f7061ffbd19fac7eb patch {} use_configure no build {} destroot { xinstall -d ${destroot}${applications_dir} file copy ${workpath}/iStumbler.app ${destroot}${applications_dir} } default_variants +universal variant universal {} pre-fetch { if {![variant_isset universal]} { return -code error "${name} is only available in a universal version" } } } variant use_source conflicts use_binary description {Build from source (does not work)} {} livecheck.type regex livecheck.regex {iStumbler Release (\d+)}