diff options
author | pav <pav@FreeBSD.org> | 2008-03-23 18:46:18 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2008-03-23 18:46:18 +0800 |
commit | 14fe184119d0f8dde6edb5ecde4523f87a4b6be4 (patch) | |
tree | bb74d0534b09464b9c13914c725eb8419de495ed /multimedia | |
parent | f748b457e1b217532336ece3b23610bafc46b07a (diff) | |
download | freebsd-ports-gnome-14fe184119d0f8dde6edb5ecde4523f87a4b6be4.tar.gz freebsd-ports-gnome-14fe184119d0f8dde6edb5ecde4523f87a4b6be4.tar.zst freebsd-ports-gnome-14fe184119d0f8dde6edb5ecde4523f87a4b6be4.zip |
A multimedia server for KiSS/Linksys media players that enables the player to
browse through and play stored files in a wide range of video, audio and image
formats.
kissdx is a PC-Link clone based for the most part on kissd (which it now
replaces), with added features for media playback, management, flexibility and
more.
WWW: http://kissdx.vidartysse.net
PR: ports/119672
Submitted by: Simon Riget <freebsd@paragi.dk>
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/Makefile | 1 | ||||
-rw-r--r-- | multimedia/kissdx/Makefile | 54 | ||||
-rw-r--r-- | multimedia/kissdx/distinfo | 3 | ||||
-rw-r--r-- | multimedia/kissdx/files/kissdx.in | 29 | ||||
-rw-r--r-- | multimedia/kissdx/files/pkg-message.in | 7 | ||||
-rw-r--r-- | multimedia/kissdx/pkg-descr | 9 |
6 files changed, 103 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile index 45168dbe09c6..638f5a081671 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -96,6 +96,7 @@ SUBDIR += kbtv SUBDIR += kdemultimedia3 SUBDIR += kino + SUBDIR += kissdx SUBDIR += kmenc15 SUBDIR += kmplayer SUBDIR += konverter diff --git a/multimedia/kissdx/Makefile b/multimedia/kissdx/Makefile new file mode 100644 index 000000000000..54add11e450e --- /dev/null +++ b/multimedia/kissdx/Makefile @@ -0,0 +1,54 @@ +# New ports collection makefile for: kissdx +# Date created: 20. November 2007 +# Whom: Simon I. Rigét +# +# $FreeBSD$ +# + +PORTNAME= kissdx +PORTVERSION= 0.13.10a +CATEGORIES= multimedia net +MASTER_SITES= http://paragi.dk/kiss/ + +MAINTAINER= freebsd@paragi.dk +COMMENT= A multimedia streaming server for KiSS/Linksys player + +# Dependencies of other packeges +LIB_DEPENDS= gd:${PORTSDIR}/graphics/gd \ + jpeg:${PORTSDIR}/graphics/jpeg \ + dvdread:${PORTSDIR}/multimedia/libdvdread + +USE_ICONV= yes + +# Man pages +MAN1= kissdx.1 + +# RC start and stop service +USE_RC_SUBR= kissdx + +# set enviroment variables for port makefile +MAKE_ENV= FreeBSD=defined CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" LOCALBASE=${LOCALBASE} + +# Convert CR/LF to LF in source files +USE_DOS2UNIX= yes + +SUB_FILES= pkg-message + +# Remove files at uninstall (like pkg-plist) +PLIST_FILES= etc/kissdx.conf sbin/kissdx sbin/kissd-pretrigger sbin/kissd-posttrigger + +post-patch: + @${REINPLACE_CMD} -e 's|Linux|Unix|g ; s|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/kissdx.1 + @${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/config.c + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/kissdx ${PREFIX}/sbin/kissdx + ${INSTALL_SCRIPT} ${WRKSRC}/kissd-pretrigger ${PREFIX}/sbin/kissd-pretrigger + ${INSTALL_SCRIPT} ${WRKSRC}/kissd-posttrigger ${PREFIX}/sbin/kissd-posttrigger + ${INSTALL_DATA} ${WRKSRC}/kissdx.conf ${PREFIX}/etc/kissdx.conf + ${INSTALL_MAN} ${WRKSRC}/kissdx.1 ${MANPREFIX}/man/man1/kissdx.1 + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/multimedia/kissdx/distinfo b/multimedia/kissdx/distinfo new file mode 100644 index 000000000000..5ef3800fbe3d --- /dev/null +++ b/multimedia/kissdx/distinfo @@ -0,0 +1,3 @@ +MD5 (kissdx-0.13.10a.tar.gz) = b96d4b53622dc37de80448925e0d32d2 +SHA256 (kissdx-0.13.10a.tar.gz) = 772435a069d914d0b0baaf0a0c6619b18353552508e6c8115d8d50063b575503 +SIZE (kissdx-0.13.10a.tar.gz) = 107990 diff --git a/multimedia/kissdx/files/kissdx.in b/multimedia/kissdx/files/kissdx.in new file mode 100644 index 000000000000..19179f4efada --- /dev/null +++ b/multimedia/kissdx/files/kissdx.in @@ -0,0 +1,29 @@ +#!/bin/sh +# +# This script start and stop the KiSS DX deamon, using the rc.subr functionality +# +# Add the following lines to /etc/rc.conf to enable this service at boot time: +# +# kissdx_enable="YES" A +# (kissdx="YES" for NetBSD) +# + +. %%RC_SUBR%% + +#Name of program to start +name="kissdx" + +# Full path to program +command="%%PREFIX%%/sbin/${name}" + +# Arguments used to start program +command_args="-kd" + +required_files="%%PREFIX%%/etc/${name}.conf" + +# Load variables from rc.conf +load_rc_config $name + +# Invoke the rc.subr +run_rc_command "$1" + diff --git a/multimedia/kissdx/files/pkg-message.in b/multimedia/kissdx/files/pkg-message.in new file mode 100644 index 000000000000..027358ec830e --- /dev/null +++ b/multimedia/kissdx/files/pkg-message.in @@ -0,0 +1,7 @@ +The following line needs to be added to /etc/rc.conf in order to start the +deamon at boot time. + + kissdx_enable="YES" (or kissdx="YES" for NetBSD) + +You can also use the %%PREFIX%%/etc/rc.d/kissdx start|stop command to control +the daemon. diff --git a/multimedia/kissdx/pkg-descr b/multimedia/kissdx/pkg-descr new file mode 100644 index 000000000000..7c23d6f6ceb3 --- /dev/null +++ b/multimedia/kissdx/pkg-descr @@ -0,0 +1,9 @@ +A multimedia server for KiSS/Linksys media players that enables the player to +browse through and play stored files in a wide range of video, audio and image +formats. + +kissdx is a PC-Link clone based for the most part on kissd (which it now +replaces), with added features for media playback, management, flexibility and +more. + +WWW: http://kissdx.vidartysse.net |