# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup python 1.0 PortGroup github 1.0 github.setup mountainstorm MobileDevice 9ff885494197aeb790ba5b156212418b83218d47 version 1.0.99 categories multimedia python platforms darwin license MIT supported_archs noarch maintainers m4x.org:db_macports openmaintainer worksrcdir MobileDevice description Tool providing access to iOS devices long_description \ A python package, and command line tool, which wraps Apple's \ MobileDevice API - providing access to iOS devices. checksums sha256 cc46bf108fe6eb884a124b67c63fcf60b48f89dece70f4931d5ade40066931a5 \ rdm160 605e46f19fe89da2336d43360f3664531c095b69 python.default_version 27 post-extract { # MobileDevice needs to be built in a directory named "MobileDevice" if {![file exists ${worksrcpath}]} { move [glob ${workpath}/${name}-*] ${worksrcpath} } } patchfiles patch-setup.py-fix-name-and-version.diff post-patch { reinplace "s#@VERSION@#${version}#" ${worksrcpath}/setup.py } post-destroot { xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 0644 ${worksrcpath}/LICENSE ${destroot}${prefix}/share/doc/${name}/ }