dvdcpy is originally part of ogmrip, but I'm not a fan of this gnome opaque

thingy. It can be used on its own, compiles very simply, and this package
even comes with a manpage.

dvdcpy can be used to copy part of a dvd structure to a hard disk.
This commit is contained in:
espie 2007-01-22 12:05:01 +00:00
parent 3a8eeb33a9
commit a514d2921a
6 changed files with 88 additions and 0 deletions

View File

@ -0,0 +1,35 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/01/22 12:05:01 espie Exp $
COMMENT= "copy selected info from dvd"
DISTNAME= ogmrip-0.10.0
PKGNAME= dvdcpy-0.10.0
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ogmrip/}
HOMEPAGE= http://ogmrip.sourceforge.net/
MAINTAINER= Marc Espie <espie@openbsd.org>
# GPL
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
WRKDIST= ${WRKDIR}/${DISTNAME}/dvdcpy
do-configure:
ln -sf ${FILESDIR}/config.h ${WRKDIST}
LIB_DEPENDS= dvdread::devel/libdvdread
WANTLIB= c
do-build:
${CC} ${CFLAGS} -I${LOCALBASE}/include \
${WRKSRC}/dvdcpy.c -o${WRKBUILD}/dvdcpy \
-L${LOCALBASE}/lib -ldvdread
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/dvdcpy ${PREFIX}/bin
${INSTALL_MAN} ${FILESDIR}/dvdcpy.1 ${PREFIX}/man/man1
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (ogmrip-0.10.0.tar.gz) = cef80b77b551a6e7accc1441b62c1b4a
RMD160 (ogmrip-0.10.0.tar.gz) = d639a2adb7a3008db1f72f9d82c0c9591393bf80
SHA1 (ogmrip-0.10.0.tar.gz) = 7244d56d9c216ef0e6ab91e685d8e65ecc2774e3
SIZE (ogmrip-0.10.0.tar.gz) = 623001

View File

@ -0,0 +1,6 @@
/* $OpenBSD: config.h,v 1.1.1.1 2007/01/22 12:05:01 espie Exp $ */
#include <sys/param.h>
#include <sys/mount.h>
#define HAVE_INTTYPES_H
#define HAVE_STDINT_H

View File

@ -0,0 +1,37 @@
.\" $OpenBSD: dvdcpy.1,v 1.1.1.1 2007/01/22 12:05:01 espie Exp $
.\" Public domain
.Dd January 20, 2007
.Dt DVDCPY 1
.Os
.Sh NAME
.Nm dvdcpy
.Nd copy selected data from dvd
.Sh SYNOPSIS
.Nm
.Op Fl hm
.Op Fl o Ar file
.Op Fl t Ar title ...
.Ar device
.Sh DESCRIPTION
The
.Nm
copies selected titles and/or menu structure of a dvd inserted into
.Ar device .
The dvd does not have to be mounted.
The options are as follows:
.Bl -tag -width Flooutput
.It Fl h
Displays usage and quits.
.It Fl m
Selects menu structure for copy.
.It Fl o Ar output
Saves result into directory
.Ar output .
If not specified, default name is
.Pa backup .
The directory is created as needed.
.It Fl t Ar title
Selects title number
.Ar title
for copy.
.El

View File

@ -0,0 +1,3 @@
dvdcpy is a small utility, part of ogmrip. It can be used to copy parts
of a dvd to the hard disk for further treatment: selected titles and/or
menu structure.

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/01/22 12:05:01 espie Exp $
bin/dvdcpy
@man man/man1/dvdcpy.1