On Sun, Mar 21, 2010 at 04:52:58PM +0000, Edd Barrett wrote:
> On Sun, Mar 21, 2010 at 04:41:54PM +0100, Tobias Ulmer wrote:
> > Hi there,
> > 
> > the ncmpc update (which will follow in a sec) requires libmpdclient now.
> > Pretty painless port...
> > 
> > Yes I know, no new ports yet :)
> 
> Looks good, but shouldn't SHARED_LIBS start from 0.0 and have a comment for 
> the
> upstream lib version. For example in devel/libdvdread:
> 
> SHARED_LIBS +=  dvdread              4.3      # .5.1

I'm not sure about the 0.0 thing. Reading the shared library porting
documentation, I think it should also include USE_LIBTOOL=Yes.

Update with those two things fixed is attached

Thanks for testing :)


> 
> Thanks
> 
> -- 
> Best Regards
> Edd Barrett
> 
> http://www.theunixzoo.co.uk
>From caa312d78af8b6d01ddaa6fdd1c3375136b82890 Mon Sep 17 00:00:00 2001
From: Tobias Ulmer <tobi...@tmux.org>
Date: Fri, 19 Mar 2010 03:32:38 +0100
Subject: [PATCH 1/2] new: audio/libmpdclient 2.1

---
 audio/libmpdclient/Makefile         |   24 ++++++++++++++++++++
 audio/libmpdclient/distinfo         |    5 ++++
 audio/libmpdclient/pkg/DESCR        |    2 +
 audio/libmpdclient/pkg/PFRAG.shared |    2 +
 audio/libmpdclient/pkg/PLIST        |   42 +++++++++++++++++++++++++++++++++++
 5 files changed, 75 insertions(+), 0 deletions(-)
 create mode 100644 audio/libmpdclient/Makefile
 create mode 100644 audio/libmpdclient/distinfo
 create mode 100644 audio/libmpdclient/pkg/DESCR
 create mode 100644 audio/libmpdclient/pkg/PFRAG.shared
 create mode 100644 audio/libmpdclient/pkg/PLIST

diff --git a/audio/libmpdclient/Makefile b/audio/libmpdclient/Makefile
new file mode 100644
index 0000000..ffb0240
--- /dev/null
+++ b/audio/libmpdclient/Makefile
@@ -0,0 +1,24 @@
+# $OpenBSD$
+
+COMMENT=               library for interfacing MPD
+
+DISTNAME=              libmpdclient-2.1
+SHARED_LIBS=           mpdclient 0.0   # 2.0
+CATEGORIES=            audio
+HOMEPAGE=              http://mpd.wikia.com/wiki/ClientLib:libmpdclient
+
+MAINTAINER=            Tobias Ulmer <tobi...@tmux.org>
+
+# 3-BSD
+PERMIT_PACKAGE_CDROM=  Yes
+PERMIT_PACKAGE_FTP=    Yes
+PERMIT_DISTFILES_CDROM=        Yes
+PERMIT_DISTFILES_FTP=  Yes
+
+MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=musicpd/}
+
+USE_LIBTOOL=           Yes
+
+CONFIGURE_STYLE=       gnu
+
+.include <bsd.port.mk>
diff --git a/audio/libmpdclient/distinfo b/audio/libmpdclient/distinfo
new file mode 100644
index 0000000..15ddefe
--- /dev/null
+++ b/audio/libmpdclient/distinfo
@@ -0,0 +1,5 @@
+MD5 (libmpdclient-2.1.tar.gz) = 4WDbRCkxOtd6V8MCi/dnLA==
+RMD160 (libmpdclient-2.1.tar.gz) = Vrmpk19xEgMcEiU1pOU612z4TQ0=
+SHA1 (libmpdclient-2.1.tar.gz) = 86rdkRMraOFzj25uwwrkwGlAAxk=
+SHA256 (libmpdclient-2.1.tar.gz) = GNe+ecOeCcPgMO90Ua8iF3gUMMySZdqLi67WGy8LagM=
+SIZE (libmpdclient-2.1.tar.gz) = 331508
diff --git a/audio/libmpdclient/pkg/DESCR b/audio/libmpdclient/pkg/DESCR
new file mode 100644
index 0000000..200c24a
--- /dev/null
+++ b/audio/libmpdclient/pkg/DESCR
@@ -0,0 +1,2 @@
+stable, documented, asynchronous API library for interfacing MPD
+in the C, C++ & Objective C languages.
diff --git a/audio/libmpdclient/pkg/PFRAG.shared 
b/audio/libmpdclient/pkg/PFRAG.shared
new file mode 100644
index 0000000..c35c19e
--- /dev/null
+++ b/audio/libmpdclient/pkg/PFRAG.shared
@@ -0,0 +1,2 @@
+...@comment $OpenBSD$
+...@lib lib/libmpdclient.so.${LIBmpdclient_VERSION}
diff --git a/audio/libmpdclient/pkg/PLIST b/audio/libmpdclient/pkg/PLIST
new file mode 100644
index 0000000..4d42a44
--- /dev/null
+++ b/audio/libmpdclient/pkg/PLIST
@@ -0,0 +1,42 @@
+...@comment $OpenBSD$
+%%SHARED%%
+include/mpd/
+include/mpd/async.h
+include/mpd/audio_format.h
+include/mpd/capabilities.h
+include/mpd/client.h
+include/mpd/compiler.h
+include/mpd/connection.h
+include/mpd/database.h
+include/mpd/directory.h
+include/mpd/entity.h
+include/mpd/error.h
+include/mpd/idle.h
+include/mpd/list.h
+include/mpd/mixer.h
+include/mpd/output.h
+include/mpd/pair.h
+include/mpd/parser.h
+include/mpd/password.h
+include/mpd/player.h
+include/mpd/playlist.h
+include/mpd/protocol.h
+include/mpd/queue.h
+include/mpd/recv.h
+include/mpd/response.h
+include/mpd/search.h
+include/mpd/send.h
+include/mpd/song.h
+include/mpd/stats.h
+include/mpd/status.h
+include/mpd/sticker.h
+include/mpd/tag.h
+include/mpd/version.h
+lib/libmpdclient.a
+lib/libmpdclient.la
+lib/pkgconfig/
+lib/pkgconfig/libmpdclient.pc
+share/doc/libmpdclient/
+share/doc/libmpdclient/COPYING
+share/doc/libmpdclient/NEWS
+share/doc/libmpdclient/README
-- 
1.6.5.7

Reply via email to