# -*- 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 PortSystem 1.0 PortGroup github 1.0 PortGroup legacysupport 1.1 PortGroup makefile 1.0 # getline, MAP_ANON legacysupport.newest_darwin_requires_legacy 14 github.setup alba4k albafetch 4.1 v revision 1 description Faster neofetch alternative, written in C long_description ${name} is a simple and fast program to display \ a lot of system information in a neofetch-like layout \ in way less than a second. categories sysutils installs_libs no license MIT maintainers {@barracuda156 gmail.com:vital.had} openmaintainer checksums rmd160 62266e581315914385ecaa1558641f4fb9e9312a \ sha256 3136765c40694bc71c8663fb90e90337a1826634ddec0bdc38b0ea6ad566f538 \ size 301380 github.tarball_from archive # https://github.com/alba4k/albafetch/pull/85 patchfiles-append 0001-fix-macos_infos.patch \ 0002-Fix-Makefile.patch # cc1: error: invalid option argument ‘-Ofast’ # error: ‘for’ loop initial declaration used outside C99 mode post-patch { reinplace "s|@PREFIX@|${destroot}${prefix}|" ${worksrcpath}/Makefile reinplace "s|@CFLAGS@|${configure.cflags} -std=c99 [get_canonical_archflags cc]|" ${worksrcpath}/Makefile reinplace "s|@LDFLAGS@|${configure.ldflags} [get_canonical_archflags ld]|" ${worksrcpath}/Makefile } depends_lib-append port:curl if {${os.platform} ne "darwin"} { depends_lib-append \ port:pciutils } compiler.c_standard 1999