aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2012-02-19 00:43:12 +0800
committerpgj <pgj@FreeBSD.org>2012-02-19 00:43:12 +0800
commit30c725b16570ac527d12a6cd683fa19f483b2661 (patch)
treede06fa71539fb74dd4e3154c45dbf99830718d83
parent0e15df9008590b65762d164cce2240163341958d (diff)
downloadfreebsd-ports-gnome-30c725b16570ac527d12a6cd683fa19f483b2661.tar.gz
freebsd-ports-gnome-30c725b16570ac527d12a6cd683fa19f483b2661.tar.zst
freebsd-ports-gnome-30c725b16570ac527d12a6cd683fa19f483b2661.zip
This package is for working with native byte-ordering of the system.
WWW: http://community.haskell.org/~aslatter/code/byteorder Obtained from: FreeBSD Haskell
-rw-r--r--devel/Makefile1
-rw-r--r--devel/hs-byteorder/Makefile20
-rw-r--r--devel/hs-byteorder/distinfo2
-rw-r--r--devel/hs-byteorder/pkg-descr3
-rw-r--r--lang/ghc/bsd.hackage.mk1
5 files changed, 27 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index c42faae86e21..c73b258eacef 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -597,6 +597,7 @@
SUBDIR += hs-blaze-builder-enumerator
SUBDIR += hs-blaze-textual
SUBDIR += hs-bsd-sysctl
+ SUBDIR += hs-bsd-byteorder
SUBDIR += hs-bytestring-nums
SUBDIR += hs-c2hs
SUBDIR += hs-cabal-install
diff --git a/devel/hs-byteorder/Makefile b/devel/hs-byteorder/Makefile
new file mode 100644
index 000000000000..996627e32e39
--- /dev/null
+++ b/devel/hs-byteorder/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: hs-byteorder
+# Date created: December 30, 2011
+# Whom: haskell@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= byteorder
+PORTVERSION= 1.0.3
+CATEGORIES= devel haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= Exposes the native endianness or byte ordering of the system
+
+LICENSE= BSD
+
+CABAL_SETUP= Setup.hs
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/devel/hs-byteorder/distinfo b/devel/hs-byteorder/distinfo
new file mode 100644
index 000000000000..1657f35925d4
--- /dev/null
+++ b/devel/hs-byteorder/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cabal/byteorder-1.0.3.tar.gz) = 5ef1125f2c6506ba6303f59f3265b4d0caaa6dbe897cf14dac715e920f59d214
+SIZE (cabal/byteorder-1.0.3.tar.gz) = 2007
diff --git a/devel/hs-byteorder/pkg-descr b/devel/hs-byteorder/pkg-descr
new file mode 100644
index 000000000000..cb5b066f8798
--- /dev/null
+++ b/devel/hs-byteorder/pkg-descr
@@ -0,0 +1,3 @@
+This package is for working with native byte-ordering of the system.
+
+WWW: http://community.haskell.org/~aslatter/code/byteorder
diff --git a/lang/ghc/bsd.hackage.mk b/lang/ghc/bsd.hackage.mk
index b6dd9e7fdf43..cd37e7168d9c 100644
--- a/lang/ghc/bsd.hackage.mk
+++ b/lang/ghc/bsd.hackage.mk
@@ -37,6 +37,7 @@ BNFC_port= devel/hs-BNFC # executable
Boolean_port= devel/hs-Boolean
brainfuck_port= lang/hs-brainfuck # executable
bsd-sysctl_port= devel/hs-bsd-sysctl
+byteorder_port= devel/hs-byteorder
bytestring-nums_port= devel/hs-bytestring-nums # executable
c2hs_port= devel/hs-c2hs # executable
cabal-install_port= devel/hs-cabal-install # executable