svn commit: r351678 - head/multimedia/mkxvcd
Rusmir Dusko
nemysis at FreeBSD.org
Mon Apr 21 12:34:47 UTC 2014
Author: nemysis
Date: Mon Apr 21 12:34:46 2014
New Revision: 351678
URL: http://svnweb.freebsd.org/changeset/ports/351678
QAT: https://qat.redports.org/buildarchive/r351678/
Log:
- Bump PORTREVISION for LICENSE adding
- Add USES shebangfix and SHEBANG_FILES, remove obsolete REINPLACE
- Remove INSTALL and TODO from DOCS
- Support STAGEDIR
- Add DOCS Option
- Change pkg-descr, cosmetical changes
PR: ports/179149
Submitted by: nemysis (self)
Modified:
head/multimedia/mkxvcd/Makefile
head/multimedia/mkxvcd/pkg-descr
Modified: head/multimedia/mkxvcd/Makefile
==============================================================================
--- head/multimedia/mkxvcd/Makefile Mon Apr 21 12:29:40 2014 (r351677)
+++ head/multimedia/mkxvcd/Makefile Mon Apr 21 12:34:46 2014 (r351678)
@@ -3,37 +3,34 @@
PORTNAME= mkxvcd
PORTVERSION= 2.0.2
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= multimedia
-MASTER_SITES= SF/kvcd4nix/${PORTNAME}/${PORTNAME}-${PORTVERSION}
+MASTER_SITES= SF/kvcd4nix/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
MAINTAINER= ports at FreeBSD.org
COMMENT= Makes high quality X/K/S/VCD movies from many formats
+LICENSE= GPLv2
+
RUN_DEPENDS= mpeg2enc:${PORTSDIR}/multimedia/mjpegtools \
bash:${PORTSDIR}/shells/bash \
mplayer:${PORTSDIR}/multimedia/mplayer \
transcode:${PORTSDIR}/multimedia/transcode
+USES= shebangfix
+SHEBANG_FILES= ${PORTNAME}.sh
NO_BUILD= yes
-PLIST_FILES= bin/mkxvcd
-
-PORTDOCS= AUTHORS Changelog INSTALL README TODO
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
+PLIST_FILES= bin/${PORTNAME}
-post-patch:
- @${REINPLACE_CMD} -e 's|#!/bin/bash|#!${LOCALBASE}/bin/bash|' \
- ${WRKSRC}/mkxvcd.sh
+PORTDOCS= AUTHORS Changelog README
+OPTIONS_DEFINE= DOCS
do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/mkxvcd.sh ${PREFIX}/bin/mkxvcd
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-.for docfile in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
-.endfor
-.endif
+ @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.sh \
+ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/multimedia/mkxvcd/pkg-descr
==============================================================================
--- head/multimedia/mkxvcd/pkg-descr Mon Apr 21 12:29:40 2014 (r351677)
+++ head/multimedia/mkxvcd/pkg-descr Mon Apr 21 12:34:46 2014 (r351678)
@@ -3,7 +3,7 @@ Makes high quality X/K/S/VCD movies from
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)
More information about the svn-ports-all
mailing list