# -*- 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 # Change github.tarball_from to 'releases' or 'archive' next update github.tarball_from tarball revision 1 categories sysutils maintainers {i0ntempest @i0ntempest} openmaintainer license BSD installs_libs no set edk_commit 0e5812812d22a9b04ed442e8cab754eac434aaef 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 561d0ab81ee96e44ea542954b269b99edc6be7c8 \ sha256 33042d1f42a4a3c8df37379cc2cfe207825b368a33e321639b3151229197ec5f \ size 18480153 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 }