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>
This commit is contained in:
Pav Lucistnik 2008-03-23 10:46:18 +00:00
parent f74addf138
commit fc4d65e932
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=209617
6 changed files with 103 additions and 0 deletions

View File

@ -96,6 +96,7 @@
SUBDIR += kbtv
SUBDIR += kdemultimedia3
SUBDIR += kino
SUBDIR += kissdx
SUBDIR += kmenc15
SUBDIR += kmplayer
SUBDIR += konverter

View File

@ -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>

View File

@ -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

View File

@ -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"

View File

@ -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.

View File

@ -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