summaryrefslogtreecommitdiffstats
path: root/net/xbms
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-01-17 00:30:39 +0000
committeredwin <edwin@FreeBSD.org>2003-01-17 00:30:39 +0000
commite4bd53fa57a051bfd2c2e0bf9a196b0442007f46 (patch)
tree8e86726083631ecc162578ae7726578fba29d594 /net/xbms
parent41d434d09a37305f8ae51df6ef4e2aca50846f24 (diff)
downloadFreeBSD-ports-e4bd53fa57a051bfd2c2e0bf9a196b0442007f46.zip
FreeBSD-ports-e4bd53fa57a051bfd2c2e0bf9a196b0442007f46.tar.gz
New Port: net/xbms:
Xbms, the unix streaming server for xbox mediaplayer. With xbms, it is possible to 'share' movies, pictures and audio on your unix box, so they are accessible from your xbox. PR: ports/46384 Submitted by: Jose Rey <king@v2project.com>
Diffstat (limited to 'net/xbms')
-rw-r--r--net/xbms/Makefile25
-rw-r--r--net/xbms/distinfo1
-rw-r--r--net/xbms/files/patch-Makefile9
-rw-r--r--net/xbms/files/patch-server11
-rw-r--r--net/xbms/pkg-comment1
-rw-r--r--net/xbms/pkg-descr5
-rw-r--r--net/xbms/pkg-plist2
7 files changed, 54 insertions, 0 deletions
diff --git a/net/xbms/Makefile b/net/xbms/Makefile
new file mode 100644
index 0000000..8376513
--- /dev/null
+++ b/net/xbms/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: xbms
+# Date created: Thu Dec 19 23:38:50 CET 2002
+# Whom: king@v2project.com
+#
+# $FreeBSD$
+#
+
+PORTNAME= xbms
+PORTVERSION= 0.30.5
+CATEGORIES= net
+MASTER_SITES= http://wipux2.wifo.uni-mannheim.de/~ck/
+DISTNAME= ${PORTNAME}_${PORTVERSION}
+
+MAINTAINER= king@v2project.com
+
+ONLY_FOR_ARCHS= i386 alpha
+USE_REINPLACE= yes
+
+post-patch:
+ ${REINPLACE_CMD} -e 's|@@PREFIX@@|${PREFIX}|g' ${WRKSRC}/server.c
+
+post-install:
+ ${CP} ${WRKSRC}/xbms.conf ${PREFIX}/etc/xbms.conf.sample
+
+.include <bsd.port.mk>
diff --git a/net/xbms/distinfo b/net/xbms/distinfo
new file mode 100644
index 0000000..3fc3698
--- /dev/null
+++ b/net/xbms/distinfo
@@ -0,0 +1 @@
+MD5 (xbms_0.30.5.tar.gz) = fb2ce48dd0c84d80b196169720b33c03
diff --git a/net/xbms/files/patch-Makefile b/net/xbms/files/patch-Makefile
new file mode 100644
index 0000000..2049254
--- /dev/null
+++ b/net/xbms/files/patch-Makefile
@@ -0,0 +1,9 @@
+--- Makefile.orig Thu Jan 16 16:27:25 2003
++++ Makefile Thu Jan 16 16:27:36 2003
+@@ -1,5 +1,5 @@
+ CC = gcc -Wall
+-BINDIR = /usr/local/bin
++BINDIR = ${PREFIX}/bin
+ all: server
+ server:
+ $(CC) -O3 -pthread -o xbms server.c
diff --git a/net/xbms/files/patch-server b/net/xbms/files/patch-server
new file mode 100644
index 0000000..63492ea
--- /dev/null
+++ b/net/xbms/files/patch-server
@@ -0,0 +1,11 @@
+--- server.c.orig Fri Dec 20 00:00:41 2002
++++ server.c Fri Dec 20 00:00:55 2002
+@@ -55,7 +55,7 @@
+
+ #define VERSION "0.30.5"
+
+-#define CONFIG "/etc/xbms.conf"
++#define CONFIG "@@PREFIX@@/etc/xbms.conf"
+ #define PIDFILE "/var/run/xbms.pid"
+ #define C_SERVER_PORT 1400
+ #define MAX_MSG_LENGTH 4096
diff --git a/net/xbms/pkg-comment b/net/xbms/pkg-comment
new file mode 100644
index 0000000..0ff4872
--- /dev/null
+++ b/net/xbms/pkg-comment
@@ -0,0 +1 @@
+Xbms, the unix streaming server for xbox mediaplayer
diff --git a/net/xbms/pkg-descr b/net/xbms/pkg-descr
new file mode 100644
index 0000000..f6553cf
--- /dev/null
+++ b/net/xbms/pkg-descr
@@ -0,0 +1,5 @@
+xbms, the unix streaming server for xbox mediaplayer.
+With xbms, it is possible to 'share' movies, pictures
+and audio on your unix box, so they are accessible from your xbox.
+
+WWW: http://www.xboxmediaplayer.de
diff --git a/net/xbms/pkg-plist b/net/xbms/pkg-plist
new file mode 100644
index 0000000..0de8bbc
--- /dev/null
+++ b/net/xbms/pkg-plist
@@ -0,0 +1,2 @@
+bin/xbms
+etc/xbms.conf.sample
OpenPOWER on IntegriCloud