From 7c69ed2b20b7915e6812ba7d4e4acbac559411e5 Mon Sep 17 00:00:00 2001 From: Rusmir Dusko Date: Mon, 21 Apr 2014 12:34:46 +0000 Subject: [PATCH] - 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) --- multimedia/mkxvcd/Makefile | 33 +++++++++++++++------------------ multimedia/mkxvcd/pkg-descr | 2 +- 2 files changed, 16 insertions(+), 19 deletions(-) diff --git a/multimedia/mkxvcd/Makefile b/multimedia/mkxvcd/Makefile index b76bfb7eaf1d..5bd25245c5c6 100644 --- a/multimedia/mkxvcd/Makefile +++ b/multimedia/mkxvcd/Makefile @@ -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@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 +PLIST_FILES= bin/${PORTNAME} -NO_STAGE= yes -.include - -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} -.include + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +.include diff --git a/multimedia/mkxvcd/pkg-descr b/multimedia/mkxvcd/pkg-descr index ccfae23f14e4..53ab34d133b8 100644 --- a/multimedia/mkxvcd/pkg-descr +++ b/multimedia/mkxvcd/pkg-descr @@ -3,7 +3,7 @@ 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)