diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-03-06 11:08:22 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-03-06 11:08:22 +0000 |
commit | 00e402e566465b0476b089b22b3f49b478859bc3 (patch) | |
tree | 1c0e66cd84ea1385330c0580e5bcc55221dbadfd | |
parent | d64f50f6a5fecca14d653db8aeb26724a5459acc (diff) | |
download | ports-00e402e566465b0476b089b22b3f49b478859bc3.tar.gz ports-00e402e566465b0476b089b22b3f49b478859bc3.zip |
Add mkxvcd, a bash script for easy encoding of VCD disc using common
tools like mplayer, mjpegtools or transcode.
PR: ports/63790
Submitted by: michael johnson <ahze@ahze.net>
Notes
Notes:
svn path=/head/; revision=103085
-rw-r--r-- | multimedia/Makefile | 1 | ||||
-rw-r--r-- | multimedia/mkxvcd/Makefile | 50 | ||||
-rw-r--r-- | multimedia/mkxvcd/distinfo | 2 | ||||
-rw-r--r-- | multimedia/mkxvcd/pkg-descr | 16 |
4 files changed, 69 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile index 0ac40d0a41d7..604fb4f31b96 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -58,6 +58,7 @@ SUBDIR += linux-xmovie SUBDIR += mjpegtools SUBDIR += mkvtoolnix + SUBDIR += mkxvcd SUBDIR += mmpython SUBDIR += mmsclient SUBDIR += mpeg diff --git a/multimedia/mkxvcd/Makefile b/multimedia/mkxvcd/Makefile new file mode 100644 index 000000000000..ab908154910a --- /dev/null +++ b/multimedia/mkxvcd/Makefile @@ -0,0 +1,50 @@ +# New ports collection makefile for: mkxvcd +# Date created: Fri Mar 5 04:25:02 EST 2004 +# Whom: michael johnson <ahze@ahze.net> +# +# $FreeBSD$ +# + +PORTNAME= mkxvcd +PORTVERSION= 2.0.2 +CATEGORIES= multimedia +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= kvcd4nix + +MAINTAINER= ahze@ahze.net +COMMENT= Makes high quality X/K/S/VCD movies from many formats + +RUN_DEPENDS= mpeg2enc:${PORTSDIR}/multimedia/mjpegtools \ + bash:${PORTSDIR}/shells/bash2 \ + mplayer:${PORTSDIR}/multimedia/mplayer \ + transcode:${PORTSDIR}/multimedia/transcode + +USE_REINPLACE= yes +NO_BUILD= yes +PLIST_FILES= bin/mkxvcd + +DOC_FILES= AUTHORS COPYING Changelog INSTALL README TODO + +.include <bsd.port.pre.mk> + +.ifndef(PORTDOCS) +.for plistfile in ${DOC_FILES} +PLIST_FILES+= share/doc/${PORTNAME}/${plistfile} +.endfor +PLIST_DIRS+= share/doc/${PORTNAME} +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|#!/bin/bash|#!${LOCALBASE}/bin/bash|' \ + ${WRKSRC}/mkxvcd.sh + +do-install: + @${INSTALL_SCRIPT} ${WRKSRC}/mkxvcd.sh ${PREFIX}/bin/mkxvcd +.ifndef(PORTDOCS) + @${MKDIR} ${DOCSDIR} +.for docfile in ${DOC_FILES} + @${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.post.mk> diff --git a/multimedia/mkxvcd/distinfo b/multimedia/mkxvcd/distinfo new file mode 100644 index 000000000000..5a2e8f98537c --- /dev/null +++ b/multimedia/mkxvcd/distinfo @@ -0,0 +1,2 @@ +MD5 (mkxvcd-2.0.2.tar.gz) = 534025f55f4e3695be40449ffa7c7d67 +SIZE (mkxvcd-2.0.2.tar.gz) = 23575 diff --git a/multimedia/mkxvcd/pkg-descr b/multimedia/mkxvcd/pkg-descr new file mode 100644 index 000000000000..ccfae23f14e4 --- /dev/null +++ b/multimedia/mkxvcd/pkg-descr @@ -0,0 +1,16 @@ +Makes high quality X/K/S/VCD movies from any format mplayer can play + +From README: +GOAL + Make a 2 hour vcd with good quality. + +USAGE + mkxvcd.sh yourmovie.whateverextensionmplayercanplay + mkxvcd.sh /dev/dvd (or whatever device your dvd drive is using) + Options on the commandline are: + -d for debugging. + -m to force mplayer if you don't have transcode installed. + -t to force transcode (you can also edit the script in the :user + settings" section) + +WWW: http://kvcd4nix.sourceforge.net/ |