From db01c9fd0b7be2216a00ef9e5fea80ccb9b3b066 Mon Sep 17 00:00:00 2001 From: pgj Date: Sun, 3 Jun 2012 19:23:57 +0000 Subject: Lowlevel cpu routines to get basic properties of the cpu platform, like endianness and architecture. WWW: http://github.com/vincenthz/hs-cpu Obtained from: FreeBSD Haskell --- sysutils/hs-cpu/Makefile | 20 ++++++++++++++++++++ sysutils/hs-cpu/distinfo | 2 ++ sysutils/hs-cpu/pkg-descr | 4 ++++ 3 files changed, 26 insertions(+) create mode 100644 sysutils/hs-cpu/Makefile create mode 100644 sysutils/hs-cpu/distinfo create mode 100644 sysutils/hs-cpu/pkg-descr (limited to 'sysutils/hs-cpu') diff --git a/sysutils/hs-cpu/Makefile b/sysutils/hs-cpu/Makefile new file mode 100644 index 000000000000..4db892965883 --- /dev/null +++ b/sysutils/hs-cpu/Makefile @@ -0,0 +1,20 @@ +# New ports collection makefile for: hs-cpu +# Date created: May 9, 2012 +# Whom: haskell@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= cpu +PORTVERSION= 0.1.0 +CATEGORIES= sysutils haskell + +MAINTAINER= haskell@FreeBSD.org +COMMENT= Cpu information and properties helpers + +LICENSE= BSD + +CABAL_SETUP= Setup.hs + +.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk" +.include diff --git a/sysutils/hs-cpu/distinfo b/sysutils/hs-cpu/distinfo new file mode 100644 index 000000000000..8ddfe08228aa --- /dev/null +++ b/sysutils/hs-cpu/distinfo @@ -0,0 +1,2 @@ +SHA256 (cabal/cpu-0.1.0.tar.gz) = cf634b4a0166cc5083473b4f81fe583f22d3c57b91f6eb1fc0124e3c360b1a08 +SIZE (cabal/cpu-0.1.0.tar.gz) = 4166 diff --git a/sysutils/hs-cpu/pkg-descr b/sysutils/hs-cpu/pkg-descr new file mode 100644 index 000000000000..9595e75423fb --- /dev/null +++ b/sysutils/hs-cpu/pkg-descr @@ -0,0 +1,4 @@ +Lowlevel cpu routines to get basic properties of the cpu platform, like +endianness and architecture. + +WWW: http://github.com/vincenthz/hs-cpu -- cgit