aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorGabor Pali <pgj@FreeBSD.org>2012-06-04 03:23:57 +0800
committerGabor Pali <pgj@FreeBSD.org>2012-06-04 03:23:57 +0800
commitf4ff1b95c99d7539af1fdfa47b4164b7f942f426 (patch)
tree4ed079147b7aecaa071f548f413a3280a699bfc9 /sysutils
parentad40840f038b6225eed574c6589fd0a7160416d7 (diff)
downloadfreebsd-ports-gnome-f4ff1b95c99d7539af1fdfa47b4164b7f942f426.tar.gz
freebsd-ports-gnome-f4ff1b95c99d7539af1fdfa47b4164b7f942f426.tar.zst
freebsd-ports-gnome-f4ff1b95c99d7539af1fdfa47b4164b7f942f426.zip
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
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/hs-cpu/Makefile20
-rw-r--r--sysutils/hs-cpu/distinfo2
-rw-r--r--sysutils/hs-cpu/pkg-descr4
3 files changed, 26 insertions, 0 deletions
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 <bsd.port.mk>
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