diff --git a/sysutils/Makefile b/sysutils/Makefile index bb3319cc60d3..78324c487b83 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -479,6 +479,7 @@ SUBDIR += hpacucli SUBDIR += hploscripts SUBDIR += hptcli + SUBDIR += hs-cputype SUBDIR += hstr SUBDIR += htop SUBDIR += httplog diff --git a/sysutils/hs-cputype/Makefile b/sysutils/hs-cputype/Makefile new file mode 100644 index 000000000000..7f67e70b951e --- /dev/null +++ b/sysutils/hs-cputype/Makefile @@ -0,0 +1,26 @@ +# $FreeBSD$ + +PORTNAME= cputype +PORTVERSION= 0.1 +CATEGORIES= sysutils haskell +MASTER_SITES= https://bitbucket.org/arrowd/cputype/downloads/ + +MAINTAINER= arrowd@FreeBSD.org +COMMENT= Find out your CPUTYPE + +LICENSE= BSD3CLAUSE + +USES= cabal + +USE_CABAL= ansi-terminal-0.9.1 \ + ansi-wl-pprint-0.6.9 \ + attoparsec-0.13.2.2 \ + colour-2.3.5 \ + hashable-1.3.0.0 \ + integer-logarithms-1.0.3 \ + optparse-applicative-0.15.0.0 \ + primitive-0.7.0.0 \ + scientific-0.3.6.2 \ + transformers-compat-0.6.5 + +.include diff --git a/sysutils/hs-cputype/distinfo b/sysutils/hs-cputype/distinfo new file mode 100644 index 000000000000..bf352464b3a0 --- /dev/null +++ b/sysutils/hs-cputype/distinfo @@ -0,0 +1,23 @@ +TIMESTAMP = 1563192135 +SHA256 (cabal/cputype-0.1.tar.gz) = 85613d8fd56735134b6a434917603f64f9ab75dc224bb2bf661a5ec05e57587d +SIZE (cabal/cputype-0.1.tar.gz) = 4011 +SHA256 (cabal/ansi-terminal-0.9.1/ansi-terminal-0.9.1.tar.gz) = 74088e80b33ba680f7c46137d25bfcca6fa8795bc2d097e4e0435b3c41a320fb +SIZE (cabal/ansi-terminal-0.9.1/ansi-terminal-0.9.1.tar.gz) = 34756 +SHA256 (cabal/ansi-wl-pprint-0.6.9/ansi-wl-pprint-0.6.9.tar.gz) = a7b2e8e7cd3f02f2954e8b17dc60a0ccd889f49e2068ebb15abfa1d42f7a4eac +SIZE (cabal/ansi-wl-pprint-0.6.9/ansi-wl-pprint-0.6.9.tar.gz) = 16723 +SHA256 (cabal/attoparsec-0.13.2.2/attoparsec-0.13.2.2.tar.gz) = dd93471eb969172cc4408222a3842d867adda3dd7fb39ad8a4df1b121a67d848 +SIZE (cabal/attoparsec-0.13.2.2/attoparsec-0.13.2.2.tar.gz) = 159729 +SHA256 (cabal/colour-2.3.5/colour-2.3.5.tar.gz) = 3b8d471979617dce7c193523743c9782df63433d8e87e3ef6d97922e0da104e7 +SIZE (cabal/colour-2.3.5/colour-2.3.5.tar.gz) = 20485 +SHA256 (cabal/hashable-1.3.0.0/hashable-1.3.0.0.tar.gz) = 822e5413fbccca6ae884d3aba4066422c8b5d58d23d18b9ecb5c03273bb19ab4 +SIZE (cabal/hashable-1.3.0.0/hashable-1.3.0.0.tar.gz) = 29835 +SHA256 (cabal/integer-logarithms-1.0.3/integer-logarithms-1.0.3.tar.gz) = 5ae262018698af35bb74916fad170d96d3eb44669c72ed36db9a19a3392cec16 +SIZE (cabal/integer-logarithms-1.0.3/integer-logarithms-1.0.3.tar.gz) = 8840 +SHA256 (cabal/optparse-applicative-0.15.0.0/optparse-applicative-0.15.0.0.tar.gz) = af4bad699464b071a7e9d636fecf3982ae76fc5f69e48bec30405ca6cfce2008 +SIZE (cabal/optparse-applicative-0.15.0.0/optparse-applicative-0.15.0.0.tar.gz) = 55650 +SHA256 (cabal/primitive-0.7.0.0/primitive-0.7.0.0.tar.gz) = 786a44fea328caf704b762ebc887e9e8476c4378fdf3a06c94e86ef1878d1576 +SIZE (cabal/primitive-0.7.0.0/primitive-0.7.0.0.tar.gz) = 66014 +SHA256 (cabal/scientific-0.3.6.2/scientific-0.3.6.2.tar.gz) = 278d0afc87450254f8a76eab21b5583af63954efc9b74844a17a21a68013140f +SIZE (cabal/scientific-0.3.6.2/scientific-0.3.6.2.tar.gz) = 23510 +SHA256 (cabal/transformers-compat-0.6.5/transformers-compat-0.6.5.tar.gz) = da67cf11515da751b32a8ce6e96549f7268f7c435769ad19dc9766b69774620b +SIZE (cabal/transformers-compat-0.6.5/transformers-compat-0.6.5.tar.gz) = 40421 diff --git a/sysutils/hs-cputype/pkg-descr b/sysutils/hs-cputype/pkg-descr new file mode 100644 index 000000000000..b39f6d3dc8b0 --- /dev/null +++ b/sysutils/hs-cputype/pkg-descr @@ -0,0 +1,6 @@ +This small utility can help figuring out proper value for CPUTYPE variable used +by FreeBSD build machinery in src and ports Makefiles. It uses clang for this +and checks its output against bsd.cpu.mk file. It also allows you to list CPU +features, and compare between several CPUs to find out which one is most featured. + +WWW: https://bitbucket.org/arrowd/cputype