diff options
author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-11-01 13:02:13 +0000 |
---|---|---|
committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-11-01 13:02:13 +0000 |
commit | 6137272f61b07134113a92955baf433fb60837cf (patch) | |
tree | 47c7e415237039202b2ba4474152b3e22268eb18 /multimedia/streamanalyze/Makefile | |
parent | Add mbox2mdir. (diff) |
Add streamanalyze.
StreamAnalyze is a little helper for people using StreamDVD to backup movies.
Giving the video/audio/subpicture tracks you want to save, StreamAnalyze will
calculate if the backup would fit on a dvd-r and, if not, print a shrink
factor to reduce the video size.
Before using StreamAnalyze you should call 'lsdvd' or 'tcprobe' to get an
overview of what is available on the video DVD you want to backup.
WWW: http://www.badabum.de/streamdvd.html
PR: ports/88248
Submitted by: Heiner Eichmann <h.eichmann@gmx.de>
Notes
Notes:
svn path=/head/; revision=146905
Diffstat (limited to 'multimedia/streamanalyze/Makefile')
-rw-r--r-- | multimedia/streamanalyze/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/multimedia/streamanalyze/Makefile b/multimedia/streamanalyze/Makefile new file mode 100644 index 000000000000..3fe9556909f3 --- /dev/null +++ b/multimedia/streamanalyze/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: streamanalyze +# Date created: 2005-10-30 +# Whom: Heiner Eichmann +# +# $FreeBSD$ +# + +PORTNAME= streamanalyze +PORTVERSION= 0.4 +CATEGORIES= multimedia +MASTER_SITES= http://www.badabum.de/down/ + +MAINTAINER= h.eichmann@gmx.de +COMMENT= Shrink-factor calculator for StreamDVD + +LIB_DEPENDS= dvdread:${PORTSDIR}/multimedia/libdvdread + +WRKSRC= ${WRKDIR}/StreamAnalyze +USE_REINPLACE= yes + +PLIST_FILES= bin/streamanalyze +PORTDOCS= README + +post-patch: + @${REINPLACE_CMD} -e 's|gcc -g -Wall|${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib|' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e '/#include <getopt\.h>/ d' ${WRKSRC}/streamanalyze.c + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/streamanalyze ${PREFIX}/bin +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} +.endif + +.include <bsd.port.mk> |