# 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: # # ripmake # ripmake/pkg-descr # ripmake/distinfo # ripmake/Makefile # echo c - ripmake mkdir -p ripmake > /dev/null 2>&1 echo x - ripmake/pkg-descr sed 's/^X//' >ripmake/pkg-descr << 'END-of-ripmake/pkg-descr' XThe idea of ripmake is to write a tool which automatically (i.e. with as few Xuser interaction as possible) selects the best parameters for a given ripping Xtask. It should inspect the source (e.g. a DVD or an AVI file), extract all Ximportant information, calculate the missing parameters and generate a Xparameter set for transcode that will create an output file of high quality. X XFirst I thought of a tool that performs all the necessary steps itself and Xcalls transcode for the real work. But I soon found out that often a bit of Xmanual intervention is required to achieve the best results. So a different Xapproach came to my mind: Why not write a tool that generates a makefile for Xthe rip and that embeds all automatic options as parameters in it. You can Xthen call different rules for different rip tasks (e.g. render a sample, Xrender whole movie...) and you can overwrite the parameters by redefining the Xmake variables. X XSo here it is: ripmake - A makefile generator for your ripping tasks. X XThe first version was quite alpha and simply tried to prove the concept. The Xcurrent version is an almost complete rewrite of the first version and is Xquite useful. X XWWW: http://www.lallafa.de/bp/ripmake.html END-of-ripmake/pkg-descr echo x - ripmake/distinfo sed 's/^X//' >ripmake/distinfo << 'END-of-ripmake/distinfo' XMD5 (ripmake-1.39.gz) = 47fd29c1b775f04614b9ae138fa755a2 XSIZE (ripmake-1.39.gz) = 27505 END-of-ripmake/distinfo echo x - ripmake/Makefile sed 's/^X//' >ripmake/Makefile << 'END-of-ripmake/Makefile' X# New ports collection makefile for: ripmake X# Date created: 26 October 2003 X# Whom: Mezz X# X# $FreeBSD$ X# X XPORTNAME= ripmake XPORTVERSION= 1.39 XCATEGORIES= multimedia XMASTER_SITES= http://www.lallafa.de/bp/files/ XEXTRACT_SUFX= .gz X XMAINTAINER= mezz@FreeBSD.org XCOMMENT= A program to rip dvd to AVI/VCD/SVCD automagically X XRUN_DEPENDS= chaplin:${PORTSDIR}/multimedia/chaplin \ X cpdvd:${PORTSDIR}/multimedia/cpdvd \ X mpglen:${PORTSDIR}/multimedia/mpglen \ X pgmfindclip:${PORTSDIR}/multimedia/pgmfindclip X XNO_BUILD= yes XPLIST_FILES= bin/${PORTNAME} X Xdo-extract: X @${MKDIR} ${WRKSRC} X @${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC} X @(cd ${WRKSRC} && ${GUNZIP_CMD} ${WRKSRC}/${DISTFILES}) X Xdo-install: X @${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/${PORTNAME} X X.include END-of-ripmake/Makefile exit