diff options
author | pb <pb@FreeBSD.org> | 2003-04-20 11:59:48 +0000 |
---|---|---|
committer | pb <pb@FreeBSD.org> | 2003-04-20 11:59:48 +0000 |
commit | ad3143e3d60489272c7a1b38b977c4e9612abf2f (patch) | |
tree | 021bba5578023b4ae22d7e5b004ff9bd947396a6 | |
parent | afcce499520a161b214a0463f3b72a0b7ebf55fa (diff) | |
download | FreeBSD-ports-ad3143e3d60489272c7a1b38b977c4e9612abf2f.zip FreeBSD-ports-ad3143e3d60489272c7a1b38b977c4e9612abf2f.tar.gz |
Add dvdauthor, a simple tool to create a DVD file structure from
MPEG2 files.
-rw-r--r-- | multimedia/Makefile | 1 | ||||
-rw-r--r-- | multimedia/dvdauthor/Makefile | 29 | ||||
-rw-r--r-- | multimedia/dvdauthor/distinfo | 1 | ||||
-rw-r--r-- | multimedia/dvdauthor/files/patch-Makefile.in | 69 | ||||
-rw-r--r-- | multimedia/dvdauthor/pkg-descr | 2 | ||||
-rw-r--r-- | multimedia/dvdauthor/pkg-plist | 9 |
6 files changed, 111 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile index 66842a7..4e26186 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -9,6 +9,7 @@ SUBDIR += dtv SUBDIR += dumpmpeg SUBDIR += dv2jpg + SUBDIR += dvdauthor SUBDIR += dvdrip SUBDIR += enjoympeg SUBDIR += ffmpeg diff --git a/multimedia/dvdauthor/Makefile b/multimedia/dvdauthor/Makefile new file mode 100644 index 0000000..0679d76 --- /dev/null +++ b/multimedia/dvdauthor/Makefile @@ -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> diff --git a/multimedia/dvdauthor/distinfo b/multimedia/dvdauthor/distinfo new file mode 100644 index 0000000..4b3d731 --- /dev/null +++ b/multimedia/dvdauthor/distinfo @@ -0,0 +1 @@ +MD5 (dvdauthor-0.5.0.tar.gz) = 9ae1babef717aa33a4823d272abfcade diff --git a/multimedia/dvdauthor/files/patch-Makefile.in b/multimedia/dvdauthor/files/patch-Makefile.in new file mode 100644 index 0000000..caa9b27 --- /dev/null +++ b/multimedia/dvdauthor/files/patch-Makefile.in @@ -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 diff --git a/multimedia/dvdauthor/pkg-descr b/multimedia/dvdauthor/pkg-descr new file mode 100644 index 0000000..f7da36e4 --- /dev/null +++ b/multimedia/dvdauthor/pkg-descr @@ -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. diff --git a/multimedia/dvdauthor/pkg-plist b/multimedia/dvdauthor/pkg-plist new file mode 100644 index 0000000..7c9cb51 --- /dev/null +++ b/multimedia/dvdauthor/pkg-plist @@ -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 |