aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authornemysis <nemysis@FreeBSD.org>2014-04-21 20:34:46 +0800
committernemysis <nemysis@FreeBSD.org>2014-04-21 20:34:46 +0800
commit358a0ac10b086f9ec9d6cb06b7b79e4ca03218e6 (patch)
tree5f90f57aa8d3d3203840ee342f6a5cd4c9eea7ae /multimedia
parent2cfa44be684a4e721a85f1f68327266b7f8ed84d (diff)
downloadfreebsd-ports-gnome-358a0ac10b086f9ec9d6cb06b7b79e4ca03218e6.tar.gz
freebsd-ports-gnome-358a0ac10b086f9ec9d6cb06b7b79e4ca03218e6.tar.zst
freebsd-ports-gnome-358a0ac10b086f9ec9d6cb06b7b79e4ca03218e6.zip
- 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)
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mkxvcd/Makefile35
-rw-r--r--multimedia/mkxvcd/pkg-descr2
2 files changed, 17 insertions, 20 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
-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
-
-.include <bsd.port.post.mk>
+ @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.sh \
+ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
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)