# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup github 1.0 PortGroup xcode 1.0 github.setup acidanthera gfxutil 1.84b revision 0 categories sysutils maintainers {i0ntempest @i0ntempest} openmaintainer license BSD installs_libs no set edk_commit b84c1aab2c429650275068e3de293f111a4f45d0 set edk_distfile ${edk_commit}${extract.suffix} set main_distfile ${distfiles} master_sites-append https://github.com/acidanthera/audk/archive/:edk distfiles-append ${edk_distfile}:edk description Device Properties conversion tool long_description \ A tool to work with Device Properties commonly found in Apple Mac \ firmwares by mcmatrix. checksums ${main_distfile} \ rmd160 185354a43fd949a9e3b5c89ceb75b462c45a531f \ sha256 78e489058f4856362f72fb8e6a23169dd1e82d57b118d91c6127bf76f8695fa8 \ size 49665 \ ${edk_distfile} \ rmd160 94f85fee47ecda1a675ca1de85a0bd4de440685a \ sha256 8b4ad8e545e38d6057d88420125c2db96c7c4cad5d561e45472057318d7c4b39 \ size 17168120 post-extract { ln -s audk-${edk_commit} ${workpath}/edk2 # MacPorts 2.8.1 (GitHub PG) requires manual renaming of worksrcdir here move {*}[glob ${workpath}/${github.author}-${github.project}-*] ${workpath}/${name}-${version} } xcode.project gfxutil.xcodeproj xcode.target gfxutil xcode.configuration Release destroot { xinstall -m 755 ${worksrcpath}/build/${xcode.configuration}/gfxutil ${destroot}${prefix}/bin }