# -*- 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 github 1.0 github.setup tycho cpuid 1.4.5 categories sysutils description A simple CPUID decoder/dumper for x86/x86_64 long_description "cpuid" is a very simple C program, designed to dump and extract information \ from the x86 CPUID instruction.\ cpuid is capable of dumping all CPUID leaves (except any unknown leaves which \ require special ECX values to dump all information). cpuid can only decode \ certain leaves, but this functionality will be expanded as the CPUID \ specifications provided by AMD and Intel change. maintainers gmail.com:rjvbertin openmaintainer license ISC platforms darwin supported_archs i386 x86_64 installs_libs no checksums rmd160 685e452712e008d9b6fbc5d18dd46501fa95db02 \ sha256 87909ec2e09fe13d903985c37ae6aed4dd0ecadf843f952989181dbb17bb83ec patchfiles-append patch-makefile.diff configure { # no configure script, just a few changes that need to be made to the Makefile # for it to be configured correctly. Doing these reinplaces in configure{} instead # of in post-patch{} maintains support for +universal. reinplace "s|-Os|${configure.cppflags} ${configure.cflags} [get_canonical_archflags cc]|g" ${worksrcpath}/GNUmakefile reinplace "s|LDFLAGS := -lm|LDFLAGS := -lm ${configure.ldflags} [get_canonical_archflags ld]|g" ${worksrcpath}/GNUmakefile reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/GNUmakefile } build.args-append CC=${configure.cc} LD=${configure.cc} V=1