From 3dd495706e46ef9d34c9330beec51b81fb8b0ed7 Mon Sep 17 00:00:00 2001 From: Gabor Pali Date: Sat, 18 Feb 2012 17:24:14 +0000 Subject: [PATCH] This library provides just the general interface and helper functions. You must use a specific backend in order to make this useful. WWW: http://www.yesodweb.com/book/persistent Obtained from: FreeBSD Haskell --- databases/Makefile | 1 + databases/hs-persistent/Makefile | 22 ++++++++++++++++++++++ databases/hs-persistent/distinfo | 2 ++ databases/hs-persistent/pkg-descr | 4 ++++ lang/ghc/bsd.hackage.mk | 1 + 5 files changed, 30 insertions(+) create mode 100644 databases/hs-persistent/Makefile create mode 100644 databases/hs-persistent/distinfo create mode 100644 databases/hs-persistent/pkg-descr diff --git a/databases/Makefile b/databases/Makefile index 90661e85f602..1deaabdf94fd 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -104,6 +104,7 @@ SUBDIR += hiredis SUBDIR += hk_classes SUBDIR += hs-mysql + SUBDIR += hs-persistent SUBDIR += hsqldb SUBDIR += hypertable SUBDIR += innobackup diff --git a/databases/hs-persistent/Makefile b/databases/hs-persistent/Makefile new file mode 100644 index 000000000000..1c810a73bc8f --- /dev/null +++ b/databases/hs-persistent/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: hs-persistent +# Date created: December 26, 2011 +# Whom: haskell@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= persistent +PORTVERSION= 0.6.4.4 +CATEGORIES= databases haskell + +MAINTAINER= haskell@FreeBSD.org +COMMENT= Type-safe, non-relational, multi-backend persistence + +LICENSE= BSD + +USE_CABAL= blaze-html>=0.4 data-object>=0.3.1.7 enumerator>=0.4.9 \ + monad-control>=0.2 mtl>=2.0 path-pieces pool>=0.1 \ + text>=0.8 transformers>=0.2.1 transformers-base + +.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk" +.include diff --git a/databases/hs-persistent/distinfo b/databases/hs-persistent/distinfo new file mode 100644 index 000000000000..6b187add5fbe --- /dev/null +++ b/databases/hs-persistent/distinfo @@ -0,0 +1,2 @@ +SHA256 (cabal/persistent-0.6.4.4.tar.gz) = fb3de60b2ba4209dbbdc2feca776dbae89f9dcf17102f634bfe3568b32a09f58 +SIZE (cabal/persistent-0.6.4.4.tar.gz) = 17577 diff --git a/databases/hs-persistent/pkg-descr b/databases/hs-persistent/pkg-descr new file mode 100644 index 000000000000..fe71a91f78e6 --- /dev/null +++ b/databases/hs-persistent/pkg-descr @@ -0,0 +1,4 @@ +This library provides just the general interface and helper functions. +You must use a specific backend in order to make this useful. + +WWW: http://www.yesodweb.com/book/persistent diff --git a/lang/ghc/bsd.hackage.mk b/lang/ghc/bsd.hackage.mk index b3d7fa5052ad..dc7f3675c8b4 100644 --- a/lang/ghc/bsd.hackage.mk +++ b/lang/ghc/bsd.hackage.mk @@ -191,6 +191,7 @@ parsec_port= textproc/hs-parsec path-pieces_port= www/hs-path-pieces pcap_port= net/hs-pcap pcre-light_port= devel/hs-pcre-light # lib_depends +persistent_port= databases/hs-persistent polyparse_port= textproc/hs-polyparse pointed_port= math/hs-pointed pool_port= devel/hs-pool