aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshish SHUKLA <ashish@FreeBSD.org>2011-07-03 22:00:49 +0000
committerAshish SHUKLA <ashish@FreeBSD.org>2011-07-03 22:00:49 +0000
commit8c36f7a8aabe377c62b5b94af43b265b528f361b (patch)
tree13e17b8f545b841fd3f91db039c8309cd2b1febb
parent84ee8cbb1687d3a88bc8f0da2ec06f6b7c5bd92d (diff)
downloadports-8c36f7a8aabe377c62b5b94af43b265b528f361b.tar.gz
ports-8c36f7a8aabe377c62b5b94af43b265b528f361b.zip
Notes
-rw-r--r--databases/Makefile1
-rw-r--r--databases/hs-mysql/Makefile20
-rw-r--r--databases/hs-mysql/distinfo2
-rw-r--r--databases/hs-mysql/pkg-descr5
-rw-r--r--lang/ghc/bsd.hackage.mk1
5 files changed, 29 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 1131d4987eeb..06cc1432bf10 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -111,6 +111,7 @@
SUBDIR += hamsterdb
SUBDIR += hiredis
SUBDIR += hk_classes
+ SUBDIR += hs-mysql
SUBDIR += hsqldb
SUBDIR += hypertable
SUBDIR += innobackup
diff --git a/databases/hs-mysql/Makefile b/databases/hs-mysql/Makefile
new file mode 100644
index 000000000000..fb6764da5bdd
--- /dev/null
+++ b/databases/hs-mysql/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: hs-mysql
+# Date created: 2011-05-23
+# Whom: jyyou@cs.nctu.edu.tw
+#
+# $FreeBSD$
+#
+
+PORTNAME= mysql
+PORTVERSION= 0.1.1.1
+CATEGORIES= databases haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= A low-level client library for the MySQL database
+
+LICENSE= BSD
+
+USE_MYSQL= yes
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/databases/hs-mysql/distinfo b/databases/hs-mysql/distinfo
new file mode 100644
index 000000000000..4d2d9a4a929e
--- /dev/null
+++ b/databases/hs-mysql/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cabal/mysql-0.1.1.1.tar.gz) = bd8958f87bf3951ce9bf367cdbbd3a6d587b766ec206bb4ede40852f6156ea1f
+SIZE (cabal/mysql-0.1.1.1.tar.gz) = 13562
diff --git a/databases/hs-mysql/pkg-descr b/databases/hs-mysql/pkg-descr
new file mode 100644
index 000000000000..4fe794280aec
--- /dev/null
+++ b/databases/hs-mysql/pkg-descr
@@ -0,0 +1,5 @@
+This library is a Haskell binding to the MySQL mysqlclient client library.
+It is a fairly faithful, low level library that implements
+most of the MySQL client API.
+
+WWW: https://github.com/mailrank/mysql
diff --git a/lang/ghc/bsd.hackage.mk b/lang/ghc/bsd.hackage.mk
index d415bfba4168..ece4bcf36a62 100644
--- a/lang/ghc/bsd.hackage.mk
+++ b/lang/ghc/bsd.hackage.mk
@@ -102,6 +102,7 @@ MonadCatchIO-mtl_port= devel/hs-MonadCatchIO-mtl
mtl_port= devel/hs-mtl
mueval_port= devel/hs-mueval # executable
mwc-random_port= math/hs-mwc-random
+mysql_port= databases/hs-mysql
network_port= net/hs-network
ObjectName_port= devel/hs-ObjectName
oeis_port= www/hs-oeis