aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2007-08-02 19:56:25 +0800
committeritetcu <itetcu@FreeBSD.org>2007-08-02 19:56:25 +0800
commit1673df0c14bc431df6ff088399671e97ca62cc23 (patch)
tree5056c2ca99bf2b20dee1f266310b36900edef40d /audio
parentb636aea7fdc487ef64ab6948e3c0623ba38f1a9c (diff)
downloadfreebsd-ports-gnome-1673df0c14bc431df6ff088399671e97ca62cc23.tar.gz
freebsd-ports-gnome-1673df0c14bc431df6ff088399671e97ca62cc23.tar.zst
freebsd-ports-gnome-1673df0c14bc431df6ff088399671e97ca62cc23.zip
xmms-curses is a simple application for controlling XMMS from the command line.
It is designed to make common, simple tasks fast and easy to do. It is operated using arrow keys and standard XMMS keys, to make it easy and intuitive to learn. WWW: http://xmms-curses.sourceforge.net/ And yes, I know that "xmms's dead, baby, xmms is dead..."
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/xmms-curses/Makefile32
-rw-r--r--audio/xmms-curses/distinfo3
-rw-r--r--audio/xmms-curses/pkg-descr6
-rw-r--r--audio/xmms-curses/pkg-plist4
5 files changed, 46 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 8ae8a6d0d856..59e801762f93 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -667,6 +667,7 @@
SUBDIR += xmms-cdread
SUBDIR += xmms-crossfade
SUBDIR += xmms-crystality
+ SUBDIR += xmms-curses
SUBDIR += xmms-defx
SUBDIR += xmms-efxmms
SUBDIR += xmms-eq
diff --git a/audio/xmms-curses/Makefile b/audio/xmms-curses/Makefile
new file mode 100644
index 000000000000..d3590d8d9daf
--- /dev/null
+++ b/audio/xmms-curses/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: xmms-curses
+# Date created: 2007-07-20
+# Whom: Ion-Mihai "IOnut" Tetcu <itetcu@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xmms-curses
+PORTVERSION= 0.2.2
+CATEGORIES= audio
+MASTER_SITES= SF
+
+MAINTAINER= itetcu@FreeBSD.org
+COMMENT= A ncurses program for (remote) controlling multimedia/xmms
+
+BUILD_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
+RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
+
+MAN1= ${PORTNAME}.1
+
+do-build:
+ cd ${WRKSRC} && ${CC} ${CFLAGS} ${PTHREAD_CFLAGS} ${PTHREAD_LIBS} -lncurses `xmms-config --cflags --libs` -o xmms-curses *.c
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/xmms-curses ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf.sample
+.if !exists(${PREFIX}/etc/${PORTNAME}.conf)
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc
+.endif
+
+.include <bsd.port.mk>
diff --git a/audio/xmms-curses/distinfo b/audio/xmms-curses/distinfo
new file mode 100644
index 000000000000..3e876916bd86
--- /dev/null
+++ b/audio/xmms-curses/distinfo
@@ -0,0 +1,3 @@
+MD5 (xmms-curses-0.2.2.tar.gz) = 6c6d1443c046198444459876f61d2c94
+SHA256 (xmms-curses-0.2.2.tar.gz) = d05903163819e8b59105b8c4e8d60e0f88af3d72309c6e45d2bfda7641bcddce
+SIZE (xmms-curses-0.2.2.tar.gz) = 18311
diff --git a/audio/xmms-curses/pkg-descr b/audio/xmms-curses/pkg-descr
new file mode 100644
index 000000000000..bcf3506bbb2a
--- /dev/null
+++ b/audio/xmms-curses/pkg-descr
@@ -0,0 +1,6 @@
+xmms-curses is a simple application for controlling XMMS from the command line.
+
+It is designed to make common, simple tasks fast and easy to do. It is operated
+using arrow keys and standard XMMS keys, to make it easy and intuitive to learn.
+
+WWW: http://xmms-curses.sourceforge.net/
diff --git a/audio/xmms-curses/pkg-plist b/audio/xmms-curses/pkg-plist
new file mode 100644
index 000000000000..661d0bd9ffd7
--- /dev/null
+++ b/audio/xmms-curses/pkg-plist
@@ -0,0 +1,4 @@
+bin/xmms-curses
+@unexec if cmp -s %D/etc/xmms-curses.conf.sample %D/etc/xmms-curses.conf; then rm -f %D/etc/xmms-curses.conf; fi
+etc/xmms-curses.conf.sample
+@exec if [ ! %D/etc/xmms-curses.conf ] ; then cp -p %D/%F %D/etc/xmms-curses.conf; fi