# 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: # # cpdvd # cpdvd/pkg-descr # cpdvd/distinfo # cpdvd/Makefile # echo c - cpdvd mkdir -p cpdvd > /dev/null 2>&1 echo x - cpdvd/pkg-descr sed 's/^X//' >cpdvd/pkg-descr << 'END-of-cpdvd/pkg-descr' XThis tool copies all required files for a movie title from a DVD on your Xharddisk for further processing with libdvdreads image mode (e.g. transcode). XIt automatically selects the title with longest duration - but you can also Xpick a specific one. The tool determines the correct title set (VTS-VOB files) Xfor the selected title, clones the navigation information (IFO files) and Xextracts (decodes) the data into new video object streams. X XWWW: http://www.lallafa.de/bp/cpdvd.html END-of-cpdvd/pkg-descr echo x - cpdvd/distinfo sed 's/^X//' >cpdvd/distinfo << 'END-of-cpdvd/distinfo' XMD5 (cpdvd-1.10.gz) = 0c3b5ea66518738d858f7fd6e80d4789 XSIZE (cpdvd-1.10.gz) = 3512 END-of-cpdvd/distinfo echo x - cpdvd/Makefile sed 's/^X//' >cpdvd/Makefile << 'END-of-cpdvd/Makefile' X# New ports collection makefile for: cpdvd X# Date created: 26 October 2003 X# Whom: Mezz X# X# $FreeBSD$ X# X XPORTNAME= cpdvd XPORTVERSION= 1.10 XCATEGORIES= multimedia XMASTER_SITES= http://www.lallafa.de/bp/files/ XEXTRACT_SUFX= .gz X XMAINTAINER= mezz@FreeBSD.org XCOMMENT= Transfer a DVD title to your harddisk X XRUN_DEPENDS= cpvts:${PORTSDIR}/multimedia/cpvts \ X transcode:${PORTSDIR}/multimedia/transcode X XNO_BUILD= yes XPLIST_FILES= bin/${PORTNAME} XUSE_REINPLACE= yes X X.include X X.if ${OSVERSION} < 500000 XWITH_DVD_DEVICE?=/dev/acd0c X.else XWITH_DVD_DEVICE?=/dev/acd0 X.endif X Xpre-everything:: X @${ECHO_MSG} "===> The default DVD device is ${WITH_DVD_DEVICE}" X @${ECHO_MSG} "===> Define WITH_DVD_DEVICE if you want to change the default" X @${ECHO_MSG} "===> For example, 'make WITH_DVD_DEVICE=\"/dev/somedevice\"'" X @${ECHO_MSG} "===>" X Xdo-extract: X @${MKDIR} ${WRKSRC} X @${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC} X @(cd ${WRKSRC} && ${GUNZIP_CMD} ${WRKSRC}/${DISTFILES}) X Xpost-patch: X @${REINPLACE_CMD} -e 's|undef $$dev|$$dev="${WITH_DVD_DEVICE}"|g' \ X ${WRKSRC}/${DISTNAME} X Xdo-install: X @${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/${PORTNAME} X X.include END-of-cpdvd/Makefile exit