ports/77625: New Port: multimedia/dvd-slideshow

Phil Oleson oz at nixil.net
Thu Feb 17 04:00:39 UTC 2005


>Number:         77625
>Category:       ports
>Synopsis:       New Port: multimedia/dvd-slideshow
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 17 04:00:37 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Phil Oleson
>Release:        FreeBSD 4.7-RELEASE-p27 i386
>Organization:
N/A
>Environment:
System: FreeBSD nixil.net 4.7-RELEASE-p27 FreeBSD 4.7-RELEASE-p27 #33: Mon Jun 14 16:36:44 MDT 2004 root at nixil.net:/usr/src/sys/compile/nixil i386


>Description:
	New port dvd-slideshow. set of scripts to make it easier for me to burn a
	slideshow-style dvd with some simple menus
>How-To-Repeat:
	N/A
>Fix:

	Patch attached as a shar file.

--- dvd-slideshow.sh begins here ---
# 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:
#
#	dvd-slideshow
#	dvd-slideshow/pkg-descr
#	dvd-slideshow/Makefile
#	dvd-slideshow/distinfo
#
echo c - dvd-slideshow
mkdir -p dvd-slideshow > /dev/null 2>&1
echo x - dvd-slideshow/pkg-descr
sed 's/^X//' >dvd-slideshow/pkg-descr << 'END-of-dvd-slideshow/pkg-descr'
XScript that creates a slideshow-style dvd with some simple menus
X
XAuthor:	Scott Dylewski <scott @ dylewski . com>
XWWW:	http://dvd-slideshow.sourceforge.net/
END-of-dvd-slideshow/pkg-descr
echo x - dvd-slideshow/Makefile
sed 's/^X//' >dvd-slideshow/Makefile << 'END-of-dvd-slideshow/Makefile'
X# New ports collection makefile for:	dvd-slideshow
X# Date created:		2005-02-16
X# Whom:			Phil Oleson <oz at nixil.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	dvd-slideshow
XPORTVERSION=	0.6.0
XCATEGORIES=	multimedia
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=	${PORTNAME}_${PORTVERSION}
X
XMAINTAINER=	oz at nixil.net
XCOMMENT=	Script that creates a slideshow-style dvd with some simple menus
X
XRUN_DEPENDS=	bash:${PORTSDIR}/shells/bash2 \
X		identify:${PORTSDIR}/graphics/ImageMagick \
X		sox:${PORTSDIR}/audio/sox \
X		dvdauthor:${PORTSDIR}/multimedia/dvdauthor \
X		png2yuv:${PORTSDIR}/graphics/netpbm \
X		mkisofs:${PORTSDIR}/sysutils/cdrtools
X
XNO_BUILD=	yes
XUSE_REINPLACE=	yes
X
XOPTIONS=	DVDRWTOOLS "Needed to record/burn DVD" off \
X		LAME "Optional support for audio" off \
X		VORBISTOOLS "Optional audio support" off
X
XPLIST_FILES=	bin/dvd-slideshow \
X		bin/dvd-menu \
X		bin/gallery2slideshow \
X		bin/jigl2slideshow
X
XMAN1=		dvd-slideshow.1 \
X		dvd-menu.1 \
X		gallery2slideshow.1 \
X		jigl2slideshow.1
X
XDOC_FILES=	README.html examples.html changelog.html \
X		gallery2slideshow.html dir2slideshow.html \
X		jigl2slideshow.html dvd-encode.html \
X		test_with_background.html dvd-menu.html \
X		test_with_background.txt dvd-slideshow.html \
X
X.include <bsd.port.pre.mk>
X
X.if exists(${LOCALBASE}/bin/growisofs)
XWITH_DVDRWTOOLS=yes
X.endif
X.if exists(${LOCALBASE}/bin/lame)
XWITH_LAME=yes
X.endif
X.if exists(${LOCALBASE}/bin/oggdec)
XWITH_VORBISTOOLS=yes
X.endif
X
X.if defined(WITH_DVDRWTOOLS)
XRUN_DEPENDS+=	growisofs:${PORTSDIR}/sysutils/dvd+rw-tools
X.endif
X.if defined(WITH_LAME)
XRUN_DEPENDS+=	lame:${PORTSDIR}/audio/lame
X.endif
X.if defined(WITH_VORBISTOOLS)
XRUN_DEPENDS+=	oggdec:${PORTSDIR}/audio/vorbis-tools
X.endif
X
Xpre-patch:
X.for FILE in dvd-slideshow dvd-menu gallery2slideshow jigl2slideshow
X	@${REINPLACE_CMD} -e 's|!/bin/bash|!${PREFIX}/bin/bash|g' ${WRKSRC}/${FILE}
X.endfor
X
Xdo-install:
X.for FILE in dvd-slideshow dvd-menu gallery2slideshow jigl2slideshow
X	${INSTALL_SCRIPT} ${WRKSRC}/${FILE} ${PREFIX}/bin
X.endfor
X.for FILE in ${MAN1}
X	${INSTALL_MAN} ${WRKSRC}/man/${FILE} ${PREFIX}/man/man1
X.endfor
X.ifndef(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X.for FILE in ${DOC_FILES}
X	@${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.post.mk>
END-of-dvd-slideshow/Makefile
echo x - dvd-slideshow/distinfo
sed 's/^X//' >dvd-slideshow/distinfo << 'END-of-dvd-slideshow/distinfo'
XMD5 (dvd-slideshow_0.6.0.tar.gz) = e06335611f3108a6caba807633696127
XSIZE (dvd-slideshow_0.6.0.tar.gz) = 57939
END-of-dvd-slideshow/distinfo
exit
--- dvd-slideshow.sh ends here ---


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



More information about the freebsd-ports-bugs mailing list