ports/119672: New port: multimedia/kissdx

Simon Riget freebsd at paragi.dk
Mon Jan 14 22:20:02 UTC 2008


>Number:         119672
>Category:       ports
>Synopsis:       New port: multimedia/kissdx
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 14 22:20:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Simon Riget
>Release:        FreeBSD 6.2-RELEASE-p4 i386
>Organization:
Paragi
>Environment:
>Description:
A multimedia streaming server for KiSS multimedia recorder/player
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	kissdx
#	kissdx/Makefile
#	kissdx/pkg-descr
#	kissdx/distinfo
#	kissdx/files
#	kissdx/files/pkg-message.in
#	kissdx/files/kissdx.in
#
echo c - kissdx
mkdir -p kissdx > /dev/null 2>&1
echo x - kissdx/Makefile
sed 's/^X//' >kissdx/Makefile << 'END-of-kissdx/Makefile'
X# New ports collection makefile for: kissdx
X# Date created:        20. November 2007
X# Whom:                Simon I. Rigét
X#
X# $FreeBSD$
X#
X
XPORTNAME=	kissdx
XPORTVERSION=	0.13.10a
XCATEGORIES=	multimedia net
XMASTER_SITES=	http://paragi.dk/kiss/
X
XMAINTAINER=	freebsd at paragi.dk
XCOMMENT=	A multimedia streaming server for KiSS/Linksys player
X
X# Dependencies of other packeges
XLIB_DEPENDS=	gd:${PORTSDIR}/graphics/gd \
X		jpeg:${PORTSDIR}/graphics/jpeg \
X		dvdread:${PORTSDIR}/multimedia/libdvdread
X
XUSE_ICONV=	yes
X
X# Man pages
XMAN1=		kissdx.1
X
X# RC start and stop service
XUSE_RC_SUBR=	kissdx
X
X# set enviroment variables for port makefile
XMAKE_ENV=	FreeBSD=defined CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" LOCALBASE=${LOCALBASE}
X
X# Convert CR/LF to LF in source files
XUSE_DOS2UNIX=	yes
X
XSUB_FILES=	pkg-message
XPKGMESSAGE=	${WRKDIR}/pkg-message
X
X# Remove files at uninstall (like pkg-plist)
XPLIST_FILES=	etc/kissdx.conf sbin/kissdx sbin/kissd-pretrigger sbin/kissd-posttrigger
X
Xpost-patch:
X#	@${REINPLACE_CMD} -e 's|CC?= gcc|CC?= ${CC}|g ; s|-O2|${CFLAGS}|g ; \
X#		s|-I/usr/include.*|-I${LOCALBASE}/include|g ; \
X#		s|-L/usr/lib.*|-L${LOCALBASE}/lib|g ; \
X#		s|TARGETDIR|PREFIX|g' \
X#			${WRKSRC}/Makefile
X	@${REINPLACE_CMD} -e 's|Linux|Unix|g ; s|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/kissdx.1
X	@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/config.c
X
Xdo-install:
X	$(INSTALL_PROGRAM) ${WRKSRC}/kissdx ${PREFIX}/sbin/kissdx
X	$(INSTALL_SCRIPT) ${WRKSRC}/kissd-pretrigger ${PREFIX}/sbin/kissd-pretrigger
X	$(INSTALL_SCRIPT) ${WRKSRC}/kissd-posttrigger ${PREFIX}/sbin/kissd-posttrigger
X	$(INSTALL_DATA) ${WRKSRC}/kissdx.conf ${PREFIX}/etc/kissdx.conf
X	$(INSTALL_MAN) ${WRKSRC}/kissdx.1 ${MANPREFIX}/man/man1/kissdx.1
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-kissdx/Makefile
echo x - kissdx/pkg-descr
sed 's/^X//' >kissdx/pkg-descr << 'END-of-kissdx/pkg-descr'
XA multimedia server for KiSS/Linksys media players that enables the player to
Xbrowse through and play stored files in a wide range of video, audio and image
Xformats.
Xkissdx is a PC-Link clone based for the most part on kissd (which it now 
Xreplaces), with added features for media playback, management, flexibility and
Xmore.
X
XWWW: http://kissdx.vidartysse.net
XForum: http://www.mpcclub.com/modules.php?name=Forums&file=viewforum&f=142
XFreeBSD download: http://paragi.dk/kissdx/kissdx-0.13.10a.tar.gz
END-of-kissdx/pkg-descr
echo x - kissdx/distinfo
sed 's/^X//' >kissdx/distinfo << 'END-of-kissdx/distinfo'
XMD5 (kissdx-0.13.10a.tar.gz) = b96d4b53622dc37de80448925e0d32d2
XSHA256 (kissdx-0.13.10a.tar.gz) = 772435a069d914d0b0baaf0a0c6619b18353552508e6c8115d8d50063b575503
XSIZE (kissdx-0.13.10a.tar.gz) = 107990
END-of-kissdx/distinfo
echo c - kissdx/files
mkdir -p kissdx/files > /dev/null 2>&1
echo x - kissdx/files/pkg-message.in
sed 's/^X//' >kissdx/files/pkg-message.in << 'END-of-kissdx/files/pkg-message.in'
XThe following line needs to be added to /etc/rc.conf in order to start the
Xdeamon at boot time.
X
X      kissdx_enable="YES" (or kissdx="YES" for NetBSD)
X	
XYou can also use the %%PREFIX%%/etc/rc.d/kissdx start|stop command to control
Xthe deamon.
END-of-kissdx/files/pkg-message.in
echo x - kissdx/files/kissdx.in
sed 's/^X//' >kissdx/files/kissdx.in << 'END-of-kissdx/files/kissdx.in'
X#!/bin/sh
X#
X# This script start and stop the KiSS DX deamon, using the rc.subr functionality
X#
X# Add the following lines to /etc/rc.conf to enable this service at boot time:
X#
X# kissdx_enable="YES" A
X# (kissdx="YES" for NetBSD)
X#
X
X. /etc/rc.subr
X
X#Name of program to start
Xname="kissdx"
X
X# Full path to program
Xcommand="/usr/local/sbin/${name}"
X
X# Arguments used to start program
Xcommand_args="-kd"
X
Xrequired_files="/usr/local/etc/${name}.conf"
X
X# Load variables from rc.conf
Xload_rc_config $name
X
X# Invoke the rc.subr
Xrun_rc_command "$1"
X
END-of-kissdx/files/kissdx.in
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list