aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-03-06 19:08:22 +0800
committerpav <pav@FreeBSD.org>2004-03-06 19:08:22 +0800
commit7d42a32ec498c476b503153c3124906788631ce2 (patch)
treec189c6ed96eee2d32c056dbdd2fbed7777e11375 /multimedia
parent2dd6e128f6497176b58d1a47c21aefc2fb018870 (diff)
downloadfreebsd-ports-graphics-7d42a32ec498c476b503153c3124906788631ce2.tar.gz
freebsd-ports-graphics-7d42a32ec498c476b503153c3124906788631ce2.tar.zst
freebsd-ports-graphics-7d42a32ec498c476b503153c3124906788631ce2.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>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/Makefile1
-rw-r--r--multimedia/mkxvcd/Makefile50
-rw-r--r--multimedia/mkxvcd/distinfo2
-rw-r--r--multimedia/mkxvcd/pkg-descr16
4 files changed, 69 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile
index 0ac40d0a41d..604fb4f31b9 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 00000000000..ab908154910
--- /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 00000000000..5a2e8f98537
--- /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 00000000000..ccfae23f14e
--- /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/