diff options
author | pgj <pgj@FreeBSD.org> | 2010-05-17 02:05:28 +0800 |
---|---|---|
committer | pgj <pgj@FreeBSD.org> | 2010-05-17 02:05:28 +0800 |
commit | 94b374141ac458909c02a296cdf7da9a56f34bb9 (patch) | |
tree | 0907fa772f221ea50340d1eee02ec4e02a8399e9 | |
parent | 6d07a9a504a8df09ab5fab4e74719838f12c5a75 (diff) | |
download | freebsd-ports-gnome-94b374141ac458909c02a296cdf7da9a56f34bb9.tar.gz freebsd-ports-gnome-94b374141ac458909c02a296cdf7da9a56f34bb9.tar.zst freebsd-ports-gnome-94b374141ac458909c02a296cdf7da9a56f34bb9.zip |
A Haskell client library for MPD, the Music Player Daemon.
WWW: http://github.com/joachifm/libmpd-haskell
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/hs-libmpd/Makefile | 38 | ||||
-rw-r--r-- | audio/hs-libmpd/distinfo | 3 | ||||
-rw-r--r-- | audio/hs-libmpd/pkg-descr | 3 | ||||
-rw-r--r-- | audio/hs-libmpd/pkg-plist | 27 | ||||
-rw-r--r-- | lang/ghc/bsd.hackage.mk | 1 |
6 files changed, 73 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile index 1cbecf538cbb..1a4b3b441cca 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -296,6 +296,7 @@ SUBDIR += holyshout SUBDIR += hs-ALUT SUBDIR += hs-OpenAL + SUBDIR += hs-libmpd SUBDIR += hydrogen SUBDIR += icecast SUBDIR += icecast2 diff --git a/audio/hs-libmpd/Makefile b/audio/hs-libmpd/Makefile new file mode 100644 index 000000000000..81aa3666cf0c --- /dev/null +++ b/audio/hs-libmpd/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: hs-libmpd +# Date created: May 16, 2010 +# Whom: Gabor Pali <pgj@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= libmpd +PORTVERSION= 0.4.1 +CATEGORIES= audio haskell + +MAINTAINER= haskell@FreeBSD.org +COMMENT= An MPD client library + +USE_HACKAGE= utf8-string>=0.3.1 QuickCheck>=2.1.0.0 + +OPTIONS= TEST "Build test driver" off \ + COVERAGE "Build with hpc instrumentation" off + +.include <bsd.port.options.mk> + +.if defined(WITH_TEST) +CONFIGURE_ARGS+= --flags="test" +EXECUTABLE= test +PLIST_SUB+= MAYBE_TEST="" +.else +CONFIGURE_ARGS+= --flags="-test" +PLIST_SUB+= MAYBE_TEST="@comment " +.endif + +.if defined(WITH_COVERAGE) +CONFIGURE_ARGS+= --flags="coverage" +.else +CONFIGURE_ARGS+= --flags="-coverage" +.endif + +.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk" +.include <bsd.port.mk> diff --git a/audio/hs-libmpd/distinfo b/audio/hs-libmpd/distinfo new file mode 100644 index 000000000000..675f9b237a99 --- /dev/null +++ b/audio/hs-libmpd/distinfo @@ -0,0 +1,3 @@ +MD5 (libmpd-0.4.1.tar.gz) = 8cd0ca17ff8833213021b21a45f310f8 +SHA256 (libmpd-0.4.1.tar.gz) = 0bda72383ba85e3f81683253219b41e75843748d6f0ab54fb6fc57285f9e6a57 +SIZE (libmpd-0.4.1.tar.gz) = 35377 diff --git a/audio/hs-libmpd/pkg-descr b/audio/hs-libmpd/pkg-descr new file mode 100644 index 000000000000..3433bd44b567 --- /dev/null +++ b/audio/hs-libmpd/pkg-descr @@ -0,0 +1,3 @@ +A client library for MPD, the Music Player Daemon. + +WWW: http://github.com/joachifm/libmpd-haskell diff --git a/audio/hs-libmpd/pkg-plist b/audio/hs-libmpd/pkg-plist new file mode 100644 index 000000000000..90a3731ba718 --- /dev/null +++ b/audio/hs-libmpd/pkg-plist @@ -0,0 +1,27 @@ +@comment $FreeBSD$ +%%MAYBE_TEST%%bin/test +%%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 diff --git a/lang/ghc/bsd.hackage.mk b/lang/ghc/bsd.hackage.mk index 1e8eaaa33c42..5d5eea34aa89 100644 --- a/lang/ghc/bsd.hackage.mk +++ b/lang/ghc/bsd.hackage.mk @@ -65,6 +65,7 @@ hxt_port= textproc/hs-hxt json_port= converters/hs-json language-c_port= devel/hs-language-c-ghc lazysmallcheck_port= devel/hs-lazysmallcheck-ghc +libmpd_port= audio/hs-libmpd MemoTrie_port= devel/hs-MemoTrie mime_port= mail/hs-mime MissingH_port= devel/hs-MissingH |