1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

Add dvdauthor, a simple tool to create a DVD file structure from

MPEG2 files.
This commit is contained in:
Pierre Beyssac 2003-04-20 11:59:48 +00:00
parent 896f13c4d2
commit 59f30c8e08
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79350
6 changed files with 111 additions and 0 deletions

View File

@ -9,6 +9,7 @@
SUBDIR += dtv
SUBDIR += dumpmpeg
SUBDIR += dv2jpg
SUBDIR += dvdauthor
SUBDIR += dvdrip
SUBDIR += enjoympeg
SUBDIR += ffmpeg

View File

@ -0,0 +1,29 @@
# New ports collection makefile for: dvdauthor
# Date created: 20 April 2003
# Whom: pb@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= dvdauthor
PORTVERSION= 0.5.0
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= pb@FreeBSD.org
COMMENT= Makes a DVD file structure from one or more MPEG2 streams
LIB_DEPENDS= dvdread.3:${PORTSDIR}/multimedia/libdvdread \
gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
USE_GMAKE= yes
GNU_CONFIGURE= yes
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/dvdauthor
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dvdauthor
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (dvdauthor-0.5.0.tar.gz) = 9ae1babef717aa33a4823d272abfcade

View File

@ -0,0 +1,69 @@
--- Makefile.in.orig Wed Feb 26 06:27:28 2003
+++ Makefile.in Sun Apr 20 01:33:19 2003
@@ -1,21 +1,23 @@
-COMPBIN = src/dvdauthor src/dvddirgen src/mpeg2desc src/vob_dump
+COMPBIN = src/dvdauthor src/mpeg2desc src/vob_dump
-SCRIPTS = src/makedvd src/makevob
+SCRIPTS = src/dvddirgen src/makedvd src/makevob
CC = gcc
-CFLAGS = -Wall -O3
+CFLAGS += -Wall -O3
# CFLAGS = -Wall -g
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
prefix = @prefix@
exec_prefix = @exec_prefix@
BINDIR = @bindir@
IBINDIR = $(RPM_BUILD_ROOT)$(BINDIR)
sysconfdir = @sysconfdir@
-CPPFLAGS = -DSYSCONFDIR="\"$(sysconfdir)\""
+CPPFLAGS = -DSYSCONFDIR="\"$(sysconfdir)\"" -I${prefix}/include
+LDFLAGS += -L${prefix}/lib
LIBS = @LIBS@
edit = sed \
@@ -24,7 +26,7 @@
-e 's,@PACKAGE_VERSION\@,@PACKAGE_VERSION@,g' \
-e 's,@PACKAGE_BUGREPORT\@,@PACKAGE_BUGREPORT@,g'
-all: $(COMPBIN) dvdauthor.spec
+all: $(COMPBIN) src/dvddirgen dvdauthor.spec
src/conffile.o: src/conffile.c src/conffile.h src/config.h
@@ -33,7 +35,7 @@
src/compat.o: src/compat.c src/config.h src/compat.h
src/dvdauthor: src/ifogen.o src/conffile.o src/compat.o
- $(CC) $(CFLAGS) -o src/dvdauthor src/ifogen.o src/conffile.o src/compat.o $(LIBS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o src/dvdauthor src/ifogen.o src/conffile.o src/compat.o $(LIBS)
# by having it depend on config.h, it will get rebuilt if ./configure is run
src/dvddirgen: src/dvddirgen.in src/config.h
@@ -48,14 +50,15 @@
mv dvdauthor.spec.tmp dvdauthor.spec
src/mpeg2desc: src/mpeg2desc.o
- $(CC) $(CFLAGS) -o src/mpeg2desc src/mpeg2desc.o
+ $(CC) $(CFLAGS) $(LDFLAGS) -o src/mpeg2desc src/mpeg2desc.o
src/vob_dump: src/vob_dump.o
- $(CC) $(CFLAGS) -o src/vob_dump src/vob_dump.o -ldvdread
+ $(CC) $(CFLAGS) $(LDFLAGS) -o src/vob_dump src/vob_dump.o -ldvdread
-install:
- $(INSTALL_PROGRAM) -d $(IBINDIR)
- $(INSTALL_PROGRAM) $(COMPBIN) $(SCRIPTS) $(IBINDIR)
+install: $(COMPBIN) src/dvddirgen
+ $(INSTALL) -d $(IBINDIR)
+ $(INSTALL_PROGRAM) $(COMPBIN) $(IBINDIR)
+ $(INSTALL_SCRIPT) $(SCRIPTS) $(IBINDIR)
clean:
rm -r -f *~ src/*~ src/*.o $(COMPBIN) config.log config.status autom4te.cache Makefile src/config.h dvdauthor.spec

View File

@ -0,0 +1,2 @@
dvdauthor is a program that will generate a DVD movie from a valid
mpeg2 stream that should play when you put it in a DVD player.

View File

@ -0,0 +1,9 @@
bin/dvdauthor
bin/dvddirgen
bin/makedvd
bin/makevob
bin/mpeg2desc
bin/vob_dump
bin/vob_dump
%%PORTDOCS%%share/doc/dvdauthor/README
%%PORTDOCS%%@dirrm share/doc/dvdauthor