aboutsummaryrefslogtreecommitdiffstats
path: root/audio/hs-libmpd
diff options
context:
space:
mode:
authorashish <ashish@FreeBSD.org>2011-05-09 13:28:57 +0800
committerashish <ashish@FreeBSD.org>2011-05-09 13:28:57 +0800
commitc7a47a981222b062ac48e4edc5cae32fbed2b9c7 (patch)
treea1af1f5739f0a44d179f6f44b2ea70e07401da25 /audio/hs-libmpd
parent63b87600f00dd6e3a998a1862f7c209aa5e62523 (diff)
downloadfreebsd-ports-gnome-c7a47a981222b062ac48e4edc5cae32fbed2b9c7.tar.gz
freebsd-ports-gnome-c7a47a981222b062ac48e4edc5cae32fbed2b9c7.tar.zst
freebsd-ports-gnome-c7a47a981222b062ac48e4edc5cae32fbed2b9c7.zip
- Please welcome GHC 7.0.3
GHC in the ports tree has been updated to 7.0.3 and all other Haskell ports are also updated to their corresponding Haskell Platform versions, or latest versions. We would like to acknowledge the support of the FreeBSD Donations Team and Eotvos Lorand University, Faculty of Informatics who contributed to the server that we used for testing. We would also like to thank all the testers who tested FreeBSD Haskell ports and provided their feedback. PR: ports/156642 Approved by: tabthorpe (mentor) Obtained from: FreeBSD Haskell
Diffstat (limited to 'audio/hs-libmpd')
-rw-r--r--audio/hs-libmpd/Makefile6
-rw-r--r--audio/hs-libmpd/distinfo4
-rw-r--r--audio/hs-libmpd/files/patch-libmpd.cabal18
-rw-r--r--audio/hs-libmpd/pkg-plist26
4 files changed, 24 insertions, 30 deletions
diff --git a/audio/hs-libmpd/Makefile b/audio/hs-libmpd/Makefile
index cfe97a520ce8..b19f2d05f27d 100644
--- a/audio/hs-libmpd/Makefile
+++ b/audio/hs-libmpd/Makefile
@@ -6,13 +6,15 @@
#
PORTNAME= libmpd
-PORTVERSION= 0.4.1
+PORTVERSION= 0.5.0
CATEGORIES= audio haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= An MPD client library
-USE_HACKAGE= utf8-string>=0.3.1 QuickCheck>=2.1.0.0
+LICENSE= LGPL21
+
+USE_CABAL= mtl>=1.1 network>=2.1 utf8-string>=0.3.1
CONFIGURE_ARGS+= --flags="-test -coverage"
diff --git a/audio/hs-libmpd/distinfo b/audio/hs-libmpd/distinfo
index 23d3f0d65fa6..516b91279b88 100644
--- a/audio/hs-libmpd/distinfo
+++ b/audio/hs-libmpd/distinfo
@@ -1,2 +1,2 @@
-SHA256 (cabal/libmpd-0.4.1.tar.gz) = 0bda72383ba85e3f81683253219b41e75843748d6f0ab54fb6fc57285f9e6a57
-SIZE (cabal/libmpd-0.4.1.tar.gz) = 35377
+SHA256 (cabal/libmpd-0.5.0.tar.gz) = 528d4a3420f3fa00360a5955def57019a3da84bc0ad8214b50b9bb0fcbbde205
+SIZE (cabal/libmpd-0.5.0.tar.gz) = 37305
diff --git a/audio/hs-libmpd/files/patch-libmpd.cabal b/audio/hs-libmpd/files/patch-libmpd.cabal
new file mode 100644
index 000000000000..25bd19418fd7
--- /dev/null
+++ b/audio/hs-libmpd/files/patch-libmpd.cabal
@@ -0,0 +1,18 @@
+--- ./libmpd.cabal.orig 2010-09-08 15:47:02.000000000 +0200
++++ ./libmpd.cabal 2011-03-13 04:15:05.157038443 +0100
+@@ -41,11 +41,11 @@
+ else
+ Build-Depends: base >= 4 && < 5
+
+- Build-Depends: network >= 2.1 && < 2.3,
+- mtl >= 1.1 && < 1.2, filepath >= 1.0 && < 1.2,
++ Build-Depends: network >= 2.1,
++ mtl >= 1.1, filepath >= 1.0,
+ utf8-string >= 0.3.1 && < 0.4,
+- containers >= 0.3 && < 0.4,
+- time >= 1.1 && < 1.2,
++ containers >= 0.3,
++ time >= 1.1,
+ old-locale >= 1.0 && < 1.1
+ Exposed-Modules: Network.MPD, Network.MPD.Commands.Extensions,
+ Network.MPD.Core
diff --git a/audio/hs-libmpd/pkg-plist b/audio/hs-libmpd/pkg-plist
deleted file mode 100644
index 6a549f5e74b8..000000000000
--- a/audio/hs-libmpd/pkg-plist
+++ /dev/null
@@ -1,26 +0,0 @@
-@comment $FreeBSD$
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/MPD.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/MPD/Commands.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/MPD/Commands/Arg.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/MPD/Commands/Parse.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/MPD/Commands/Query.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/MPD/Commands/Types.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/MPD/Core.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/MPD/Core/Class.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/MPD/Core/Error.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/MPD/Utils.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HS%%PORTNAME%%-%%PORTVERSION%%.o
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHS%%PORTNAME%%-%%PORTVERSION%%.a
-%%LIBDIR_REL%%/register.sh
-%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE
-%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%%
-@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/MPD/Core
-@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/MPD/Commands
-@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/MPD
-@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network
-@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%
-@dirrm %%LIBDIR_REL%%
-@exec /bin/sh %D/%%LIBDIR_REL%%/register.sh
-@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
-@unexec %D/bin/ghc-pkg unregister %%PORTNAME%%-%%PORTVERSION%%
-@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old