summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-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
8 files changed, 55 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 68e46ae..ac15601 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -622,6 +622,7 @@
SUBDIR += wmwave
SUBDIR += wol
SUBDIR += xarchie
+ SUBDIR += xbms
SUBDIR += xbone
SUBDIR += xferstats
SUBDIR += xicq
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