Skip to content

Commit

Permalink
Add devel/hs-binary
Browse files Browse the repository at this point in the history
  • Loading branch information
pgj committed Jan 12, 2014
1 parent 2a14331 commit f2ab3c0
Show file tree
Hide file tree
Showing 32 changed files with 88 additions and 30 deletions.
2 changes: 1 addition & 1 deletion archivers/hs-zip-archive/Makefile
Expand Up @@ -9,7 +9,7 @@ COMMENT= Library for creating and modifying zip archives

LICENSE= BSD

USE_CABAL= digest>=0.0.0.1 mtl text>=0.11 zlib
USE_CABAL= binary>=0.5 digest>=0.0.0.1 mtl text>=0.11 zlib

FLAGS_DEFINE= EXECUTABLE

Expand Down
2 changes: 1 addition & 1 deletion devel/hs-binary-shared/Makefile
Expand Up @@ -9,7 +9,7 @@ COMMENT= Sharing for the binary package

LICENSE= GPLv2

USE_CABAL= mtl>=1.1.0.2
USE_CABAL= binary>=0.5 mtl>=1.1.0.2

.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
13 changes: 13 additions & 0 deletions devel/hs-binary/Makefile
@@ -0,0 +1,13 @@
# $FreeBSD$

PORTNAME= binary
PORTVERSION= 0.7.1.0
CATEGORIES= devel haskell

MAINTAINER= haskell@FreeBSD.org
COMMENT= Binary serialisation for Haskell values using lazy ByteStrings

LICENSE= BSD

.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions devel/hs-binary/distinfo
@@ -0,0 +1,2 @@
SHA256 (cabal/binary-0.7.1.0.tar.gz) = 9622efca717cd4f606dc3f43e93464b6eeb0f35e12dd0207065cc6533e498b99
SIZE (cabal/binary-0.7.1.0.tar.gz) = 43647
8 changes: 8 additions & 0 deletions devel/hs-binary/pkg-descr
@@ -0,0 +1,8 @@
Efficient, pure binary serialisation using lazy ByteStrings. Haskell
values may be encoded to and from binary formats, written to disk as
binary, or sent over the network. The format used can be automatically
generated, or you can choose to implement a custom format if needed.
Serialisation speeds of over 1 G/sec have been observed, so this library
should be suitable for high performance scenarios.

WWW: https://github.com/kolmodin/binary
2 changes: 2 additions & 0 deletions devel/hs-binary/pkg-plist
@@ -0,0 +1,2 @@
@exec %D/bin/ghc-pkg hide binary || return true
@unexec %D/bin/ghc-pkg expose binary || return true
2 changes: 2 additions & 0 deletions devel/hs-bytestring-show/Makefile
Expand Up @@ -10,5 +10,7 @@ COMMENT= Efficient conversion of values into readable byte strings

LICENSE= BSD

USE_CABAL= binary

.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
2 changes: 1 addition & 1 deletion devel/hs-concrete-typerep/Makefile
Expand Up @@ -9,7 +9,7 @@ COMMENT= Binary and Hashable instances for TypeRep

LICENSE= BSD

USE_CABAL= hashable
USE_CABAL= binary hashable

.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
2 changes: 1 addition & 1 deletion devel/hs-dyre/Makefile
Expand Up @@ -9,7 +9,7 @@ COMMENT= Dynamic reconfiguration in Haskell

LICENSE= BSD

USE_CABAL= executable-path ghc-paths io-storage xdg-basedir
USE_CABAL= binary executable-path ghc-paths io-storage xdg-basedir

.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
2 changes: 1 addition & 1 deletion devel/hs-ghc-events/Makefile
Expand Up @@ -10,7 +10,7 @@ COMMENT= Library and tool for parsing .eventlog files from GHC

LICENSE= BSD

USE_CABAL= mtl>=1.1
USE_CABAL= binary>=0.5 mtl>=1.1

EXECUTABLE= ghc-events

Expand Down
11 changes: 11 additions & 0 deletions devel/hs-ghc-events/files/patch-ghc-events.cabal
@@ -0,0 +1,11 @@
--- ./ghc-events.cabal.orig 2012-11-01 18:39:59.000000000 +0100
+++ ./ghc-events.cabal 2014-01-11 23:33:15.000000000 +0100
@@ -29,7 +29,7 @@
build-depends: base == 4.*,
mtl >= 1.1 && < 3.0,
containers >= 0.2 && < 0.6,
- binary >= 0.5 && < 0.7,
+ binary >= 0.5 && < 0.8,
bytestring >= 0.9.0,
array >= 0.2 && < 0.5
exposed-modules: GHC.RTS.Events,
2 changes: 1 addition & 1 deletion devel/hs-hashed-storage/Makefile
Expand Up @@ -10,7 +10,7 @@ COMMENT= Hashed file storage support code

LICENSE= BSD

USE_CABAL= dataenc extensible-exceptions mmap>=0.5 mtl zlib
USE_CABAL= binary dataenc extensible-exceptions mmap>=0.5 mtl zlib

FLAGS_DISABLE= test

Expand Down
2 changes: 1 addition & 1 deletion devel/hs-hoogle/Makefile
Expand Up @@ -10,7 +10,7 @@ COMMENT= Haskell API Search

LICENSE= BSD

USE_CABAL= aeson>=0.6.1 blaze-builder>=0.2 case-insensitive>=0.2 \
USE_CABAL= aeson>=0.6.1 binary blaze-builder>=0.2 case-insensitive>=0.2 \
cmdargs>=0.7 conduit>=0.2 haskell-src-exts>=1.14 \
http-types>=0.7 parsec>=2.1 random safe shake>=0.11 \
tagsoup>=0.11 text>=0.11 transformers>=0.2 uniplate>=1.6 \
Expand Down
2 changes: 1 addition & 1 deletion devel/hs-pointedlist/Makefile
Expand Up @@ -9,7 +9,7 @@ COMMENT= Zipper-like comonad which works as a list, tracking a position

LICENSE= BSD

USE_CABAL= derive fclabels
USE_CABAL= binary derive fclabels

.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
2 changes: 1 addition & 1 deletion devel/hs-shake/Makefile
Expand Up @@ -9,7 +9,7 @@ COMMENT= Build system library, like Make, but more accurate dependencies

LICENSE= BSD

USE_CABAL= hashable>=1.1.2.3 random transformers>=0.2 \
USE_CABAL= binary hashable>=1.1.2.3 random transformers>=0.2 \
unordered-containers>=0.2.1 utf8-string>=0.3

EXECUTABLE= shake
Expand Down
4 changes: 2 additions & 2 deletions devel/hs-threadscope/Makefile
Expand Up @@ -10,8 +10,8 @@ COMMENT= Graphical tool for profiling parallel Haskell programs

LICENSE= BSD

USE_CABAL= cairo ghc-events>=0.4.2 glib gtk>=0.12 gtk2hs-buildtools mtl \
pango
USE_CABAL= binary cairo ghc-events>=0.4.2 glib gtk>=0.12 \
gtk2hs-buildtools mtl pango

EXECUTABLE= threadscope
STANDALONE= yes
Expand Down
3 changes: 2 additions & 1 deletion devel/hs-timezone-olson/Makefile
Expand Up @@ -10,7 +10,8 @@ COMMENT= Pure Haskell parser and renderer for binary Olson timezone files

LICENSE= BSD

USE_CABAL= extensible-exceptions>=0.1.0 timezone-series>=0.1.0
USE_CABAL= binary>=0.4.1 extensible-exceptions>=0.1.0 \
timezone-series>=0.1.0

.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
3 changes: 2 additions & 1 deletion devel/hs-uuid/Makefile
Expand Up @@ -9,7 +9,8 @@ COMMENT= Creating, comparing, parsing and printing Universally Unique Identifier

LICENSE= BSD

USE_CABAL= cryptohash>=0.7 hashable network-info random>=1.0.1
USE_CABAL= binary>=0.4 cryptohash>=0.7 hashable network-info \
random>=1.0.1

.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
2 changes: 1 addition & 1 deletion devel/hs-vector-binary-instances/Makefile
Expand Up @@ -9,7 +9,7 @@ COMMENT= Instances of Data.Binary and Data.Serialize for vector

LICENSE= BSD

USE_CABAL= cereal vector>=0.6
USE_CABAL= binary cereal vector>=0.6

.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
5 changes: 3 additions & 2 deletions dns/hs-dns/Makefile
Expand Up @@ -9,8 +9,9 @@ COMMENT= DNS library in Haskell

LICENSE= BSD

USE_CABAL= attoparsec attoparsec-conduit blaze-builder conduit>=0.5 \
iproute>=1.2.4 mtl network>=2.3 network-conduit random
USE_CABAL= attoparsec attoparsec-conduit binary blaze-builder \
conduit>=0.5 iproute>=1.2.4 mtl network>=2.3 network-conduit \
random

.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
2 changes: 1 addition & 1 deletion editors/hs-yi/Makefile
Expand Up @@ -9,7 +9,7 @@ COMMENT= Haskell-Scriptable Editor

LICENSE= GPLv2

USE_CABAL= cautious-file>=1.0.1 concrete-typerep>=0.1.0.2 \
USE_CABAL= binary>=0.5 cautious-file>=1.0.1 concrete-typerep>=0.1.0.2 \
data-accessor>=0.2.1.4 data-accessor-mtl \
data-accessor-template>=0.2.1.3 derive>=2.4 Diff>=0.1 \
dlist>=0.4.1 dyre>=0.8.11 fingertree>=0 ghc-paths hashable \
Expand Down
1 change: 1 addition & 0 deletions lang/ghc/bsd.hackage.mk
Expand Up @@ -40,6 +40,7 @@ base64-string_port= devel/hs-base64-string
base-unicode-symbols_port= devel/hs-base-unicode-symbols
basic-prelude_port= devel/hs-basic-prelude
bifunctors_port= devel/hs-bifunctors
binary_port= devel/hs-binary
binary-shared_port= devel/hs-binary-shared
bio_port= science/hs-bio
bits-atomic_port= devel/hs-bits-atomic
Expand Down
8 changes: 4 additions & 4 deletions lang/hs-idris/Makefile
Expand Up @@ -16,10 +16,10 @@ BUILD_DEPENDS+= boehm-gc>=7.1:${PORTSDIR}/devel/boehm-gc \
RUN_DEPENDS+= boehm-gc>=7.1:${PORTSDIR}/devel/boehm-gc \
gmp>=5.0.2:${PORTSDIR}/math/gmp

USE_CABAL= ansi-terminal ansi-wl-pprint haskeline>=0.7 language-java>=0.2.6 \
mtl network parsers>=0.9 split text transformers \
trifecta>=1.1 unordered-containers utf8-string vector \
vector-binary-instances xml
USE_CABAL= ansi-terminal ansi-wl-pprint binary haskeline>=0.7 \
language-java>=0.2.6 mtl network parsers>=0.9 split text \
transformers trifecta>=1.1 unordered-containers utf8-string \
vector vector-binary-instances xml

FLAGS_DEFINE= LLVM_BACKEND FFI GMP
FLAGS_DEFAULT= LLVM_BACKEND FFI GMP
Expand Down
2 changes: 1 addition & 1 deletion math/hs-Agda/Makefile
Expand Up @@ -8,7 +8,7 @@ CATEGORIES= math haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= Dependently typed functional programming language and proof assistant

USE_CABAL= geniplate>=0.6.0.3 hashable hashtables>=1.0 \
USE_CABAL= binary>=0.4.4 geniplate>=0.6.0.3 hashable hashtables>=1.0 \
haskeline>=0.6.3.2 haskell-src-exts>=1.9.6 mtl \
QuickCheck>=2.3 parallel text unordered-containers \
xhtml zlib>=0.4.0.1
Expand Down
11 changes: 11 additions & 0 deletions math/hs-Agda/files/patch-Agda.cabal
@@ -0,0 +1,11 @@
--- ./Agda.cabal.orig 2013-09-27 22:07:07.000000000 +0200
+++ ./Agda.cabal 2014-01-11 23:23:16.000000000 +0100
@@ -77,7 +77,7 @@
pretty >= 1.0 && < 1.2,
bytestring >= 0.9.0.1 && < 0.11,
array >= 0.1 && < 0.5,
- binary >= 0.4.4 && < 0.6,
+ binary >= 0.4.4 && < 0.8,
zlib >= 0.4.0.1 && < 0.6,
filepath >= 1.1 && < 1.4,
process >= 1.0.1.0 && < 1.2,
2 changes: 1 addition & 1 deletion net/hs-maccatcher/Makefile
Expand Up @@ -10,7 +10,7 @@ COMMENT= Obtain the host MAC address on *NIX and Windows

LICENSE= BSD

USE_CABAL= parsec
USE_CABAL= binary parsec

.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
3 changes: 2 additions & 1 deletion science/hs-bio/Makefile
Expand Up @@ -10,7 +10,8 @@ COMMENT= Bioinformatics library

LICENSE= LGPL21

USE_CABAL= mtl parallel parsec QuickCheck>=2 random tagsoup>=0.8
USE_CABAL= binary>=0.4 mtl parallel parsec QuickCheck>=2 random \
tagsoup>=0.8

EXECUTABLE= fastout flowclip flx frecover frename orf rselect-pe

Expand Down
4 changes: 2 additions & 2 deletions security/hs-RSA/Makefile
Expand Up @@ -9,8 +9,8 @@ COMMENT= Implementation of RSA, using the padding schemes of PKCS#1 v2.1

LICENSE= BSD

USE_CABAL= crypto-api>=0.10 crypto-pubkey-types>=0.2 monadcryptorandom>0 \
pureMD5>0 SHA>0
USE_CABAL= binary>0.0 crypto-api>=0.10 crypto-pubkey-types>=0.2 \
monadcryptorandom>0 pureMD5>0 SHA>0

.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions security/hs-SHA/Makefile
Expand Up @@ -10,6 +10,8 @@ COMMENT= Implementations of the SHA suite of message digest functions

LICENSE= BSD

USE_CABAL= binary

FLAGS_DEFINE= EXE

EXE_DESC= Build a SHA2-384 executable similar to 'md5sum'
Expand Down
2 changes: 1 addition & 1 deletion security/hs-pureMD5/Makefile
Expand Up @@ -10,7 +10,7 @@ COMMENT= Haskell-only implementation of MD5 digest (hash) yalgorithm

LICENSE= BSD

USE_CABAL= cereal>=0.2 crypto-api tagged
USE_CABAL= binary>=0.4.0 cereal>=0.2 crypto-api tagged

.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
3 changes: 2 additions & 1 deletion security/hs-pwstore-fast/Makefile
Expand Up @@ -9,7 +9,8 @@ COMMENT= Secure password storage

LICENSE= BSD

USE_CABAL= base64-bytestring>=0.1 cryptohash>=0.6 random>=1 SHA>=1.6.1
USE_CABAL= base64-bytestring>=0.1 binary>=0.5 cryptohash>=0.6 random>=1 \
SHA>=1.6.1

.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
5 changes: 3 additions & 2 deletions textproc/hs-hxt/Makefile
Expand Up @@ -9,8 +9,9 @@ COMMENT= Collection of tools for processing XML with Haskell

LICENSE= MIT

USE_CABAL= HUnit>=1.2 hxt-charproperties>=9.1 hxt-regex-xmlschema>=9 \
hxt-unicode>=9.0.1 mtl>=2 network>=2.4 parsec>=2.1
USE_CABAL= binary>=0.5 HUnit>=1.2 hxt-charproperties>=9.1 \
hxt-regex-xmlschema>=9 hxt-unicode>=9.0.1 mtl>=2 network>=2.4 \
parsec>=2.1

.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>

0 comments on commit f2ab3c0

Please sign in to comment.