aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/iso2mkv
diff options
context:
space:
mode:
authorscheidell <scheidell@FreeBSD.org>2012-08-06 20:48:34 +0800
committerscheidell <scheidell@FreeBSD.org>2012-08-06 20:48:34 +0800
commit9c018a099c2678cf45152d63f700cd42d60af207 (patch)
tree5a7d5e0c817927ad53f2b12ea684dd16f2c35d52 /multimedia/iso2mkv
parentaebe63a8e5d01dbb0ac365cf505ce5a2616b246c (diff)
downloadfreebsd-ports-gnome-9c018a099c2678cf45152d63f700cd42d60af207.tar.gz
freebsd-ports-gnome-9c018a099c2678cf45152d63f700cd42d60af207.tar.zst
freebsd-ports-gnome-9c018a099c2678cf45152d63f700cd42d60af207.zip
- Update to version 2007.04.25
PR: ports/170160 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'multimedia/iso2mkv')
-rw-r--r--multimedia/iso2mkv/Makefile43
-rw-r--r--multimedia/iso2mkv/distinfo4
2 files changed, 28 insertions, 19 deletions
diff --git a/multimedia/iso2mkv/Makefile b/multimedia/iso2mkv/Makefile
index 4f7aee7b9d37..c56e4b723868 100644
--- a/multimedia/iso2mkv/Makefile
+++ b/multimedia/iso2mkv/Makefile
@@ -6,36 +6,45 @@
#
PORTNAME= iso2mkv
-PORTVERSION= 0.8.4
-PORTREVISION= 6
+DISTVERSION= 2007-04-25
CATEGORIES= multimedia
MASTER_SITES= http://5ko.free.fr/dl/
-DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
-COMMENT= Front-end shell script to convert DVD image, device, or VIDEO_TS to mkv with xvid and ogg or mp3 audio
+COMMENT= Script to convert DVD image, device, or VIDEO_TS to mkv
-RUN_DEPENDS= mencoder:${PORTSDIR}/multimedia/mencoder \
- bash:${PORTSDIR}/shells/bash \
- mkvmerge:${PORTSDIR}/multimedia/mkvtoolnix \
- lame:${PORTSDIR}/audio/lame \
+RUN_DEPENDS= lame:${PORTSDIR}/audio/lame \
+ normalize:${PORTSDIR}/audio/normalize \
oggenc:${PORTSDIR}/audio/vorbis-tools \
- normalize:${PORTSDIR}/audio/normalize
+ mencoder:${PORTSDIR}/multimedia/mencoder \
+ mkvmerge:${PORTSDIR}/multimedia/mkvtoolnix \
+ bash:${PORTSDIR}/shells/bash
-USE_BZIP2= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
+USE_BZIP2= yes
+
PLIST_FILES= bin/iso2mkv
+PORTDOCS= README.utf8.txt
+PORTEXAMPLES= iso2mkv.conf
post-patch:
- @${REINPLACE_CMD} -e 's|stat -c %s|stat -f %z|g' \
- ${WRKSRC}/iso2mkv
- @${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|g' \
- ${WRKSRC}/iso2mkv
- @${REINPLACE_CMD} -e 's|normalize-audio|normalize|g' \
- ${WRKSRC}/iso2mkv
-
+ @${REINPLACE_CMD} -e \
+ 's|^#!/bin/bash|#!${LOCALBASE}/bin/bash| ; \
+ s|normalize-audio|normalize| ; \
+ s|stat -c %s|stat -f %z|' ${WRKSRC}/iso2mkv
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/iso2mkv ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}/
+.endif
+ @${CAT} ${WRKSRC}/README.utf8.txt
+.if !defined(NOPORTEXAMPLES)
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${PORTEXAMPLES} ${EXAMPLESDIR}/
+ @${ECHO} "${EXAMPLESDIR}/${PORTEXAMPLES} should be copied to ~/.mplayer/iso2mkv.conf"
+.endif
.include <bsd.port.mk>
diff --git a/multimedia/iso2mkv/distinfo b/multimedia/iso2mkv/distinfo
index 880f32cfb04b..dd0b5a54c3fa 100644
--- a/multimedia/iso2mkv/distinfo
+++ b/multimedia/iso2mkv/distinfo
@@ -1,2 +1,2 @@
-SHA256 (iso2mkv.tar.bz2) = af9b9b9a20e25035611c4a0ae63d5cb54c6ff5bf2c409d17d065d7ba55c22c5c
-SIZE (iso2mkv.tar.bz2) = 6611
+SHA256 (iso2mkv-2007-04-25.tar.bz2) = 13ae693b56d4802e2706d8fe93836e8942e29da51d84e09ab2c89ff8c6028d2c
+SIZE (iso2mkv-2007-04-25.tar.bz2) = 8348