aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mkxvcd/Makefile
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/mkxvcd/Makefile
parent2dd6e128f6497176b58d1a47c21aefc2fb018870 (diff)
downloadfreebsd-ports-gnome-7d42a32ec498c476b503153c3124906788631ce2.tar.gz
freebsd-ports-gnome-7d42a32ec498c476b503153c3124906788631ce2.tar.zst
freebsd-ports-gnome-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/mkxvcd/Makefile')
-rw-r--r--multimedia/mkxvcd/Makefile50
1 files changed, 50 insertions, 0 deletions
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>