Import pms-0.40.6 :

Practical Music Search is a ncurses-based client for MPD. It has a
command line interface much like Vim, and supports custom colors,
layouts, and key bindings.  PMS aims to be accessible and highly
configurable.

with some tweaks by and ok jasper@
This commit is contained in:
landry 2009-05-31 02:51:02 +00:00
parent b6fc7d561a
commit c013a8fd69
5 changed files with 54 additions and 0 deletions

28
audio/pms/Makefile Normal file
View File

@ -0,0 +1,28 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/05/31 02:51:02 landry Exp $
COMMENT= curses based frontend for mpd
DISTNAME= pms-0.40.6
EXTRACT_SUFX = .tar.bz2
CATEGORIES= audio
HOMEPAGE= http://pms.sourceforge.net/
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m ncurses stdc++
LIB_DEPENDS= glib-2.0::devel/glib2
MODULES= textproc/intltool devel/gettext
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pms/}
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>

5
audio/pms/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (pms-0.40.6.tar.bz2) = ez5Ss1jZgWxvbVq4eyasYg==
RMD160 (pms-0.40.6.tar.bz2) = GPoA07s5jZdfcVL/DvZkFDFjTbs=
SHA1 (pms-0.40.6.tar.bz2) = z9+BoYNTf3YhA1E1iY1c/x0qTG8=
SHA256 (pms-0.40.6.tar.bz2) = ERhtRmJe14ggyJvM2ob58GZDG0/+7qptXnM01xZebZU=
SIZE (pms-0.40.6.tar.bz2) = 170418

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-src_config_cpp,v 1.1.1.1 2009/05/31 02:51:02 landry Exp $
don't bail out when the default configuration file is not found,
defaults just works fine.
--- src/config.cpp.orig Sat May 30 18:30:57 2009
+++ src/config.cpp Sat May 30 18:54:58 2009
@@ -387,6 +387,8 @@ bool Configurator::source(string fn, Error & err)
if (fd == NULL)
{
+ if (fn.substr(fn.length() - 7,7) == ".pms/rc")
+ return true;
err.code = CERR_NO_FILE;
err.str = "Could not open file.";
return false;

4
audio/pms/pkg/DESCR Normal file
View File

@ -0,0 +1,4 @@
Practical Music Search is a ncurses-based client for MPD. It has a
command line interface much like Vim, and supports custom colors,
layouts, and key bindings. PMS aims to be accessible and highly
configurable.

3
audio/pms/pkg/PLIST Normal file
View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/05/31 02:51:02 landry Exp $
@bin bin/pms
@man man/man1/pms.1